
Blocks: Enrolment Timer
Enrolment Timer Block
This block provides the functionality to display the remaining time a user has in their enrolment period - including a live JavaScript countdown timer. There are many settings to choose from to customise the way this is displayed to the user; in text, with numbers, customisable units and so on.
Emailing functionality is also included, You can enable a setting for students to be notified by email when 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.
The plugin has been developed with limited styling to enable the best possible base for theme overrides to align the design with your existing Moodle theme.
Developed by LearningWorks Ltd
Any update to Moodle 3.4?
Ricardo
Any update for Moodle 3.5 or with privacy api intregated?
Deependra
We are still investigating how to best implement the privacy API within the block, until that time there will not be an release for 3.5.
We appreciate your understanding.
Mathew
Your plugin is great. However, is there a way to make it work with the course end date?
There are no current plans to include that functionality yet. We are however currently implementing the privacy api so it is 3.5+ compliant. We are open to pull requests for functionality if you wish to see it in the block.
Mathew
~Jamie
The plugin have been updated to support Moode 3.5+ versions - including the Privacy API.
Thank you for your support.
Thanks,
Zander
Please ensure you’re logged in as a student to see the timer appear.
There’s also a plugin setting that determine if anything is shown when there is no end time set which may affect it - it’s called ”Hide block (No End Date Set)”.
Hope that helps!
Thanks,
Zander
I wonder if there is a way to connect the timer to different activities within a course?
Thank you
Adib
I wonder whether this plugin could fit our purpose : we would like to make sure that our participants spend at least 3 hours on their course otherwise their CPD fees might not be paid for by their sponsors. The idea would be to have a visual indication of the time one has spent on their course, while giving these people the opportunity to spend more time on the course if they wish to do so.
Thanks for helping,
Best,
Yannick
// ****** 1 Year from today *****
$time_end = strtotime("+1 year");
But instead of showing the enrolment remaining time as 12 months from today, timer calculated 12 months and 24 hours. it means it adds 1 extra day.
if I subtract 24*60*60 (1 day) from the calculated enrolment end time, anticipating that timer will show enrolment remaining as exactly 12 months, Timer starts showing the remaining time left as 12 months 5 days.
if I convert $time_end with php date() function to test the date value, it shows the correct date exactly 12 months from today.
Is it code problem or I am doing something wrong. Any help is appreciated.