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 の投稿
返信数: 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


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

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 ウインク

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.
Debbie Kay への返信

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

- G. M. の投稿
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 笑顔


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.