How to stop Accounts unused for more than 365 days being automatically unenrolled (1.9.4)

How to stop Accounts unused for more than 365 days being automatically unenrolled (1.9.4)

Debbie Kay發表於
Number of replies: 7

Is there a way to stop students who do not access for 365 days from being un enrolled in 1.9.4?

I cannot find an option to change this, so am not sure it is possible?

Many thanks


評比平均分數: -
In reply to Debbie Kay

Re: How to stop Accounts unused for more than 365 days being automatically unenrolled (1.9.4)

Usman Asar發表於
Plugin developers的相片 Testers的相片
Debbie, I wonder why are you still on 1.9 version, as all new plug-ins are coming out for 2.4+, with that said there is a plug-in for removing users (so called user cleanup) who haven't logged in for mentioned number of days, I am assuming that in older versions of Moodle you have to do this manually. or you can as well ask the developer of the plug-in if that plug-in may will work for older versions.

The plug-in I mentioned is located at https://moodle.org/plugins/view.php?plugin=tool_inactive_user_cleanup

In reply to Usman Asar

Re: How to stop Accounts unused for more than 365 days being automatically unenrolled (1.9.4)

G. M.發表於

I think Debbie needs just the opposite 眨眼

In reply to G. M.

Re: How to stop Accounts unused for more than 365 days being automatically unenrolled (1.9.4)

Usman Asar發表於
Plugin developers的相片 Testers的相片
微笑 I had thought the same thing first, then again, who would keep course open for one whole year, but site wide enrollments makes sense.
In reply to Usman Asar

Re: How to stop Accounts unused for more than 365 days being automatically unenrolled (1.9.4)

G. M.發表於

Longer than a year? I also wondered about it.

In reply to Debbie Kay

Re: How to stop Accounts unused for more than 365 days being automatically unenrolled (1.9.4)

G. M.發表於
In reply to G. M.

Re: SOLVED How to stop Accounts unused for more than 365 days being automatically unenrolled (1.9.4)

Debbie Kay發表於

Thanks Guillermo and everyone for your replies and help 微笑

To answer curiosity as to why we would want to have the function.... we give students access to an extra support area once passed as part of an ongoing membership. 

We did not want those who choose not to access, not to be automatically removed.

The solution was simple:

Site Administration > Server > Cleanup > Unsubscribe users from courses after > Never.

The regular course enrolment duration still works, this change will just stop those who do not use the extra support area from being unenrolled automatically.

Solved  - thanks again 微笑


In reply to Debbie Kay

Re: How to stop Accounts unused for more than 365 days being automatically unenrolled (1.9.4)

Debbie Kay發表於

OOPS apologies to anyone who tried my posted solution, it does not work in as much as it appears to over ride individual course enrolment duration so no one is ever unenrolled 傷心

Strange, as the setting in clean up was '365' days previously, yet students on courses with a shorter enrolment than that set in course settings worked as hoped. i.e. were unenrolled after the number of days in course settings.

But having changed the setting in clean up to 'never' - it appears to over ride course settings so although expiry date shows correctly in the course - the student is not unenrolled?

I have now tried the 1000 day setting in the hope that will NOT over ride the individual course enrolment duration settings, so am hoping tomorrow it will work as wanted.