## 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.
571 sites
22 fans
Moodle 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0

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

##### Feedback please!!  If there are only few feedbacks, we can't continue the this research and development!!There are only few feedbacks (only 6) from teachers now. (26 Nov. 2015)

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, 26 Apr 2016, 5:15 PM
Hi again,
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.

• Wed, 27 Apr 2016, 10:13 AM
Hi,

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.
• Wed, 27 Apr 2016, 2:37 PM
Ah, OK!!!
Now i know what is the meaning of that field XD
Sorry for my lack of attention!

Thanks!
• Thu, 30 Jun 2016, 11:41 PM
is mod_autoattendmod required for block_autoattend?
• Fri, 1 Jul 2016, 11:18 AM
It is not required, but I recommend to install it.
• Wed, 6 Jul 2016, 11:33 PM
Just so anyone having the same issue as me (Potential coding error - existing temptables found when disposing database. Must be dropped!) when doing a backup, you must have both the block and module installed to be able to backup a course. We get the functionality we want with just the block, so I wish there was a way to use the plugin without the module installed!
• Fri, 12 Aug 2016, 6:29 AM
How the automatic attendance is taken ? The students must be online during all the session ?
• Mon, 22 Aug 2016, 5:31 PM
Dear Fumikazu

Thank you for your good work.

I would like to ask you what do you do in relation to summer time (daylight saving time)?
I discovered that if I create sessions that - cross the date where we are supposed to reset the clock - all sessions are pushed one hour forward.
(That is in the Fall - in the spring sessions will be moved one hour later than intended).

If I take this into account and compensate this hour - will the "session start" remain correct when we pass 30th of October 2016?
• Sun, 4 Sep 2016, 4:12 PM
Sorry, I have no ideas now.
• Thu, 15 Dec 2016, 3:22 AM
Is anyone using auto-attendance with 3.1? We are upgrading shortly and wanted to make sure it works with 3.1.
Thank you!
• Wed, 11 Jan 2017, 4:39 PM
latest auto-attendance can work with 3.1 or 3.2
Thanks.
• Tue, 21 Feb 2017, 11:13 PM
Have a issue that if I have a student unenroll from a class, I am no longer able to access their attendance record up to the day they dropped the class (unless I add them back to the class).

I have tried leaving them enrolled (but suspending them) but they still show up on future attendance sheets. Also tried putting them in different attendance classes (or the excluded class) but than I still end up loosing all of their attendance.

Easiest solution I can think of is for Auto Attend to mark students with a 'Suspended' status as 'Not Called'. Can this be done?
• Wed, 22 Feb 2017, 9:45 PM
Thinking about this further, Suspending a student won't work in the scenario of a student changing courses... Is there another way a students attendance can be stored/viewed if they are no longer enrolled in a class?
• Wed, 22 Feb 2017, 10:34 PM