Unsuspending students in courses in bulk

Unsuspending students in courses in bulk

by Fiona MacAlister -
Number of replies: 2
Our 2.5.3 Moodle installation is currently integrated with an external academic management system which updates student enrolments. A script was recently run on the academic management system which, for various reasons, cancelled second semester enrollments in certain courses for a large group of students throughout a number of faculties. This resulted in the students being suspended in those courses on Moodle. Their accounts were not suspended, just their enrollment in the affected courses.

We are currently unsuspending students manually in each course. This is a mammoth task. Is there any way of unsuspending these students in these courses in bulk using the user upload plugin?
Average of ratings: -
In reply to Fiona MacAlister

Re: Unsuspending students in courses in bulk

by James Henestofel -

Fiona,

The upload users utility does have the ability to Unsuspend users but only if you are using 2.6 or later.  See https://docs.moodle.org/26/en/Upload_users

You may be able to look at the changes here https://github.com/rajeshtaneja/moodle/commit/6afe875edd5a26a4a883583d4bced2a4a3cf37d5#diff-0717d612ef220391a755aa779e13ec15 that were done and replicate them so that you could get it to work for your 2.5.3 instance.

In reply to James Henestofel

Re: Unsuspending students in courses in bulk

by Fiona MacAlister -
Thanks very much for the info, James. It looks promising. I will ask our developer to take a look.