AutoEnrol
Maintained by
Roberto Pinna, Mark Ward
Adds functionality to automatically enrol users onto a course, either as they log in to your Moodle site or as they access a course.
This plugin was at first intended for use on courses which you want all users to be able to access but can also be configured for more advanced purposes as reserved access courses.
Using the new user filtering you can think at Autoenrol as a Swiss Army knife for Moodle enrolments.
Comments
Product ratings and reviews are coming to Moodle Marketplace. Until then, existing comments remain available to read, but new posts have been disabled.
I'm sorry but there are only two ways to perform an elaboration in Moodle: with the user action (login or load the course in this case) or with a scheduled task.
Generally run the scheduled task one time by night it's enough to synchronise enrolments.
Why you need to run it every minute?
Roberto
Is it possible to auto-enrol students without the 'Enrol When' option?
When the student has matched the rules set in the User Filtering section (complete a list of courses), they are enrolled into the course. No need to logout and log back in. No need to load the course (which they cant see).
This does work when the 'Synchronise Autoenrol task' scheduled tasks is enabled and set to run every minute. But I'm concerned that this will put extra load on the database.
enrolment process follow the enrolment instances order so need to be move autoenrol before guest access using arrows in course enrolment methods page.
HTH
unfortunately Enrolment Timer block only works with Self Enrolment.
You can try to ask to Enrolment Timer developers to add support to other enrolments method that set enrolment duration.
They should check the user enrolment instance and use the duration set in that instance.
HTH
I'm sorry but at this time profile availability does not support date field, just string fields, so you can't add filter like: hire_date > 1 july 2021
I submitted an issue in Moodle Tracker in order to ask it as a new feature: https://tracker.moodle.org/browse/MDL-72083.
I ma trying to setup an lms and for me, new users would keep adding on randomly, so I need to make the enrollment duration dynamic. so everytime a new user is registered/enrolled he/she should get enrolment for next number of days. I could add dynamic enrolment using autoenrol but, after starting to use "autoenrolment", my other plugin i.e. "enrollment timer" has stopped working! is there any alternative that I can get these both to work without any PHP setting?
Is there any way to implement auto enrol for new/future users only?
We have a course called 'HR requirements' that needs to be completed by new joining users only.
I have tried creating a custom user field called 'Hire date' but I am not able to set filtering like : hire_date > 1 july 2021
Thanks
I committed on GitHub a CLI script to check and enable all instances with new enrolments disabled.
https://github.com/bobopinna/moodle-enrol_autoenrol/blob/master/cli/enable_new_enrolments.php
HTH
Release 2.3 add a new option to enable/disable new enrolments but not define "enabled" as default value for existing instances.
After upgrade all existing autoenrol instances do not permit new enrolments.
Release 2.3.2 try to fix it. It enables new enrolments for all instances modified before 2.3 upgrade.