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:
1003 sites
491 downloads
59 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

Сэтгэгдлийг харуулах
  • with daughter
    Да, 19 9-р сар 2022, 9:05 AM
    Thanks for the bug report.

    That is certainly incorrect.
    I have now fixed the problem.
    To fix it, please uncheck "Use Timeoffset of the Timezone" in the block settings or download a newer version using SVN.

    # svn co http://www.nsl.tuis.ac.jp/svn/php/autoattend/trunk/ autoattend

    Thanks.


    Correct code
    --------------------------------------------------------------
    $TIME_OFFSET = 0;
    if (property_exists($CFG, 'use_timeoffset')) {
    if ($CFG->use_timeoffset) {
    //
    $ver = jbxl_get_moodle_version();
    if ($ver>=2.7) {
    if (is_numeric($CFG->timezone)) {
    $TIME_OFFSET = $CFG->timezone*ONE_HOUR_TIME;
    }
    else {
    $dtz = new DateTimeZone($CFG->timezone);
    $now = new DateTime("now", $dtz);
    $TIME_OFFSET = $dtz->getOffset($now);
    }
    }
    } else {
    if (jbxl_is_admin($USER->id)) {
    if (is_numeric($USER->timezone) && $USER->timezone!=99) {
    $TIME_OFFSET = $USER->timezone*ONE_HOUR_TIME;
    }
    else if (is_numeric($CFG->timezone) && $CFG->timezone!=99) {
    $TIME_OFFSET = $CFG->timezone*ONE_HOUR_TIME;
    }
    }
    }
    }
    }


    Translated with www.DeepL.com/Translator (free version)
  • Tedo Vrbanec
    Да, 19 9-р сар 2022, 5:06 PM
    Thank you very much. I changed it to the new code, and it is not complaining anymore. One more question. At the beginning of the semester, I defined all sessions I would have with students. But after the time switch (winter time /summer time), those session times are wrong, and I have to fix them manually one by one. Will this behaviour continues?
  • with daughter
    Да, 19 9-р сар 2022, 5:47 PM
    Hi,
    Please be more specific.
    Do you mean that when you checked the summer time setting in the attendance module, and attendance block is not reflected?

    Thanks.
  • Tedo Vrbanec
    Да, 19 9-р сар 2022, 8:36 PM
    Thanks. I did not used that summer time setting, as I recall because of some errors. Maybe this timezone error and summer time issue are connected. I will check summer time setting in my next classes and see if it is resolved. инээмсэглэл
  • Tedo Vrbanec
    Лх, 12 10-р сар 2022, 2:33 AM
    Something is yet wrong. Every time I do something (adding sessions or changing settings), I got an error: "Otkrivena je programerska pogreška, mora ju ispraviti programer: The 'name' value must be set in other." The first part is something like "Programming error has been discovered, it must be corrected by a developer". Another issue is incorrect timing (it is closed 2h before it should), but I need more time to investigate this and I will let you know if this is something of not my fault.
  • Tedo Vrbanec
    Бя, 15 10-р сар 2022, 3:19 AM
    About timing for sessions. They are 2h ahead, so by the time session begins, the attendance module marks it as completed. I am in the timezone of +1 (Europe/Vienna). If I want to add a session so it works correctly, I must use +2 offset. I realized that the attendance module is in line with universal time, not the local time of the server.
  • Tedo Vrbanec
    Пү, 20 10-р сар 2022, 5:26 AM
    @Fumikazu Iseki
    After investigating the incorrect time issue, I found that the above code (fix) is still not correct, since if I comment it out, the time which is used by the module is correct again.
  • Paul Urdaneta García
    Пү, 30 11-р сар 2023, 7:58 PM
    Hello, I have noticed that sometimes this plugin does not register student attendance. We have our Moodle courses setup in a way that the students need to access their course in order to join the videoconference to attend class. We have cases where, for instance, 3 students appear as present and 2 as absent. We know for a fact that they all accessed their Moodle course. Otherwise they wouldn't have been able to join the videoconference. My question is: could this be somehow related to the Internet browser they use? (Chrome, Edge, Firefox, Opera, etc.). Thanks.
  • with daughter
    Пү, 28 12-р сар 2023, 2:01 PM
    Hello, please check "Activity report" of each student. It is log of student's activities.
    "User List" -> click user -> top right "Activity report"

  • Hiroto Kagotani
    Мя, 6 2-р сар 2024, 6:34 PM
    Hi,
    Could anyone update the "Source control URL" to https://github.com/moodle-fumihax/block_autoattend ?
    Thanks.
  • with daughter
    Мя, 6 2-р сар 2024, 7:24 PM
    Thanks.

    I changed it, too. инээмсэглэл
  • Mosaab Alsiddig
    Пү, 8 2-р сар 2024, 6:59 PM
    Error when trying to install on 4.2 and 4.3

    Debugging output enabled
    ZIP /Applications/MAMP/data/moodle402/temp/tool_installaddon/65c4b370eafc8/plugin.zip
    Validating block_autoattend ... Error
    [Error] Extracted file not found [{"file":"autoattend\/.git\/objects\/info\/"}]
    Installation aborted due to validation failure
  • Tedo Vrbanec
    Пү, 8 2-р сар 2024, 7:01 PM
    The same error here (as @Mosaab Alsiddig).
  • Tohru Hirohku
    Ба, 9 2-р сар 2024, 4:42 PM
    I came across the same error. ( mod/autoattend also)
  • with daughter
    Ня, 11 2-р сар 2024, 6:19 PM
    sorry.
    I have re-update them now.
    Thanks.
1 2 3 4 5 6 7 8 9 10 11 12
Please login to post comments