Select Moodle version:

Activities: Attendance Register

mod_attendanceregister
This is an activity module for tracking time spent by Students (or other users) in a Course or in a related group of Courses.
Maintained by: Picture of Lorenzo Nicora Lorenzo Nicora
for 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.

Note
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.

This plugin contains 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)

Screenshots

screenshot
screenshot

Contributors

Picture of Lorenzo Nicora
Lorenzo Nicora (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Lorenzo Nicora
    Tue, Nov 26, 2013, 7:52 PM
    Hi Carlos,
    the "last session" is delayed on purpose, not by mistake, to avoid miscalculation of the current session or need to continuously recalculating sessions and aggregates (total times) while the user is online.

    The logic is explained here: https://github.com/nicusX/moodle-mod_attendanceregister/wiki/Online-Session-delay

    Currently, sessions are never updated, just added when considered closed.
    They may be considered "closed" only after waiting a certain time after the last user's detected activity (and waiting the next cron run, as Moodle isn't able to do anything in background out of cron).

    Showing the "current" user session is not just a matter of reducing the delay.
    The logic should be changed, and you'd need to continuously update current session while the user is online.
    Serious performance problems may also occur in sites with many users.
  • Picture of Carlos Morais
    Wed, Nov 27, 2013, 1:40 AM
    Thank you for your feedback, I guess I won´t fiddle with the logic right now it would probably take me too much time and I´m still kinda newb in advanced php and moodle, but you helped me a lot i would probably just run in circles around this problem.
  • Picture of Sarah Smith
    Thu, Dec 19, 2013, 8:13 AM
    When trying to install this on 2.6, I get a blank white page on my admin page. Are there any solutions to this or an estimated timeline to get that resolved?
  • Picture of Lorenzo Nicora
    Thu, Dec 19, 2013, 3:55 PM
    This module has not yet been tested on Moodle 2.6
    I've no short-term plan for testing and porting on 2.6.

    If anyone else have time and skill to check it (and fix it, if needed) for 2.6, I'll be glad to integrate in the release.
    The code is available on https://github.com/nicusX/moodle-mod_attendanceregister
  • Picture of Thiti Theerathean
    Sun, Dec 22, 2013, 7:19 PM
    Is it possible? if i will show username or idnumber of user in report.
  • Picture of Lorenzo Nicora
    Sun, Dec 22, 2013, 9:35 PM
    HI Thiti,
    You may add additional columns showing any User's field, using some PHP coding.
    The code generating the Users list table is the html_table() method in attendanceregister_tracked_users.class.php
  • Picture of Yaslam Altayeb
    Wed, Feb 5, 2014, 9:32 PM
    Any progress or news on 2.6 support?
  • Picture of Lorenzo Nicora
    Thu, Feb 6, 2014, 12:18 AM
    Nope. Sorry.
  • Picture of Luis Perez
    Mon, Feb 17, 2014, 3:09 AM
    Hi Lorenzo

    I installed the module without any problem in moodle 2.52. I entered the information required to use the module in one of my courses but when I pulsed the button Save and Display, got the following error message
    [an error occurred while processing this directive]. What are the possible causes and what should I do to solve it?

    Thanks, Luis

  • Picture of Lorenzo Nicora
    Mon, Feb 17, 2014, 4:12 PM
    Hi Luis,
    I'm using it on 2.5.4 with no error, so there should be some issue related to your installation.

    This error you report is rather generic and not very helpful.
    Please, raise the debug level to get some meaningful message.
  • me
    Thu, Feb 20, 2014, 11:11 PM
    Would love to see if this works in 2.6 as we have a scorm reporting issue and would like to use it to mandate time in course to continue. Thanks!
  • Picture of Lorenzo Nicora
    Sat, Mar 8, 2014, 11:38 PM
    I published a Moodle 2.6 compatible version.

    For the record: the previous version was already 2.6 compatible (Gary, thanks for reporting your testing)
  • Picture of Luis Perez
    Mon, Mar 10, 2014, 6:58 AM
    Lorenzo I solved the problem using this recommendations:
    - Go to cPanel
    - Open File Manager from Files section
    - Navigate to domain folder
    - Check "Perms" column on far right hand side
    - Files should be set to: 0644 (this is the UNIX file permissions)
    - Folders should be set to: 0755
    This will change your file permissions to their proper settings for the Bluehost file system.

    Luis
  • Picture of Dionysios Plakias
    Wed, Apr 2, 2014, 5:06 PM
    Hello,
    I am trying to track teachers. However, even If mod/attendanceregister:tracked permission is added to Teacher role, Users with this role still do not appear in tracked user list.
  • Picture of Lorenzo Nicora
    Wed, Apr 9, 2014, 11:31 PM
    Hi Dionysios
    sorry for late reply.

    To exclude a regression bug, I've just tested on Moodle 2.6, 2.5 and 2.4, but it works for me.

    I set mod/attendanceregister:tracked = Allow to the Teacher role (but any other role will be the same) . So Users with Teacher role in a Course will be visible in Tracked Users List of AttendanceRegister instances in the same Course.
    Are you doing the same?
1 2 3 4 5
Please login to post comments