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.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Now i know what is the meaning of that field XD
Sorry for my lack of attention!
Thanks!
Autoattend's main data is managed by Autoattend Block rather than Autoattendmod Module.
If you want to backup block data, please check "Backup of Attendance Data"
Backup of Attendance Data" is at "Setting of Autoattendmod" (module) -> "Options of Auto Attendance module"
Thanks.
please check line 43 of [MOODLE]/blocks/autoattend/backup/moodle2/backup_autoattend_stepslib.php. I'm not sure of the meaning of "backupblock" field in DB, but its value in the table autoattendmod is always 0. In the line 43 there is an "if" that aborts all backup process returning an (almost) empty xml.
...
36 //$block = $DB->get_record('block_instances', array('id' => $this->task->get_blockid()));
37 $courseid = $this->get_courseid();
38 $backup_block = $DB->get_field('autoattendmod', 'backupblock', array('course'=>$courseid));
39
40 //
41 // Define each element separated
42 $autoattend = new backup_nested_element('autoattend', array('id'), null);
43 if (!$backup_block) return $this->prepare_block_structure($autoattend);
...
Removing the "!" in line 43, Moodle executes all backup script correctly.
Can you confirm this fix??
Regards.
I'm doing some test of the newest version of your plugin, specially the new backup feature (Great!!). Now backing up a course with autoattend activities doen't break the grades, congrats!! But i can't get the autoattend sessions to be restored into the new course ¿?¿?
The autoattend block and activity are restored succesfully but empty: autoattend item in gradebook is there with all users grades, but there is no sessions defined in the block in the restored course, and there is no data about users states in each session.
Tested in Moodle v2.6
I corrected allow IP filed length to 250 now.
But it was very easy work!
Thanks.
Our network staff has given me a much simpler way of writing Allowed IP (10.0.0.0/255.0.0.0) which works for us. So I am pulling the request to give the Allowed IP field more characters.
This might still be an issue for others - but my problem is solved. I am sorry if I caused you to work on this issue.
Have another request for you
Think it would be possible to add a feature for manual and semi auto sessions that alerts teachers when a class attendance hasn't been taken (modified) by the time the session ends? Something along the lines of if a no student has checked in and a teacher hasn't signed in any student.
I know for semi auto sessions the session automatically sets students to absent if they haven't checked in by the end of the session so that may be difficult.
also if along with notifying teachers, if it can also be noted beside the session on the sessions page so teachers/admins can skim through the list and see any missed sessions.
Hope that all makes sense. I appreciate all the work you have done with this plug in.
Suggestion: Emailing teachers when attendance "manual" attendance isn't taken?
Also the list of sessions can grow very long. Maybe change the way sessions are listed (i.e. by month)
If you want to send e-mail to student about their attendance, please use autoattendmod and check "E-mail Notification to Students" at "Options of Auto Attendance module".
And please add "Student" to the "autoattendmod:receivemail" capability.
Thanks.
Thanks for this working.
Nice upgrade will be to load classes from Moodle groups. Another one may be to list absent students during a course.
Thanks a lot and best regards
Sorry, I can not understand you are mention.