Activities: Attendance Register

Maintained by Picture of CINECA elearning SUPPORTCINECA elearning SUPPORT
This is an activity module for tracking time spent by Students (or other users) in a Course or in a related group of Courses.
1371 sites
91 fans
Moodle 2.1, 2.2, 2.3, 2.4, 2.5, 2.6

This is an activity module for tracking time spent by Students (or other  users) in a Course or in a related group of Courses.

Online activity is automatically tracked.
Users may also (optionally) record "offline" sessions of work.

The module will show aggregate report by user, or detailed report at user's session level.
Printable versions of all reports are available.

It also supports activity completion rules by minimum time in the Course.

By defaults, it tracks only activity in the Course the instance is in.
You may change this behaviour by module instance configuration. You may track all Courses in the same Category or Courses "meta-linked" to this Course.

By default, it tracks only Student's activity.
You may choose whose activity will be tracked by modifying Role Capabilities.

By default, only Teachers, Managers and Administrator may see other report of other user's activities.
You may change this behaviory by modifying Role Capabilities.

The Module is currently translated in English and Italian.

Documentation and an FAQ (small - work in progress) are available in English only.

this module is based on the idea of the old Register module for Moode 1.x, but it is not an update of this module.
You cannot upgrade or restore Register data from Moodle 1.9 using this Attendance Register module.

Please note that this module is not related to Attendance module
Attendance Register (this module) automatically calculates time spent online in Moodle's courses, while Attendance module allow teacher to explicitly certify attendance to a specific "offline" session.

Important note about Moodle >2.7  compatibility

The newest version of this plugin supports the new logging system introduced by Moodle 2.7

Potential privacy issues

By modifying default Roles Capabilities, you may allow some monitoring of other users activities, beyond normal Moodle's restrictions (i.e. only Teachers, Manager and Admin may see other user's reports)


Screenshot #0
Screenshot #1


Picture of CINECA elearning SUPPORT
CINECA elearning SUPPORT (Lead maintainer)
Picture of Lorenzo Nicora
Lorenzo Nicora: Original author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Antonio Carrieri
    Thu, May 11, 2017, 11:29 PM
    Really good plugin and i confirm it still works in moodle 3.2. One issue tho:

    "It also supports activity completion rules by minimum time in the Course."
    "Sessions are updated by Moodle Cron
    The last session of a User is not calculated until a given time passes after the last User's action"

    If you create a certification (or any other) activity based on the attendance register activity completition, the student would end up having completed the course but in need to wait Moodle cron and "a given time" passed after last user's action. So he would end up not being able to go on with the course till next login... any ideas on how to make it to flag the attendance register activity as completed right after the set time has passed?

    hope i've been clear enough,
  • Picture of Lorenzo Nicora
    Fri, May 12, 2017, 1:49 AM
    Hi Antonio,

    It is not possible, due to the way the plugin measure the time online. There is no timer measuring the time the user spend on pages, but it calculates an estimate based on user activities recorded in the log.

    The algorithm that calculates work sessions must wait a certain time after the last registered activity (after the user has gone away) to decide whether the session has ended or is continuing.
    The new session is added only after it is detected as ended, so some time after the user has left.

    This makes impossible to mark the course as completed "by duration" on real time.
    As I said, there is no timer ticking that may trigger an event exactly after X minutes has passed.

  • Picture of Antonio Carrieri
    Mon, May 15, 2017, 11:00 PM
    Hello Lorenzo,

    thanks for Your answer, I read all the documentation/faq and i was trying to accomplish this by myself but can't get ahead of it!

    I was wondering if it would be possible to have something like this:

    activity completion time set to 8 hours;
    timeout set to 10 minutes;
    total online sessions for the user are at 7 hours and 30 minutes;
    user logged in and is doing stuff on the course for 1 hour, but timeout is still not elapsed;
    cron runs and, while checking for completion, it should consider active online session since user got on the course till last logged activity on course. Just for eventually setting COMPLETION_COMPLETE.

    What do you think? would it be hard to implement? Would it make sense?

    Thanks for Your time,
  • Picture of Lorenzo Nicora
    Wed, May 17, 2017, 12:44 AM
    In theory it is possible, but the change is not trivial and requires calculating the duration of the current session.
    The former version of this plugin, for Moodle 1.x, was showing the running session but it ended up as a source of several bugs, especially in corner cases.
  • Picture of Antonio Carrieri
    Sun, May 28, 2017, 4:06 PM
    ok, Lorenzo. Thanks for your support... i'm getting to a working solution for my need. On another side, i just understood plugin is not calculating time spent on a SCORM package, it basically doesn't count logs like:
    The user with the id '5' submitted the element 'cmi.core.score.raw' with the value of '87.5' for the attempt with the id '2' for a scorm activity with the course module id '21'.
    The user with the id '5' submitted the element 'cmi.core.lesson_status' with the value of 'completed' for the attempt with the id '2' for a scorm activity with the course module id '21'.
    The user with the id '5' submitted the element 'cmi.core.lesson_status' with the value of 'completed' for the attempt with the id '2' for a scorm activity with the course module id '21'.
    and so on.
    Would it be quite difficult to include them in the attendance calculation?

    Thanks again
  • Ricardo Caiado
    Sun, Mar 18, 2018, 4:23 AM
    Any updates do Moodle 3.4?

  • Picture of Claire Young
    Sat, Apr 14, 2018, 9:29 PM
    I would also like to know about v3.4 updates please?
  • Picture of Daril Marcia
    Thu, Apr 19, 2018, 5:23 PM
    Hi, same here. Need update on v 3.4.2+

    Thank you.
  • Picture of Joseph Liaw
    Fri, Aug 3, 2018, 11:04 PM
    Thank you for this AMAZING plugin! A much needed tool for instructors to get a "big picture" snapshot and useful data on how much time students are spending working on their courses! This also makes student conferences much more productive when giving coaching advice to student on how they are using their time and study habits (e.g. not cramming, spacing and distributing their study and practice, etc.).

    Feature request for future updates: is there a way to add an "export" feature to CSV / Excel, and perhaps add in a "Course Average" statistic? This is a very useful feature and similar to Aday's excellent Course Dedication Block (

    Thank you to Lorenzo and the amazing CINECA team!


  • Picture of Dhiraj Upadhyaya
    Sat, Jan 5, 2019, 7:13 PM
    Does this work for Group or Cohort
  • Picture of Emanuele M
    Sun, Mar 3, 2019, 8:37 AM
    Hi Lorenzo,

    is it possible, when you go to the sessions list of a specific course, to hide from the list the suspended users in the meantime?

    Thanks in advance.


    My conf:
    Version Moodle 3.5.3 -> 2018051703.05

    Version Attendant Register 2017112201
  • Picture of Dinis Medeiros
    Fri, May 24, 2019, 4:29 PM
    Is it 3.6 or 3.7 compatible? TIA
  • Picture of 吴 新
    Thu, Jun 13, 2019, 3:57 PM
    你好,有更新3.6 的吗?
  • Picture of Andi Becker
    Fri, Jun 21, 2019, 6:08 PM
    Is it working in 3.7 and is the plugin still maintained? The latest Download version is from 2017 and for 3.3!!
  • Picture of CINECA elearning SUPPORT
    Fri, Jun 21, 2019, 9:33 PM
    Hi, at this moment we are not able to provide a date for a new release due to the heavy commitment to other projects. We hope to release an updated version of the plugin within 2019
1 2 3 4 5 6 7 8
Please login to post comments