Auto Attendance Block

Blocks ::: block_autoattend
Maintained by with daughterFumikazu 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).

Screenshots

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

Contributors

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

Comments RSS

Comments

  • with daughter
    Wed, 29 Oct 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.
  • with daughter
    Wed, 29 Oct 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#
  • wecan chen
    Sun, 2 Nov 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.
  • with daughter
    Sun, 2 Nov 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.
  • deepak singh
    Fri, 21 Nov 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.
  • with daughter
    Fri, 21 Nov 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.
  • deepak singh
    Fri, 21 Nov 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.
  • with daughter
    Fri, 21 Nov 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, 15 Dec 2014, 11:18 AM
    Incorrect report. First N grading sum to A
  • with daughter
    Mon, 15 Dec 2014, 11:36 AM
    Sorry, More detail, please.
  • Emilio Arjona
    Tue, 3 Mar 2015, 4:14 PM
    Hello,

    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,
  • with daughter
    Wed, 4 Mar 2015, 3:04 PM
    Hello.

    Thank you for your contribution.
    I'm looking forward to it. smile

    Regards,
  • Emilio Arjona
    Wed, 4 Mar 2015, 5:31 PM
    This is our modified version of the autoattend block

    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.
  • with daughter
    Thu, 5 Mar 2015, 12:00 PM
    Hi Emilio,

    Thank you for your new function.
    I'll release a new version include your code at end of next week. smile

    Thank you very much!!
  • wael tarek
    Wed, 11 Mar 2015, 5:35 AM
    Hi
    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?
Please login to post comments