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): 1538

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.

Hi, I'm so sorry to ask this, can't find instructions in the documentation. I've installed and enabled teh plugin. How do I actually "add" it to a "course"? Can't find how to do that anywhere.
Hello Richard,
the easy answer is no, AutoEnrol can't do it self.
You can use AutoEnrol but you need to install an additional availability plugin to filter users in a cohort.
Restriction by cohort (https://moodle.org/plugins/availability_cohort) could be the availability plugin that does it.
I never test it so you need you try if all things work as you want.
You need to install the availability plugin, enable it, go to the AutoEnrol admin page and add the new availability plugin to the list of selected plugins in Enabled availability plugins field.
Now you can add AutoEnrol method in your course and a user filter rule based on Restriction by cohort.
HTH,
Roberto
Does this plugin use cohort anywhere? I'm looking for a plugin that enrolls users from a specific cohort and sends them a welcome message. Can this plugin do something like that?
Hi Alex,
self unenrolment is already available in AutoEnrol instance settings (take a look at the third plugin screenshot here).
You can't enable it only if AutoEnrol is done on user login.
This is because even if we let the user unenrol him/herself he/she will be reenrolled at next login.
HTH,
Roberto
Hi Roberto.
We have installed the plugin and we are working with it, but the need has arisen for users to be able to unsubscribe from courses themselves, as is the case with moodle self-registration. We haven't found that feature, is it available? Will it be in the future?
Best regards!
Hi Mark,
country field group by option never was included in AutoEnrol plugin.
The main reason was that Moodle store Country in database field with two letters international standard. This is great for database and useful for translations but could be not easy to manage for humans.
If added, group names will use the two letters stored in DB and couldn't be translated.
HTH,
Roberto
Hi,
When setting the Group By, it doesn't seem possible to Group By profile field > country? Am I missing something?
Thanks,
Mark
Hi MJ,
please check your moodle version number under Site administration -> General -> Notification. Moodle 4.0.1 has 2022041901.
Autoenrol 2.3.9 works on Moodle 3.5 (2018051700) and above.
HTH,
Roberto
Hi guys! I need help. I have downloaded your plugin, and tried to install on Moodle 4.01...but it won't install, and it says that I need to "upgrade" the database to Moodle 2018051700? Isn't this "downgrading"? Thanks!
Thanks Roberto, I will guide them to do so. Thanks for the great plugin
Many thanks - I had missed that! Getting auto filter now!
Hello Wafaa,
the guest access stop any other enrolment plugin.
I did not found a valid solution for this problem. Probably a Moodle core patch is needed.
As a workaround users still enrol themself using the Enrol me to this course link in Administration block or gear menu option.
Hello Brian,
the new autoenrol filtering system uses Moodle availability plugins.
The Moodle standard availability plugin for profile fields do not filter on authentication so you need an additional plugin to filter on mdl_user.auth field.
Please check the note for 2.3 in autoenrol description above in this page.
HTH,
Roberto
In earlier versions, autoenrol allowed filtering by the mdl_user.auth field, but that doesn't seem to work on 2.3.3. We are on Moodle 3.9 currently. Was this removed deliberately or can we upgrade the plugin and get a fix? Many thanks
Hello, Thanks for this great plugin. I found an issue that when I enable guest access to course, auto enroll does not work even if it is required when the students tries to access quiz. it does not auto enroll him. even with (Always Enrol) set to "yes" any clues for that