## Activities: Auto Attendance

mod_autoattendmod
Maintained by Fumikazu Iseki
This is a additional module to auto attendance block.
450
414
5
Moodle 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0

This is additional module of auto attendance block.

This auto attendance module is modification of the Attendance module by Mr. Dmitry Pupinin et. al (v1.0.8, 2007).

Please install the auto attendance block before installing this module.

module v2.5.1 is for block v2.5.0/v2.5.1

### Sets

This plugin is part of set Auto attendance.

### Contributors

• Tue, Mar 17, 2015, 10:17 AM
Sorry.

I updated autoattendmod now.
• Mon, Dec 7, 2015, 5:18 PM
Dear Fumikazu,

We are happy to use this plugin, however we are facing a challenge.
Students and educators ask for feedback to the student, when she/he registrate attendance.
(I see that the Autoattend_mod can send a mail to the teacher).

The problem is that students claim to have logged in without being registrated. They would like a message confirming they have been registrated (on screen or by email). A mail or message would push the responsability - for checking everything was registrated nice - to the students.

Could you see this request on the development track of Autoattendance?

• Tue, Dec 8, 2015, 9:22 PM
Hi,
I see. I'll try to implement its function by next version. Please wait a moment.

Thanks.
• Wed, Dec 9, 2015, 5:19 PM
Dear Fumikazu,
Thank you for your reply and good will. I am in doubt if I should have placed this request under the Auto Attendance Block.
We use the Auto Attendance Block in Automatic mode today. But as I have tested the Auto Attendance Mod, we could just as well use this.
• Tue, Dec 15, 2015, 10:27 PM
Currently using 2.4.2 and am unable to backup course grades from this or any other activity when this mod is present in the course.

Has this been fixed in 2.4.4?
• Wed, Dec 16, 2015, 12:12 AM
I do not know much about the programing using backup function, but I will study it.

Thanks.
• Mon, Jan 18, 2016, 8:42 AM
I add backup and e-mail for student functions.

If you want to sned e-mail to student about their attendance, please check "E-mail Notification to Students" at "Options of Auto Attendance module".

Thanks.
• Mon, Feb 22, 2016, 10:17 AM
Hii Mr.Fumikazu Iseki,
I have a problem..I already install auto attendance block and after that i installed the auto attendance_mod..but when i try to running the auto attendance, the error came out "ATTENDANCE HAS BEEN ERROR TAKEN!!!". can you help me to solve this problem. thank you.
• Mon, Feb 22, 2016, 10:56 AM
Hi,
What version of autoattend block and mod ?

autoattend block and mod have not message as "ATTENDANCE HAS BEEN ERROR TAKEN!!!"
• Mon, Feb 22, 2016, 12:23 PM
Hii Mr.Fumikazu Iseki,
Thank you for reply...the version autoattend_mod and block 2.5.0 (2016011500). Thank you. (moodle 2.9)
• Mon, Feb 22, 2016, 12:49 PM
Hi.

"Attendance has been ERROR taken!!!" is error of "update DB" with semi-auto mode.

semiautoattend.php

$result =$DB->update_record('autoattend_students', $rec); if ($result) {
if ($sentemail) autoattend_email_user($att, $user,$status);
//
$loginfo = SEMIAUTO_SUBMIT_LOG.',id='.$att->id.',user='.$stdnt->studentid.',status='.$rec->status.',ip='.$rec->ipaddress;$event = autoattend_get_event($context, 'submit', '',$loginfo);
jbxl_add_to_log($event); redirect($wwwBlock.'/index.php?course='.$course->id.'&class='.$classid, get_string('attendsuccess', 'block_autoattend'), 1);
}
else {
$loginfo = SEMIAUTO_SUBMIT_LOG.',id='.$att->id.',user='.$stdnt->studentid.',DB Error';$event = autoattend_get_event($context, 'submit', '',$loginfo);
jbxl_add_to_log($event); redirect($wwwBlock.'/index.php?course='.$course->id.'&class='.$classid, get_string('attenderror', 'block_autoattend'), 5);
}

Please set Moodle to Debug mode, and send outputed messages to me.

Thanks.

• Mon, Feb 22, 2016, 1:02 PM
And, what DB do you use? MySQL?
• Fri, Apr 15, 2016, 10:47 AM
Hi, I just added auto attend to Moodle 3.03 and I can't restore an old backup I made using Moodle 2.85. The error message I get is

Backup is missing XML file: [tempdir]/backup
/b......../autoattend_794/autoattend.xml

I tried deleting references to autoattend from the mbz file and reuploading, and I tried deleting the auto attend plugin, but nothing has worked. I have several courses from the same period backed up that I haven't tried restoring yet, but I'm guessing they won't work. I will try later.
• Fri, Apr 15, 2016, 10:48 AM
Sorry, any help or advice would be appreciated!
• Fri, Apr 15, 2016, 5:11 PM
When you take a backup, did you use more than autoattendmod v2.5.0 and setup backup mod?
v2.4.x does not support backup function.