Badge expiry notifications

Badge expiry notifications

by Edward Bolton -
Number of replies: 6


Back in 2015 Casey Tyler asked about how to get notifications to users when their badges expire to prompt them to retake the course.  I am now looking into exactly the same thing a Casey was. i want to issue badges for completed CPD ( health and safety training etc...) and then remind them to complete it again every two years 

Randy Thornton suggested to look at the Reengagment plugin: https://moodle.org/plugins/mod_reengagement

But for this you can only notify on course completion and i want to notify on activity completion as as far as i am aware you cannot un-complete a course so this would only work once.  I also wanted to place all the e-learning packages on one course to make them easier to find.

Does anyone have any suggestions, has this progressed further since 2015? 

here is Casey original post

Hello All,

I love Moodle and I do love the badge function. However, our training department does training that need to be repeated every 2 years. 

For example the CPR and First Aid class is held every week of the year. Students are required to take this course every 2 years. I thought the best solution was to award a badge that expires after two years. It works great but there is no functionality to send out periodic emails when the badge gets close to expiring. Is there a way to do this? If i had to develop this myself where would be the best place to start?


Average of ratings: Useful (2)
In reply to Edward Bolton

Re: Badge expiry notifications

by Shirley Gregorczyk -
Picture of Particularly helpful Moodlers

You could see if the Course recomplete plug-in meets your needs.

In reply to Shirley Gregorczyk

Re: Badge expiry notifications

by Edward Bolton -

Hi Shirley,


i will look into it but i still want the notification based on badges expiring, Almost all the CPD activities award badges on the completion of a single activity. It seem silly to create a new course for just one activity.  Our HR department want all the CPD in one place so they can direct new staff to one place and complete all the different CPD within the first 6 months of their employment.  I also have the problem that some staff will have different mandatory training depending on their job role so it would be problematic setting course completion. 

In reply to Edward Bolton

Re: Badge expiry notifications

by Raymond Barrett -

Have you found any solution for this?  I also need this functionality.


In reply to Raymond Barrett

Re: Badge expiry notifications

by Edward Bolton -

Hi Raymond, 


no none so far.  i am currently looking into SQL queries that will give me a list of all the users who have been issued the badges and their expiry dates.  This will give a list to an administrator but the notifications would be a manual process.  I have also done some further testing on the process of issuing badges as part of CPD


I ran a test whereby I created a e-learning package representing some mandatory training. At the point of completion this issues a badge that expires after a period of time (5 Minutes) and access to the re-accreditation quiz then became available. The student test account can then do the re-accreditation .

Results

  • The same badge cannot be issued twice even if it has expired (expiry is not reset)
  • Issued badges, even if expired, are perpetual
  • The initial e-learning is still available but re completing this does not reissue a badge.
  • I cannot see a logical process that would look at badge expiry to issue subsequent badges
  • Resetting activity completion (don't know how to do this) on the original activity would probably (best scenario) revoke the original badge and there would be no record of them completing it in the first place(worst scenario it breaks the system) is there anyway of testing this?
  • re-accreditation quiz can be setup to issue a new badge on completion. this would need a slightly different title (Data Protection 2 year refresher)
  • However, from the points above we would need a new quiz (and badge) for each refresher (2 year, 4year, 6year....)
  • We would then need to restrict access to the quiz once it has been completed or ideally make it disappear so that only the relevant re-accreditation quiz is available.

Average of ratings: Useful (1)
In reply to Edward Bolton

Re: Badge expiry notifications

by Toni Sutoni -

Nobody has responded ...  I also need answers to the questions above. or Maybe this can be input for development for the next version.

recommended scenario for developer :
Create triger: if badges are expired, then the completion course and quiz are reset again so that course material and quiz can be accessed again.

What about history badges, quizzes and course completion materials?
There may need to be additional tables, it is needed to move transaction data to history data.

Best Regards,

Toni