Enrolment: AutoEnrol

enrol_autoenrol
Maintained by Picture of Mark WardMark Ward, RobertoRoberto 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.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Picture of Mark Ward
Mark Ward (Lead maintainer)
Roberto
Roberto Pinna: Maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Chad Henderson
    Wed, Aug 5, 2020, 7:47 PM
    Thank you Roberto. I am able to get the AutoEnrol to work (avoid user action to enroll) when a user finds and opens a course, but not when logging in (regardless of the enrollment method settings or number of times logging in). I must be doing something wrong. But either way, such a great plugin and appreciate all of your work... but it's really not getting the user far enough down the road as they land in the LMS for the first time. I want the user to arrive on their initial screen (immediately after email registration) with the "enrolled courses" as tiles as the first thing they see. Thanks again for you support.
  • Picture of Israel Pelayo
    Mon, Aug 17, 2020, 1:49 AM
    Mark and Roberto, thank you very much for this excellent plugin. It would be great if they could add the option to enroll a user when a new user is created, this in relation to the "Enrol When" function. At the same time, I consider that adding the possibility of combining several filters (in the "User Filtering" section) as conditions would make this plugin a very complete module. Thank you for your excellent work.
  • Picture of Madel Castro
    Thu, Sep 17, 2020, 5:19 AM
    Hi Roberto, when do you plan on releasing a new version for v3.9?
  • Roberto
    Thu, Sep 17, 2020, 7:35 PM
    Hi,
    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
  • Picture of James Chinnery
    Mon, Oct 12, 2020, 5:11 PM
    Thank you for your very helpful plugin!
    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
  • Roberto
    Tue, Oct 13, 2020, 11:17 PM
    Hello James,
    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
  • Picture of Natalie .
    Fri, Dec 4, 2020, 7:26 PM
    Hi,
    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
  • Roberto
    Fri, Dec 4, 2020, 11:04 PM
    Hi Natalie,
    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.
  • Picture of Paul Beckwith
    Tue, Dec 8, 2020, 4:51 AM
    Tried using this in 3.9, it works on a single activity format however causes the activity to launch straight away. When changes to any other course format doesn't work.
  • Roberto
    Wed, Dec 9, 2020, 6:04 PM
    Hello Paul,
    can you explain what doesn't work? What's your expected behaviour?
  • Picture of Bruno Piu
    Thu, Jan 21, 2021, 11:29 PM
    Hello Mark and Roberto,
    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!
  • Roberto
    Fri, Jan 22, 2021, 6:01 PM
    Hello Bruno,
    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
  • Picture of Bruno Piu
    Fri, Jan 22, 2021, 8:31 PM
    Hello Roberto,
    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!
  • Roberto
    Fri, Jan 22, 2021, 8:54 PM
    Hello Bruno,
    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.
  • Picture of Bruno Piu
    Fri, Jan 22, 2021, 9:49 PM
    Hello Roberto,
    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?
1 2 3 4 5 6 7 8 9 10 11
Please login to post comments