
Enrolment: AutoEnrol
enrol_autoenrol
Maintained by
Mark Ward,
Roberto Pinna
Adds functionality to automatically enrol users onto a course, either as they log into your Moodle site or as they acess a course. This plugin is primarily intended for use on courses which you want all users to be able to access but can also be configured for more advanced purposes.
2486 sites
978 downloads
108 fans
Current versions available: 2
When added to a course this enrolment plugin can enrol users onto a course automatically, either as they log into your Moodle site or as they click on the course. It is intended for use on site-wide courses such as "Moodle Help" or "Learner Voice".
In addition the plugin has advanced functionality to support autmatically grouping and filtering users based upon their attributes. Depending on how your user accounts are set
up this may help you to give access to certain user groups.
Configuration of the plugin is managed by two permissions which allow administrators to easily control who has access to the plugin.
Useful links
Contributors
Mark Ward (Lead maintainer)
Roberto Pinna: Maintainer
Please login to view contributors details and/or to contact them
the current version could be used on Moodle 3.9.
I hope I could release soon a new version with new features. but now I can't tell you when.
Cheers,
Roberto
Ihave it auto enrolling students to a course as they log in, (and it does so) but they can only see the relevant course (in My Courses on Dashboard) after doing a Shift-Refresh or logging out and back in.
Any ideas how I could have the "My Courses" recognise the enrollment quicker?
I'm using Moodle 3.8, Boost and Auto Enrol 3.8 on Windows 10, Firefox
this problem is not managed from autoenrol plugin but by moodle core that setups user data before finish user enrolments.
Today I worked hard to try to find a workaround to this problem and now I hope I found it.
I've already posted on Github a commit that seems to solve the problem. Please test it and let me know.
HTH,
Roberto
is it possible to enter OR values in the "allow only" field?
I'd like to set up this:
Group by: email
Allow only: @xy.de OR @yz.com
you can't do it in that field.
If you need to permit access with a OR logic you can setup more autoenrol instances with a single rule in each one.
Implement more complex rules is in the roadmap but I don't know when it will be released.
can you explain what doesn't work? What's your expected behaviour?
I installed the plugin in a moodle version 3.9, defined a course and associated with the course the enrollment mode "Auto Enrol", then that of the plugin.
In the plugin configuration, I defined in the "User Filtering" the "Group By" => "Department" and the "Allow Only" field => "3".
In the moodle there is a user where the Department field is = "3", but unfortunately when I do the login with that user, the course is not displayed. Did I forget to configure anything?
Thanks!
if you set the autoenrol on login, the course is not shown at the first login in user Dashboard.
This happens because moodle call autoenrol after the Dashboard setup.
There is no way to change it so user will see new autoenrol course from the second login.
HTH
thanks for the answer, but what you mean with "set the autoenrol on login", because I didn't done any explicitely action for that?
Anyway, even after the second/third...logins, the user don't see the course because it doesn't become enrolled.
Did you have any idea what I can check?
Thanks!
if you did not set autoenrol on login, autoenrol works on course access.
You can set this and other advanced feature clicking on Expand All or Show more... links in autoenrol settings page.
in the autoenrol settings page, I've set the following fields:
Role Student
Enrol When Logging into Site
Always Enrol Yes
and then Filtering:
Group By Department
Allow Only TestDip
Soft Match Yes
Limit 0
It's correctly configured?