Moodle plugins directory: Auto Attendance Block | Moodle.org
Auto Attendance Block
Blocks ::: block_autoattend
Maintained by Fumikazu Iseki
Part of set Auto attendance.
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.
Latest release:
983 sites
512 downloads
58 fans
Current versions available: 1
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).
Useful links
Contributors
Fumikazu Iseki (Lead maintainer)
Please login to view contributors details and/or to contact them
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.
[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#
Before I got the "!" from the "(!$ret)", this module didn't work.
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.
Please tell me how to remove all other options except P and A (L, E, N) from the update attendance list.
> 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.
>> 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
we have developed a new functionality in your block using our local installation. We have added a button in class settings tab to transform the groups defined in a grouping in attendance classes and assign all students of the course accordingly. After the "classification" is done, you can modify all setting using the basic functionality of the block.
Maybe if you think this is a good idea you can include in your block.
We are cleaning the code, we will post a link to the source soon.
Regards,
Thank you for your contribution.
I'm looking forward to it.
Regards,
http://www.tic-learning.com/public_files/downloads/autoattend.zip
We have changed the following files:
/block/autoattend/class_settings.php <-- added "groupingtoclass" action
/block/autoattend/html/class_settings.html <-- added a new dropdown list
/block/autoattend/lib.php <--- function "autoattend_select_grouping" to fill the dropdown list in class_settings
Some language strings added with the new options.
i hope you find it useful.
Thank you for your new function.
I'll release a new version include your code at end of next week.
Thank you very much!!
We just added the auto attendance block. However, we found out the auto attendance block time is inaccurate by 2hrs.
That occurs when the user is admin or teacher. We could not fix this problem.
any help?