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
492 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

Show comments
  • with daughter
    Mon, 19 Sept 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
    Mon, 19 Sept 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
    Mon, 19 Sept 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
    Mon, 19 Sept 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. smile
  • Tedo Vrbanec
    Wed, 12 Oct 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
    Sat, 15 Oct 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
    Thu, 20 Oct 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
    Thu, 30 Nov 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
    Thu, 28 Dec 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
    Tue, 6 Feb 2024, 6:34 PM
    Hi,
    Could anyone update the "Source control URL" to https://github.com/moodle-fumihax/block_autoattend ?
    Thanks.
  • with daughter
    Tue, 6 Feb 2024, 7:24 PM
    Thanks.

    I changed it, too. smile
  • Mosaab Alsiddig
    Thu, 8 Feb 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
    Thu, 8 Feb 2024, 7:01 PM
    The same error here (as @Mosaab Alsiddig).
  • Tohru Hirohku
    Fri, 9 Feb 2024, 4:42 PM
    I came across the same error. ( mod/autoattend also)
  • with daughter
    Sun, 11 Feb 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