## 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.
16k
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).

new: 5 Dec. 2014
I released new support module (homeroom module).
homeroom module displays students's attendances of all the courses.
http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/Moodle/homeroom-1.2.1.zip
http://www.nsl.tuis.ac.jp/xoops/modules/xpwiki/?mod_homeroom

### Sets

This plugin is part of set Auto attendance.

### Contributors

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

### Comments

Show comments
• Sat, May 31, 2014, 12:06 AM
取りあえず，急ぎで idnumber を表示するようにしましたが，正式リリースに関してはもう少し直したい所が出てきたので，しばらく後になります．
急ぎの場合は subversion のリポジトリを使用してみてください．

http://www.nsl.tuis.ac.jp/svn/php/autoattend/trunk/
• Sat, May 31, 2014, 12:11 AM
↑ I am sorry for Japanese text.

Please use https://translate.google.com/ ..sorry..
• Mon, Sep 22, 2014, 2:52 AM
how I can configure groups, I don"t find the option of groups
• Mon, Sep 22, 2014, 8:43 AM
• Tue, Oct 28, 2014, 11:45 PM
Hello M. Fumikazu. We are using autoattend bloc successfully for 2 months now. But the automatic mode is not working anymore since the time change (here in France we are using UTC+2 in summer, UTC+1 in winter).
I changed the time zone of moodle to UTC+1 and the time zone in php.ini to Europe/Paris and now it looks like it is ok.
But there is still 2 problems:
- the session of today remains unstarted (red icon), when it should be opened (yellow icon)
- yesterday session remains opened (yellow icon) when it should be closed (green icon)
Is it a bug or am i doing something wrong? (printscreen available)
Note: I did not activate the use_timeoffset flag as it modifies the actual dates by a few days...
• Wed, Oct 29, 2014, 9:18 AM
Hi,

The phenomenon may happen.
However, it is a bug, if a state does not change even if you click "Refresh" Button.
If it is a bug, please tell me version of Moodle and autoattend, and more informations (ex. How long time of un-change of a state. Is it 1h or 24h? When you did what, did the state change to normal? ).

Moodle is a Web application. So, it does not work, unless someone accesses.
And, in autoattend, a state does not change only by seeing "Sessions".
When changing a state by seeing "Sessions", excessive load is applied to Moodle system.
For such a reason, you need to click "Refresh" Button.

On the other way, there is a method of calling admin/cron.php frequently by cron.
admin/cron.php calls Refresh function of autoattend.
I am executing admin/cron.php every 10 minutes.

Thanks.
• Wed, Oct 29, 2014, 9:22 AM
my cron setting is here

[root@sun-light etc]:505# crontab -l
0,10,20,30,40,50 * * * * /usr/bin/wget -q -O /dev/null http://localhost/moodle/admin/cron.php
5,15,25,35,45,55 * * * * /usr/bin/wget -q -O /dev/null http://localhost/mahara/lib/cron.php
[root@sun-light etc]:506#
• Sun, Nov 2, 2014, 12:50 AM
Hi, everyone, I have a issue in the version of mod_autoattendmod_moodle27_2014061301. At the file of mod/autoattendmod/lib.php, I think the correct statement ought to the "if ($ret) return false;" at the line 63, which is after the "$ret = $DB->get_record('block_instances', array('blockname'=>'autoattend', 'parentcontextid'=>$context->id));".
Before I got the "!" from the "(!\$ret)", this module didn't work.
• Sun, Nov 2, 2014, 7:17 AM
Hi,
At the autoattend plugin, a block is main and a module is auxiliary.
So, you need to instance block first.
A module is second. Don't instance a module ahead of a block.
• Fri, Nov 21, 2014, 12:13 PM
Hi,
Please tell me how to remove all other options except P and A (L, E, N) from the update attendance list.
• Fri, Nov 21, 2014, 12:52 PM
Hi,

> all other options

A setting of Block is
Site administration -> plugins -> Blocks -> Auto Attendance Block

If you want to clear settings for course, you need to clear individually.
• Fri, Nov 21, 2014, 2:35 PM
Sorry, I am not able to find it. Can you please explain. I want to mark only present and absent. Also I want to remove method , class and remarks from the display list.
• Fri, Nov 21, 2014, 4:51 PM
Hi,

>> I want to mark only present and absent.

If you set "Late Time" to 0 at "Change Session", "L" is never marked.
If you do not want to watch "N", please change mark in "Grade Settings" tab.
If you do not want to watch "-", too, you must change html source code in blocks/autoattend/html

>> Also I want to remove method , class and remarks from the display list.

Sorry, you must change html source code in blocks/autoattend/html
• Mon, Dec 15, 2014, 11:18 AM
Incorrect report. First N grading sum to A
• Mon, Dec 15, 2014, 11:36 AM
Sorry, More detail, please.
Please login to post comments