Auto Attendance Block

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.
Price option: Free

Supports Moodle 3.0-4.5 See all versions
Latest release: 1 year ago
Installations: 1087
Downloads (last 90 days): 138

Frankenstyle name: block_autoattend
Blocks
Auto attendance

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

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.
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?
>> 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.
All the questions I have above, are for the Automatic call method.
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 ?
Thank you very much, now we have a perfectly working version 2.1.11 of the block. smile
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"?
>>>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.
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
}
I forgot.
Do you check following setting?
"Site administration" -> "Plugins" -> "Blocks" -> "Auto Attendance" -> "Use Timeoffset of the Timezoe"
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"
From the Help Icon next to the time on the autoattendance block
>>>When a general user's (teacher) time does not correspond, probably, it is bug.Please send me bug report.
I am using a General User (Teacher) and the time does not correspond, so this is a bug ?
Could it be that the timezone is hardcoded somewhere in the code of the autoattendance block?
The block seems to disregard any settings done by the Administrator on timezones settings, what could I be doing wrong here as it ignores both "Africa/Johannesburg" and UTC+2?

>>"Site administration" -> "Location" -> "Location settings" -> "Default timezone timezone"
This is correctly set, my default time zone is "Africa/Johannesburg" and I force this timezone as "Africa/Johannesburg" as well. But the autoattendance block seems to ignore my timezone still, are you sure this is not a bug ?
Thank you for providing the latest version of the block, now my administrators can view the block items.
>> But now, I am in a different timezone, as my confusion is evidence to this. Now, how do I set this autoattendance block to my TimeZone ?
Ummm....
Please try to specify the time zone of a system?
"Site administration" -> "Location" -> "Location settings" -> "Default timezone timezone"
>> I am using Manager and Course Creator and Editing teacher but still get a time that is not in my timeZone.
I noticed that 2.1.10 has bug. With this version, Manager and Course Creator can not access this block.
Does your Manager and Course Creator have permission of Administrator?
(I will version up to 2.1.11 soon)