Blocks: Attendance

Maintained by Picture of Dan MarsdenDan Marsden, Picture of Catalyst ITCatalyst IT
This block works with the attendance module, it provides teachers with quick access to Attendance functionality, and provides students quick access to a summary report for their own attendance.
2729 sites
58 fans
Moodle 3.4, 3.5, 3.6, 3.7, 3.8

The Attendance activity allows teachers to maintain a record of attendance, replacing or supplementing a paper-based attendance register.

This block provides quick links to features such as reporting, taking of attendance and adding new sessions.


This plugin is part of set Attendance.


Screenshot #0


Picture of Dan Marsden
Dan Marsden (Lead maintainer)
Artem Andreev: Previous maintainer/developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of bobby demers
    Wed, Feb 1, 2017, 12:55 AM
    Upgraded our Moodle to 3.2.1 and all of a sudden everyone (teachers and students) are receiving multiple notifications every day about the attendance needing to be taken. I had to put out a message to show everyone how to turn off notifications.
    It also appears to be showing up in the Upcoming Events block on students pages and the notifications appear to be have been added to the Moodle Calendar (according to the 2 I just got in my inbox)

    I was informed today that the students attendance across 4 separate courses (which was showing up fine previously in the Attendance Block) all now say 0/0 and 0%...

    Anyone else having this problem?
    Are the 2 issues/bugs related?

  • Picture of Dan Marsden
    Wed, Feb 1, 2017, 3:32 AM
    I presume you have updated to the latest attendance plugin at the same time? - I haven't heard from anyone else with those specific issues - we do now add the attendance info to the calendar (like other standard modules) but that shouldn't have resulted in all the notifications. Feel free to create a new issue for each in the github tracker but please provide a lot more information in the tracker issues. Thanks.
  • Picture of bobby demers
    Tue, Feb 7, 2017, 7:34 PM
    Hi Dan.
    Thanks for the response. Yes, I am using the latest version of the plugin smile

    Is there a way to remove the link between the attendance block and the calendar? Our Moodle version is 3.2.1 (Build: 20170109).
    I've just installed the latest Attendance block update today so we'll see if that makes any difference as well.

  • Picture of Dan Marsden
    Wed, Feb 8, 2017, 4:19 AM
    the attendance block does not link to the calendar at all. The latest attendance module (mod_attendance) does but there is no way to remove that link. I don't believe other modules in Moodle provide this functionality either. It might be a nice "core Moodle" feature to hide calendar events from a specific module but I can't see us adding that as a feature on it's own just to the attendance module at this stage.
  • Picture of bobby demers
    Tue, Feb 14, 2017, 8:09 PM
    Ok. Thanks Dan.

    On another note, this was sent to me by office admin staff in relation to the Attendance:
    "Following on from our conversation yesterday, I was just wondering how possible it would be to have a percentage from total sessions from each individual group. At the moment the attendance is worked out over all sessions taken, either for that week, month or year.
    For example:
    If you go to the Report tab or export it all into excel, you can see the taken sessions, total sessions and percentage for all classes (See below). Is there any way for us to extract the data from just the chosen group?
    So in the screenshot below I have chosen the group ‘Ballet – Chisato Ohno – F1 – Term 2.’
    When you go to the summary page it says that there have been a total of 245 sessions, when actually there should only be about 18 sessions for that group. It would be great if we could see how many sessions of that group each student has been present in (so how many ballet sessions out of the 18 sessions they have been present/absent in)."

    Unfortunately I can't attach the screenshot she sent due to the forum limitations here... But I think you can get the gist of what they are asking. Is this possible?


  • Picture of Dan Marsden
    Wed, Feb 15, 2017, 3:58 AM
    anything is possible with funding or development time smile - I'm happy to accept both funding to develop new features or pull requests from external developers. smile
  • Picture of Alan Brown
    Wed, Mar 22, 2017, 8:31 AM
    I'm also one who would like the option of NOT having attendance displayed in the calendar. With multiple classes and therefore sessions, the calendar becomes very cluttered for students - and therefore difficult for them to quickly see assignment due dates etc. Is there a code edit I could make to disable the link?
  • Picture of Dan Marsden
    Wed, Mar 22, 2017, 8:54 AM
    sure - personally I think this should be a feature within Moodle core - allowing us to hide events from particular modules, I'm not sure if there is an existing tracker issue for that but there is a lot of work going on at the moment which is adding even more events into the calendar - see: (make sure you login to the tracker when viewing that as the linked bugs only show when logged in)
  • Picture of Zeid Fanous
    Sun, Dec 17, 2017, 2:35 PM
    Hi, Would it be possible to search for a users by name ... i have a lot of users who take submit attendance weekly... I know there is the export option, but would it be possible to search for a user? thanks smile
  • Picture of Dan Marsden
    Mon, Dec 18, 2017, 4:17 AM
    @Zeid - That's not something that is currently supported. I would like to improve the reports to allow better filtering/searching at some point though. Pull requests or funding are always welcome.
  • cb userpic w harvey
    Fri, Jan 19, 2018, 10:44 AM
    For some reason Attendance did not show in Calendar over the last five months, but it does now. Is there a way to remove it? It does clutter the calendar and since we've disabled student ability to take their own attendance, it's not relevant to them. Please advise, thanks. smile
  • Picture of Dan Marsden
    Fri, Jan 19, 2018, 10:57 AM
    Clay - try looking at the admin settings and you might find something relevant: admin > activities > attendance
  • Picture of Kelvin Osondu
    Fri, Jul 27, 2018, 8:24 PM

    There's quite too much information for the students on the attendance block.

    Is it possible tor filter the stats? If not, is it possible to segregate them. My client doesn't want students to be confused with too many numbers.

  • Picture of Dan Marsden
    Fri, Jul 27, 2018, 8:43 PM
    @Kelvin I would be happy to help your client with this - feel free to get in touch privately and I can provide information on our rates.
  • Picture of Barbara Taylor
    Tue, Aug 27, 2019, 10:07 AM
    Hi Dan. We are running Moodle 3.6.5 and are getting this error. Do you know how we can resolve this?

    Problem Log:
    !!! Exception - Call to undefined function file_rewrite_pluginfile_urls() !!!
    PHP Fatal error: Uncaught coding_exception: Coding error detected, it must be fixed by a programmer: A lock was created but not released at:
    Exception Non-zero exitcode: 1 running task \mod_attendance\task\auto_mark, continuing running other processes
    !!! Exception - Call to undefined function file_rewrite_pluginfile_urls() !!!
    PHP Fatal error: Uncaught coding_exception: Coding error detected, it must be fixed by a programmer: A lock was created but not released at:
    Exception Non-zero exitcode: 1 running task cron.php, continuing running other processes


1 2 3
Please login to post comments