Blocks: Auto Attendance

block_autoattend
Maintained by Fumikazu Iseki
This autoattend block is modification of the Attendance block by Mr. Dmitry Pupinin (v1.0.8, 2007). In addition to the original manual mode, automatic attendance mode (from the access log of Moodle) and semi-automatic attendance mode (user clicks a link) are also possible.
443 sites
37 fans
Current versions available: 2

These Auto Attendance block and module are modification of the Attendance block/module of Mr. Dmitry Pupinin (v1.0.8, 2007).

In addition to the manual attendance mode to take attendance manually the original, automatic attendance mode (from the access log of Moodle) and semi-automatic attendance mode (user clicks a link) are also possible.

I strongly recommend a combination of Auto Attendance block (autoattend) and Auto Attendance module (autoattendmod).

15 March  2016
I released new support module (homeroom module).
homeroom module displays all students's attendances of the all courses.
http://www.nsl.tuis.ac.jp/xoops/modules/xpwiki/?mod_homeroom

Sets

This plugin is part of set Auto attendance.

Contributors

• Tue, Jul 9, 2013, 4:22 PM
Does PHP setting of timezone at Web server correct ?
Student's timezone is the same as PHP timezone.
Please check "date.timezone" in php.ini file

Example, my "date.timezone" in php.ini is "date.timezone = Asia/Tokyo"
• Tue, Jul 9, 2013, 4:29 PM
I forgot.

Do you check following setting?

"Site administration" -> "Plugins" -> "Blocks" -> "Auto Attendance" -> "Use Timeoffset of the Timezoe"
• Tue, Jul 9, 2013, 4:39 PM
If it is also useless, please try to edit blocks/autoattend/timezonedef.php and comment out 2 lines.

// Bug of Moodle?
$TIME_OFFSET = 0; if ($CFG->use_timeoffset) {
// if (jbxl_is_admin($USER->id)) { <- this line if ($USER->timezone!=99) {
$TIME_OFFSET =$USER->timezone*ONE_HOUR;
}
else if ($CFG->timezone!=99) {$TIME_OFFSET = \$CFG->timezone*ONE_HOUR;
}
// } <- this line
}
• Tue, Jul 9, 2013, 8:21 PM
>>>Example, my "date.timezone" in php.ini is "date.timezone = Asia/Tokyo"

Great stuff Mr Iseki, it worked!, changing the timezone on php.ini and restarting the server.

For the record, going to Site administration or commenting or changing the file timezonedef.php did not work, even hardcoding the TIME_OFFSET variable did not work.
• Tue, Jul 9, 2013, 8:24 PM
Thank you very much, now we have a perfectly working version 2.1.11 of the block.

Nevertheless, would it be possible for you to indicate the time used to judge whether a particular student was late as part of the reports ? ....basically the time the student came in for that session ? ...add perhaps a row on the reports called "Time in"?
• Tue, Jul 9, 2013, 9:21 PM
Mr Iseki, what time does one have to log into the system and go into the course to be regarded as EARLY on the Autoattendance block ?

Or rather, the settings for someone to be regarded as LATE on the system the "Late Time" should be anything other than zero (0) and less than the duration of the course, this is clear. So now, what are the settings for the student to be taken or recognised by the autoattendance block to be EARLY ?
• Tue, Jul 9, 2013, 9:26 PM
All the questions I have above, are for the Automatic call method.
• Wed, Jul 10, 2013, 2:58 PM
>> add perhaps a row on the reports called "Time in"?

As attendant time can be taken from log, display is possible.
If time is displayed in report page, it seems that it is not good design.
Do you think that "Update Session Attendance" page is better?
I will try to implement this function at next version.

>> So now, what are the settings for the student to be taken or recognised by the autoattendance block to be EARLY ?

"EARLY" is not used at automatic mode.
This is for manual mode.

Thanks.
• Mon, Sep 9, 2013, 5:50 PM
I've problem with Auto Attendance. If I try add a new attendacne (with name and description) I get the message: "invalid function".
I use block_autoattend release 2.1.11 (configured) and mod_autoattendmod release 2.1.9.
I get this error on Moodle 2.5+ (Build: 20130606) and Moodle 2.5.1+ (Build: 20130830). What could be wrong?
• Thu, Sep 12, 2013, 12:49 PM
Hi
Do you add block in first?
For autoattendace, block is main plugin.
If you add module in first, you will look that error message.
Thanks.
• Thu, Sep 12, 2013, 5:58 PM
Thank you very much Fumikazu. My problem was solved. Of course - I added block at first. Block and module have installed correctly, BUT... I haven't configured session. This plugin is working fine, thanks.
Maybe you should add a condition of existence of a session ;]
• Fri, Sep 13, 2013, 9:47 AM
Thank you for your bug report.
I will try to correct that problem.
Thanks.
• Thu, Sep 19, 2013, 8:33 PM
I must be missing something, but what prevents a student from marking themselves as present if they're not physically in the classroom - i.e. accessing the site from, say, home and just marking themselves as present? I've looked through your website on this project as well as this forum and can't seem to find my answer. Again, I'm sure I'm missing something, but..... ;)
• Tue, Sep 24, 2013, 11:38 PM
Hi everyone.
I created new support module (homeroom module).
homeroom module displays attendances of all the courses.
But this module is beta version yet. I'm writing manual now.