re-enrolment

re-enrolment

by Tracy Hodges -
Number of replies: 8
We have a course that we would like users to do annually.

Currently, if users are unenrolled from a course and then re-enrolled, their original scores are reinstated. Does anyone know if there is a way around this please?
Average of ratings: -
In reply to Tracy Hodges

Re: re-enrolment

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

The Course Recompletion plugin does this kind of thing, e.g. erases learners' completion data after a period

Average of ratings: Useful (3)
In reply to Leon Stringer

Re: re-enrolment

by Tracy Hodges -
Thank you Leon. We will have a look at this plugin.

Are there any no course settings in Moodle to remove the scores when learners are unenrolled, or remove scores after a period of time?
In reply to Tracy Hodges

Re: re-enrolment

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

I've encountered people who run their own SQL statements to do this or have custom plugins to do the same thing.

But as far as I know that plugin is the usual way to do this. Hopefully someone will correct me if I'm wrong.

In reply to Leon Stringer

Re: re-enrolment

by Randy Thornton -
I agree with Leon, that plugin is the best way to do it.

To do this with SQL will take a huge amount of work because course data is kept in a lot of places, and some of it persists (by design) after unenrolment from a course, such as the Course completion and Grade history tables, to name only two. Dan Marsden has already figured all that out for us, for which we own him thanks with this plugin.
In reply to Randy Thornton

Re: re-enrolment

by Tracy Hodges -
Thank you Randy.

My colleague tried to install the plugin on a test server for me last night, but got the following error message.  He is going to try again tonight for me.  


I believe that he may have take a copy of our live site, which is running Moodle version 3.10.4 (build 20210510) and I note that the latest versions of Moodle available are:

  • Moodle 3.11.3+ (Build: 20211013) Version 2021051703.06 (Stable version)
  • Moodle 3.10.7+ (Build: 20211013) Version 2020110907.06 (Stable version)

Does this mean that he needs to upgrade to Moodle version 3.11.3+ before he tries to add the plugin?


In reply to Tracy Hodges

Re: re-enrolment

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

On the Versions page for that plugin there are different versions for the Moodle versions it supports:

Screenshot of download page showing plugin versions: 2021100100 Moodle 311; 2021092000 Moodle 3.9, 3.10

The message:

[Error] Required Moodle version [2021051700]

means that the plugin version you're trying to install requires Moodle 3.11.

If you have Moodle 3.10, download plugin version 2021092000.

In reply to Leon Stringer

Re: re-enrolment

by Tracy Hodges -
Great, thanks. That's what I thought. I have passed the info to my colleague.