Blocks: Auto Attendance

Maintained by with daughterFumikazu 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.


This plugin is part of set Auto attendance.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3


with daughter
Fumikazu Iseki (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Picture of Greg Young
    Mon, Jan 18, 2016, 10:30 PM
    Can't wait to try the new options, thanks! Have customized this plugin a bit though so updating will be tricky.

    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)
  • Picture of Greg Young
    Wed, Feb 3, 2016, 12:04 AM
    updated and tested. backing up/importing now seems to be working! Thanks Fumikazu!

    Have another request for you smile

    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.
  • Picture of Chester Folming
    Tue, Mar 15, 2016, 9:36 PM
    Dear Fumikazu
    Our network staff has given me a much simpler way of writing Allowed IP ( 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.
  • with daughter
    Tue, Mar 15, 2016, 10:08 PM
    I corrected allow IP filed length to 250 now.
    But it was very easy work! smile

  • Picture of Emilio Arjona
    Tue, Apr 26, 2016, 3:22 PM
    Hi Fumikazu,
    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
  • Picture of Emilio Arjona
    Tue, Apr 26, 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));
    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??


  • with daughter
    Wed, Apr 27, 2016, 10:13 AM

    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"

  • Picture of Emilio Arjona
    Wed, Apr 27, 2016, 2:37 PM
    Ah, OK!!!
    Now i know what is the meaning of that field XD
    Sorry for my lack of attention!

  • Picture of David Conrad
    Thu, Jun 30, 2016, 11:41 PM
    is mod_autoattendmod required for block_autoattend?
  • with daughter
    Fri, Jul 1, 2016, 11:18 AM
    It is not required, but I recommend to install it.
  • Picture of Jason Walker
    Wed, Jul 6, 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!
  • Picture of Rafael Mota
    Fri, Aug 12, 2016, 6:29 AM
    How the automatic attendance is taken ? The students must be online during all the session ?
  • Picture of Chester Folming
    Mon, Aug 22, 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?
  • with daughter
    Sun, Sep 4, 2016, 4:12 PM
    Sorry, I have no ideas now.
Please login to post comments