Activities: Attendance

Maintained by Picture of Dan MarsdenDan Marsden, Picture of Catalyst ITCatalyst IT
A plugin that allows an attendance log to be kept. - includes an optional block for easy access to relevant functions.
11290 sites
220 fans

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


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

Comments RSS

Show comments
  • Picture of Mohamed Atia
    Thu, Mar 26, 2020, 1:31 AM
    The new Rotate Option is not working with MS SQL Server where the 'LIMIT' is not valid syntax in MS SQL Server, it gives the below error

    Message: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near 'LIMIT'.

    SELECT * FROM mdl_attendance_rotate_passwords WHERE attendanceid = '10793' AND expirytime > '1585156464' ORDER BY expirytime ASC LIMIT 2
    [array (
    0 => 10793,
    1 => 1585156464,
  • Picture of Dan Marsden
    Thu, Mar 26, 2020, 3:16 AM
    @Mohamed - please report bugs in the github tracker - feel free to help by submitting a pull request too!
  • Picture of Mohamed Atia
    Fri, Mar 27, 2020, 4:20 PM
    Hi Dan,
    I reported it in bug tracker in git Hub

    I don't understand what you mean by the pull request.

    I guess query should be something like the below for MS SQL, I will suggest that in the bug

    SELECT *, ROW_NUMBER() OVER (ORDER BY expirytime ASC) AS RowNum FROM mdl_attendance_rotate_passwords WHERE attendanceid = ? AND expirytime > ?
    ) AS MyDerivedTable
    WHERE MyDerivedTable.RowNum BETWEEN 1 and 2
  • Picture of Aniket Patil
    Fri, May 29, 2020, 6:41 PM
    The plug in is not part of the google cloud I am using in trial mode. Can I install it?
  • Picture of Dan Marsden
    Tue, Jun 2, 2020, 8:24 AM
    @Aniket - if you mean "" you cannot install extra plugins. does provide the attendance plugin in their "Moodle for School" plan so you could upgrade to one of those plans, otherwise you should ask for further help in the community forums and someone might help - make sure you include information on the location you have used to get your trial site as there are many different free trial providers for Moodle.
  • Picture of Jai Kalyan
    Thu, Jun 18, 2020, 4:08 AM
    Dear sir, please provide plugin for 3.9 version also
  • Picture of Gabriel Rivadeneira
    Fri, Jun 19, 2020, 4:18 AM
    Hello, excellent work.

    A question, would it be possible for the attendance report to include the user's custom fields?
  • Picture of Meir Kirshner
    Thu, Jun 25, 2020, 11:58 AM
    hi , i a using moodle ver 3.8.2 - (hebrew) i cant see any students in the list .
  • Picture of Miguël Dhyne
    Sat, Jul 4, 2020, 6:12 PM
    This information concerns Moodle 3.9 for wich your plugin isn't compatible yet (I know, but I tested it to experiment it).
    I would like to inform you that your plugin creates a perturbation in the box "Drag files here" with Moodle 3.9.
  • Picture of Dan Marsden
    Mon, Jul 6, 2020, 5:54 AM
    @Miguël -I'm not aware of any issues using attendance in Moodle 3.9 and haven't had any "bugs" or "pertubations" reported using this in 3.9 either.
    Please take the full text of any errors you are seeing and report them to the issues tracker:
  • Picture of MD. MAHSIN UL ISLAM
    Mon, Jul 13, 2020, 11:10 PM
    I am using your plugin for student attendance. Now I am making a summary attendance reports for each student so fetching data from prefix_attendance_log table statusset filed for the first time taken attendance showing 5,7,8,6 for second time showing another type for 4 data. Can you give some idea about how to fetch attendance data from statusset and how inserting this type of combination data 5,7,8,6. It will be very helpful to me. I gave the db table link for understanding
  • Picture of Julver Pierre Alfaro Chuquimia
    Mon, Jul 13, 2020, 11:45 PM

    Good morning, would there be any way that the information from the report exported to excel could be added more information about the student, such as their cell phone number?
  • Picture of Dan Marsden
    Tue, Jul 14, 2020, 5:46 AM
    MD - Please use the Attendance forum to ask for support:
    @Julver - that's not soemthing that is currently supported.
  • Picture of Nathan Lind
    Tue, Aug 4, 2020, 3:28 AM
    Greetings! We love the Attendance Activity and rely heavily on its functionality. Unfortunately, version 3.8.1
    2019112500, which we have installed in Moodle 3.8.3 has an issue with columns switching locations and text being obscured when the browser window is resized or the Moodle Drawer is expanded or collapsed. Video here: and Image here:
  • Picture of Dan Marsden
    Tue, Aug 4, 2020, 7:03 AM
    @Nathan - sounds like which is fixed in the current supported release.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Please login to post comments