Activities ::: mod_attendance
Maintained by Dan Marsden
Part of sets Attendance, MoodleCloud.
A plugin that allows an attendance log to be kept. - includes an optional block for easy access to relevant functions.
Latest release:
19721 sites
358 fans
Current versions available: 19

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.


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

Εμφάνιση σχολίων
  • Karan Singh Rawat
    Τρί, 21 Μαρ 2023, 2:09 PM
    There is an issue with upload attendance with the php8.0 version but working fine with lower version of PHP version.Issue is in the save_log function here is the solution -
    $log->statusset = implode(',', array_keys($log->statusset));
    add this line of code before insert and update record function
  • Dan Marsden
    Τετ, 22 Μαρ 2023, 4:01 AM
    @Karan - please make sure you have the latest version of the attendance plugin installed, and report any issues you have to the github issues tracker rather than as comments here. - thanks!
  • Ezzeddin Hamed
    Πέμ, 14 Σεπ 2023, 2:50 PM
    Wonderful addition with lots of features. Any thoughts of being linked to biometric systems to automate attendance? Something like fingerprint readers, or even face detection systems.
  • Dan Marsden
    Δευ, 18 Σεπ 2023, 7:31 AM
    @Ezzeddin, the plugin does include webservices to allow this sort of integration, however it's not currently something I am looking at doing myself. If you have internal development capabilities, pull requests are always welcome or alternatively if you would like to fund improvements to the plugin feel free to reach out privately and we can discuss.
  • Akshay Joshi
    Δευ, 18 Σεπ 2023, 8:54 PM
    Hi, Is it possible to have a serial number for the number of sessions added in attendance? This would help in keeping a track of which class the students are in.
  • Dan Marsden
    Τετ, 20 Σεπ 2023, 9:13 AM
    @Akshay - I'm not completely sure what you are asking for there - try creating a feature request in the github issues tracker - but provide some more information and example mockups of what you are looking for - keep in mind that feature development is not something I have a lot of time to work on for free, so pull requests and or funding for feature development are always welcome.
  • Dardan Beqiri
    Πέμ, 5 Οκτ 2023, 12:25 PM
    Hi, thank you very much for the good work.
    I stumbeled uppon an issue in the latest version, every time I create a session, the session doesn't get the specified date but always a date before that.
    For example, if i set the date to be 01 Nov 2023 the session date when I click add will be set to 31.Oct 2023 or if I set the date 10 Oct 2023 the session date will be set to 09 Oct 2023.
    This doesn't happend if I edit the session and set again the date.

    To reproduce, create an attendance activity, open the activity, add session, set the desired date
    Expected result > A new session with the desired date will be added
    Result > A new session with the desired date -1 day is being added
    I'm using moodle Version 4.2.2+ (Build: 20231004) with Attendance plugin v "2023041800", Ubuntu dedicated server with Apache webserver and PHP 8.2.
    The date command on the server shows back the right date&time and also when I go to Site administration > Reports > Live Logs > The time and date seems to be fine on moodle.

    I had the same issue on moodle v 4.1 PHP 7.4
    Can you please take a look at this
  • Dan Marsden
    Πέμ, 5 Οκτ 2023, 12:30 PM
    @Darden sounds like which has been fixed in the github repo but the version number hasn't been bumped since. Can you try downloading the latest version from github and replacing your version to see if that fixes it for you,
  • Dardan Beqiri
    Πέμ, 5 Οκτ 2023, 10:55 PM
    @Dan, this solved my issue.
    Thank you very much for your help!
  • Toke Suhr
    Τρί, 7 Νοε 2023, 9:20 PM
    Thanks for a great module. Any plans to make it works with moodle 4.3?
  • Dan Marsden
    Πέμ, 9 Νοε 2023, 2:59 PM
    @Toke - just because a plugin listed in the plugins db doesn't have it "tagged" as supporting a version, doesn't mean that it doesn't actually support that version. The latest version of all my plugins (and my employers plugins) will be in github - please feel free to grab the latest versions from github and report any issues you find. As far as I'm aware the Attendance module "works" in 4.3, however there may be some deprecated warnings displayed if you turn developer debugging mode and display errors = on (which you shouldn't do in a production site anyway.)
  • Iñigo Zendegi Urzelai
    Πέμ, 9 Νοε 2023, 3:51 PM
    Hi Dan,

    When you say that "The latest version of all my plugins (and my employers plugins) will be in github" you mean you will stop updating them here? Because it would be a problem not only for those that wouldn't notice there are newer versions but also for the translators of the plugins, because AMOS is synced with so all the changes wouldn't be reflected there (I have a few of your plugins installed and keep them translated so I would be affected for both).

  • Dan Marsden
    Πέμ, 9 Νοε 2023, 3:58 PM
    No - the latest will always be in github but we try to update the plugins db when we can. I just dislike the questions 'when will this plugin support version x' when it already does we just haven't "tagged" the plugins db entry. Some of our plugins auto deploy to the plugins db when we update the version number in the version.php file in github too.
  • Iñigo Zendegi Urzelai
    Πέμ, 9 Νοε 2023, 4:09 PM
    Great, thank you Dan!
  • sara al-sawafi
    Κυρ, 26 Νοε 2023, 1:35 PM
    Can the password be displayed when QR code rotates?
    Some classes and lecture halls are too big and wide for some students to scan the code (students' device compatibility). Hence, the password effectively substitutes code scanning when their cameras fail to capture the code. In our context, the rotated passwords and QR codes are needed.
Please login to post comments