Activities ::: mod_attendance
Maintained by Dan Marsden
A plugin that allows an attendance log to be kept. - includes an optional block for easy access to relevant functions.
Latest release:
18908 sites
326 fans
Current versions available: 18

The Attendance activity allows teachers to maintain a record of attendance, replacing or supplementing a paper-based attendance register. It is primarily used in blended-learning environments where students are required to attend classes, lectures and tutorials and allows the teacher to track and optionally provide a grade for the students attendance. The instructor can set the frequency of their classes (# of days per week & length of course) or create specific sessions. 

To take attendance, the instructor clicks on the "Update Attendance" button and is presented with a list of all the students in that course, along with configurable options and comments. The default options provided are: Present, Absent, Late & Excused. Instructors can download the attendance for their course in Excel format or text format.

Sessions can also be configured to allow students to record their own attendance and a range of different reports are available.


This plugin is part of sets Attendance, MoodleCloud.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3


Dan Marsden (Lead maintainer)
Artem Andreev: Previous maintainer/developer
Dmitry Pupinin: Original author
Please login to view contributors details and/or to contact them

Comments RSS


  • Tue, Oct 30, 2018, 3:28 PM
    If you are using moodle 3.5 with the latest version of the attendance and the latest moodle mobile app, teachers can use the mobile app to mark attendance for sessions within the last day. It does not currently support modifying the session attendance for a session in a previous day. If you have further questions please use the attendance forum in the using moodle course here on instead of the comments here.
  • Mon, Nov 5, 2018, 8:37 AM
    Hi Dan
    I have been playing and can only get the module to add to calendar if the the default "create calendar events is set to yes" If I have it off/no then even when I check the session to add to calendar it does not. We would like to have it set to not and us choose it when we want to send to calendar. This way it is safer for staff and the description kind of reads that if set to yes then all appointments got to the calendar. (is this correct?)
    Also we have a quite complex calendar upload already and from a request to students we hav a set number of items in the Title. group, session, time, room. When attendance adds a calendar item it just calls all of them attendance. How tricky would it be to make the calendar entry from the attendance module also have a title? Then as per student requests they can ascertain all important info on their phone without having to open the calendar item.
    Thanks again
  • Mon, Nov 5, 2018, 9:25 AM
    Hey Scott!
    can you please create a new post in the forums here: The comments area here in the plugins db is pretty useless for this sort of thing! - please also make sure you include information about which Moodle version you are using and which version of the Attendance plugin you have installed? Thanks!
  • Wed, Jan 16, 2019, 4:41 AM
    thanks for taking this over. We use Attendance in all our classrooms that is filled out once a week by instructor and viewed by administrators. Can you please add a second (or more) sections of radio buttons? it would be useful to see student as 'present', 'tardy', or 'late' but also an optional section of radio buttons for 'contacted' 'not-contacted' (or what ever choices I want). This would allow the administration to look at the classroom and quickly see if they still need to contact students. It would make this much mre flexible.
    Using this for online participation at Norwich University - Moodle 3.5 - attendance activity 2018051401 (3.5.1)
  • Wed, Jan 16, 2019, 5:07 AM
    @Jon - great to hear you find the plugin useful. Your feature request would require a significant amount of effort and isn't something I would be able to volunteer my time for. Feel free to get in touch privately if you would like to fund my time to add this functionality, alternatively if you have internal development capabilities, pull requests are also always welcome! smile
  • Thu, Jan 24, 2019, 12:52 AM
    thank you. We are a small university so do not have those capabilities. I will see if I can drum up some interest with our Moodle Hosting Service.

    Another update i have been asked to propose (I am the site admin): Is there a way to REQUIRE that the radio button (absent, tardy, etc) be picked for every student? We have found teachers who do not fill out all the radio button and the attendance is marked as complete (Green Arrow). We have a report that looks for attendance that is not marked at all (not completed) so we can remind the instructor.
  • Thu, Jan 24, 2019, 6:05 AM
    @Jon - can you please use the attendance forum to ask that question here:
    The short answer is - "yes" but the comments here are not great for support questions.
  • Fri, Feb 8, 2019, 12:49 AM
    Hi Dan and who it may be concerned,

    I tried to upgrade the mod attendance in my 3.6.2 Moodle system from (2016052204) to 3.6.3 (2018102600), and ran into some DB errors. We are the Oracle shop. There is a tiny syntax error in ../db/upgrade.php that Oracle is not happy about it, and my upgrade process failed. See the line with a fix below.

    //Old line
    389 $table->add_key('level_id', XMLDB_KEY_UNIQUE, array('idnumber, warningpercent, warnafter'));
    //New line
    //Need to wrap each field name with single quote
    389 $table->add_key('level_id', XMLDB_KEY_UNIQUE, array('idnumber', 'warningpercent', 'warnafter'));

    If this issue can be checked and addressed in your plugin code, that would be great.

    Bei Chapman
  • Fri, Feb 8, 2019, 4:22 AM
    Hi Bei, please report bugs in the tracker rather than as comments here. See the link above under "useful links" - thanks.
  • Sat, Feb 9, 2019, 3:50 AM
    I did it. See the issue #363.

    Thanks so much,
  • Tue, Apr 16, 2019, 11:12 PM
    Hello, it is possible to have a option to bulk upload attendance records?
  • Wed, Apr 17, 2019, 6:30 AM
    @Sergio - that is not something that is currently supported, but there is someone in the community actively working on implementing this feature - if you have internal development capabilities you might want to check out the pull requests in the github repo for the attendance plugin - otherwise you will need to wait for this work to be completed.
  • Wed, Apr 24, 2019, 12:35 PM
    hi, is it possible for me to hide session column in the report overview?
  • Wed, Jul 24, 2019, 11:20 PM

    is there any way to create a list of one User/All Users where all Attendance in every kurs is displayed?


    Name Course 1Course2 Course3
    Max A E A
    Lisa A A A

    Kind regards
  • Tue, Aug 27, 2019, 5:18 AM
    Hello, We started getting this error today on 3.6.5

    Default exception handler: Exception - Call to undefined function file_rewrite_pluginfile_urls() Debug:
    Error code: generalexceptionmessage
    * line 972 of /mod/attendance/classes/structure.php: Error thrown
    * line 944 of /mod/attendance/classes/structure.php: call to mod_attendance_structure->get_session_info()
    * line 180 of /mod/attendance/classes/task/auto_mark.php: call to mod_attendance_structure->get_statuses()
    * line 156 of /admin/tool/task/cli/schedule_task.php: call to mod_attendance\task\auto_mark->execute()

    !!! Exception - Call to undefined function file_rewrite_pluginfile_urls() !!!

    Thoughts on how to fix this?

Please login to post comments