AutoEnrol icon

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.
Price option: Free

Supports Moodle 3.5-4.5 See all versions
Latest release: 1 year ago
Installations: 5814
Downloads (last 90 days): 1534

Frankenstyle name: enrol_autoenrol
Enrolment

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 must be going blind. I just updated the plugin on our development site and now there seems to be no way to indicate enrolment on loading of the course. I'm feeling pretty silly, here.
Hi Neil,
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
Hi 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.
Hi men! After install, I can't see "Auto Enrol" method in the Enrolments page. Can some help me plis?
Hi Kirk,
enrolment process follow the enrolment instances order so need to be move autoenrol before guest access using arrows in course enrolment methods page.
HTH
Hi there. If my course also has guest access enabled as an enrolment method, this seems to stop auto enrol from automatically enrolling the student. Instead the student is presented with a cog icon with the option 'Enrol me on this course'. I have set 'Always Enrol' to 'Yes'. If a course does not have guest access enabled, auto enrol works as usual. Is this by design? Ideally, I would like authenticated users to be auto enrolled on the course, even if guest access is available. Moodle 3.10.3, Auto Enrol 2.2.
Hello Shreya,
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
Hello Himanshu,
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.
Hello All,
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?
Hello Pavel, How it will distinguish between existing and new users. Also we are using openID connect so none of the users have authentication set as email.
Hi Himanshu Saini, have you configured autoenrol with Group by field set to "Authentication" and Allow only field set to "email"?
Hello,
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
For users with many modified instances after 2.3 upgrade.
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
Warning for 2.3 and 2.3.1 users:
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.
Hello, I have reviewed those questions and I feel that I was missing something to do here, I went back to review and now if I think that it is working, I appreciate your contact, somehow you brought the light between so much confusion here. big hug from Brazil