General plugins (Local): Course recompletion

Maintained by Picture of Dan Marsden Dan Marsden, Picture of Catalyst IT Catalyst IT
This plugin adds course level settings for recompletion - clearing all course and activity completion for a user based on the duration set notifying the student they need to return to the course and recomplete it.
34 sites
13 fans

This plugin adds course level settings for recompletion - clearing all course and activity completion for a user based on the duration set notifying the student they need to return to the course and recomplete it.

This plugin could be used to facilitate annual re-certification.

This plugin deletes existing course completion and activity completion data based on the schedule set by the teacher including the ability to delete Quiz and SCORM attempts within the course. You can also choose to retain the quiz and SCORM attempts within archive tables within the recompletion plugin (You will have to write your own reports to view this archived data though - no reports are currently included in this plugin.)

For more information on the current issues with this plugin please see the issues tracker:


Screenshot #0


Picture of Dan Marsden
Dan Marsden (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Dan Marsden
    Thu, 24 Aug 2017, 5:49 PM
    Hi guys,

    would be handy for a review if anyone has time but this should probably go into the incubating area of the plugins db as it's really just a proof of concept I knocked together quickly as a way of potentially handling re-certification/repeating courses in Moodle.
  • Picture of Plugins bot
    Thu, 24 Aug 2017, 5:50 PM
    Approval issue created: CONTRIB-7024
  • Proper Bo, am tellin thee!
    Sat, 26 Aug 2017, 6:43 AM
    This would be amazing if it keeps the history of each recompletion - for the needs of compliance and audit purposes

  • Picture of Dan Marsden
    Sat, 26 Aug 2017, 8:54 AM
    Thanks John, this initial version doesn't do any archiving of existing completion data and has a number of potential issues. Check out the issues tracker in github for details.

    Feel free to help us work on this by contributing patches or if you might have someone willing to fund my time to improve it further please get in touch!
  • Proper Bo, am tellin thee!
    Tue, 29 Aug 2017, 1:48 AM
    I guess it depends on your road map really - as this is a useful function I guess many people would want.

    I don't code, or I'd love to have helped - willing to test and do other things to help.
  • Picture of Gordon Mills
    Sun, 14 Jan 2018, 6:09 AM
    Great idea for use with First aid courses, Manual handling ect, anything that has an expiry date, defiantly need to retrieve archived information though for audit purposed.
  • Picture of Dan Marsden
    Tue, 16 Jan 2018, 6:26 AM
    Thanks Gordon - feel free to help us work on this plugin - funding and pull requests always welcome.
    FYI - I've just quickly added an archive function to the latest version - no reporting features included but the data can be retrieved using the various sql reporting tools that are currently available.
  • Picture of Mariann Abosné Lazányi
    Fri, 2 Mar 2018, 4:56 PM
    Hi Dan,

    This could be a great plugin for my purposes. I've tried it and the e-mail comes nicely about having to repeat the course.

    My question would be about archiving. Does the plugin save the earlier completion data in a new table, or somewhere in an existing table for all completion data? I would really need to retrieve it, but would be great to know from which table I have to write the selection for a report.

    Thanks for your work!
  • Picture of Dan Marsden
    Mon, 5 Mar 2018, 4:42 AM
    @Mariann - the existing version takes a copy of the data from course_completion_crit_compl and course_modules_completion and stores it within new tables attached to the local_recompletion plugin. You can see the structure and names of the tables in the code here:

    Adam has been working on some improvements to this plugin and has filed a pull request that adds some further archiving of data but I haven't been able to review it properly quite yet - hopefully I'll get to that within the next couple of weeks.
  • Picture of Parthiv dave
    Wed, 4 Jul 2018, 3:06 PM
    Does it also delete user's SCORM/Quiz attempts to reset completion data or it doesn't impact them?
  • Picture of Dan Marsden
    Wed, 4 Jul 2018, 5:55 PM
    Yes it deletes the attempts but can store them in archive tables added by the plugin to allow for future reporting/auditing - what I'd like to do though is keep the attempts where possible and give the student the ability to have an extra attempt where supported by the plugin like assignment and quiz.
Please login to post comments