Blocks: Enrolment Timer

Maintained by Picture of Learning Works Learning Works, Picture of Aaron Leggett Aaron Leggett, Jeremy self portrait Jeremy FitzPatrick
Block to show the user their remaining time enrolled in a course with live countdown and lots of settings to customise the display of this timer.
286 sites
28 fans

A block to show students the time remaining in their enrolment period including a live JavaScript countdown. Many settings have been included to customise the way the counter is displayed; in text, with numbers, customisable units and so on. This block was also developed as a base so it is easy to incorporate your theme overrides.

Emailing functionality is also included, You can enable students be notified by email that their enrolment is expiring in a set amount of days (Default 10). Email notifications can also be enabled to congratulate a student on passing the course. This email is sent after the student receives a required grade in the course_total grade.

Developed by LearningWorks Ltd


Screenshot #0
Screenshot #1
Screenshot #2


Picture of Learning Works
Learning Works (Lead maintainer)
Jeremy self portrait
Jeremy FitzPatrick
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Kris KIm
    Wed, 23 Mar 2016, 1:16 AM
    after updating the figures are not highlighted in a different color. there was an inscription at the top string (6) "2091 2" string (19) "03.22.2016 11:09:30"
  • Picture of Usman Asar
    Wed, 23 Mar 2016, 2:18 AM
    Guys, just tested on Moodle 3.0.3+ with both PHP 7 and 5.6 and OpCache enabled and disabled in both cases, showing this error on top of theme

    string(3) "3 7" string(19) "2016-03-22 06:15:54"

  • Picture of Usman Asar
    Wed, 23 Mar 2016, 2:19 AM
    Sorry just managed to see Kris's comment just above mine, so just double that, figures doesnt show on block (highlighting with mouse reveals). but then same string message on top of theme (tested 3 different themes and same message across)
  • Picture of Andrew Walding
    Fri, 25 Mar 2016, 6:08 AM
    Great news...the new version for Moodle 3 works on our school!! BUT...there is always a 'but'...need an option to set the text/background color of the timer block. Will keep testing....
  • Picture of Kris KIm
    Sat, 2 Apr 2016, 1:45 AM
    When you correct a mistake?
  • Picture of Learning Works
    Fri, 8 Apr 2016, 6:50 AM
    Thank you Kris and Usman for the feedback. A new version is now available.
  • Picture of Usman Asar
    Fri, 8 Apr 2016, 11:38 AM
    Thanks Guys for update, it did manage to get rid of the error message, but still the digits aren't visible, purged caches, checked settings, changes three different themes, and finally removed plug-in all together to re-install again just to see if I am doing anything wrong, and yet they remain invisible until highlighted with mouse drag.
  • Picture of Marcus Wynwood
    Fri, 8 Apr 2016, 12:33 PM
    I fixed the bug in version 2016031700 by commenting out the two VAR_DUMP lines in the "locallib.php" file.
    That gets rid of the output at the top of the page.
    Then I edited the "style.css" file to add a background-colour to the numbers.
    I hope that helps people, until an update is released.
  • Picture of Andrew Walding
    Thu, 21 Apr 2016, 6:43 PM
    Really need to have the color issue fixed...time keeps ticking by....
  • Picture of Josiah Carberry
    Sun, 29 May 2016, 8:14 PM
    Using ver 3.0.0 2016031700 of enrollment timer on a moodle 3.1 platform (but the issue was also noted for moodle 3.0).
    When a participant clicks on a link to open a course, the page that is opened contains the following extraneous text, located in the page immediately after the line starting with "

    I note that the time at the end of that string is the current time displayed as if it were in am/pm format. In other words, when the local time is 14:10:09, then 02:10:09 is displayed, as in the example above, but without any the "pm".

    When the plugin is disabled, or when a user with admin rights is connected, that string is not displayed. I further note that the problem occurs with a variety of different themes.
  • Just me
    Fri, 8 Jul 2016, 2:45 PM
    Hi all.

    Can anyone please tell me if using this plugin creates a Java dependency on the end users browser? If so, are there any particular Java / JRE versions it needs?


    Alan W.
  • Picture of Cleiton Luiz de Sá
    Mon, 1 Aug 2016, 8:53 PM
    Uso a versão 3.0, e instalei esse plugin, mas não aparece o contador e, não aparece no curso.
  • Picture of Ziyad Muslat
    Fri, 14 Oct 2016, 2:09 AM
    I would like to change the font color for the timer numerals. In my installation they have white color, but I want the to be in black or at least have the squares around them showing in dark color as in the images above. How do I do that. I'm using moodle 3.1
  • Picture of Josiah Carberry
    Tue, 18 Apr 2017, 2:02 PM
    I have enabled email to students reminding them that enrollment is coming to an end. Admins are also getting an email every single day reminding them of this fact. Can this be reconfigured so as to get only one email, at the value of "Days to alert on" before the end of the enrollment period?
  • Picture of Learning Works
    Thu, 20 Apr 2017, 11:58 AM
    Hi Josiah,

    We have changed the logic so that the plugin will email anyone with an enrollment end date where the end date minus days to alert occurs between the current date and the next cron run. This means a user should only be mailed once per course.
    Regards, Mathew.
1 2 3 4
Please login to post comments