AutoEnrol

Enrolment ::: enrol_autoenrol
Maintained by Mark Ward, RobertoRoberto Pinna
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.
Latest release:
4711 sites
1k downloads
174 fans
Current versions available: 1

When added to a course this enrolment plugin can enrol users onto a course automatically, either as they log in to your Moodle site or as they access to the course.
It was at first intended for use on site-wide courses such as "Moodle Help" or "Learner Voice".
In addition the plugin has advanced functionality to support automatically grouping and filtering users based upon their profile fields. Depending on how your user accounts are setup this may help you to give access to certain user groups.

Configuration of the plugin is managed by two capabilities which allow administrators to easily control who has access to the plugin.

Autoenrol filter use moodle standard availability interface that adds great flexibility in user filtering.
You can filter access to your courses using core availability plugins like date, user profile and sets of them or use additional availability plugins like: badge, other course completion, payments, etc...
The only limit is that the availability plugin rule should evaluate elements available outside courses.

The Moodle availability plugin for user profile fields unfortunately does not include language and authentication. 
If you need them, you can install additional availability plugins like Restriction by language and Restriction by authentication.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4
Screenshot #5
Screenshot #6

Contributors

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

Comments RSS

Comments

  • Roberto
    Tue, 2 Mar 2021, 6:15 PM
    Yes, it also works with Moodle 3.10
  • Chris Baldwin
    Thu, 11 Mar 2021, 4:22 PM
    Hi There
    I want to delete the plug in from a course as it was applied in error and has enrolled learners who didnt need to be on the course and I can disable it but not delete it - we are running Moodle 3.8.4+ (Build: 20200717)
  • Roberto
    Thu, 11 Mar 2021, 5:43 PM
    Hi Chris,
    it's strange that it miss.
    Did you installed a very old version of Autoenrol?
    I added instance delete feature in 2.0 plugin version, about 4 years ago.

    HTH,
    Roberto
  • Chris Baldwin
    Thu, 11 Mar 2021, 6:03 PM
    Hi Roberto
    thanks for the rapid response - we are runnning version 2011101301 (according to my moodle info) I will try updating the plug-in to the current one (enrol_autoenrol_moodle310_2019111800) tonight
    Thanks
    Chris B
  • Sikander Nawaz
    Fri, 19 Mar 2021, 5:31 PM
    i want to allow free enrolments for the users with iodic authentication. i did following

    1- installed Auto Enrol plugin https://moodle.org/plugins/enrol_autoenrol
    2- Enabled Auto Enrol in Enrolments section from dashboard
    3- Default role assignment is set to Student
    4- Now for selected course i added Auto Enrol as enrolment method with following settings
    4.1 Group By : Authentication
    4.2 Allow Only : oidc
    4.3 Soft Match : No
    Limit : 0

    Now after doing this i logged in using 365, in db my enrolment method is oidc but then i am not enrolled in this course.

    Can you please advise me what am i missing
    Thanks
  • Roberto
    Fri, 19 Mar 2021, 6:41 PM
    Hello,
    with standard configuration, enrolment will be placed on course access. If you want to enrol on user login you need to set it in View more.. settings.
    Take note that auto enrol will done on login but the course do not appears in user dashboard because the dashboard content is loaded before the enrolment and I did not find a way to force reloading.
    The user will find the course in dashboard from the second login.

    HTH
  • Ratish Saini
    Sun, 4 Apr 2021, 8:47 AM
    Hi,
    Can grouping be done on the custom user profile field?
  • Roberto
    Tue, 6 Apr 2021, 3:12 PM
    Yes
  • John Anderson
    Thu, 29 Apr 2021, 10:01 PM
    Hi - been using AutoEnrol a while, it's great! Any way to set an end date to the AutoEnrol? A period where AutoEnrol is open ?
  • Roberto
    Fri, 30 Apr 2021, 2:36 PM
    Hi John, you can set start and end date in autoenrol instance settings.
  • Francesco Pepoli
    Mon, 7 June 2021, 10:35 PM
    Moodle 3.11 this problem

    Stack trace:
    line 138 of /enrol/autoenrol/edit.php: Error thrown
    Thank's
  • Roberto
    Tue, 8 June 2021, 3:43 AM
    Sorry Francesco,
    I fixed it and updated 2.3 release.
    Just replace the code in moodle/enrol/autoenrol
  • Francesco Pepoli
    Tue, 8 June 2021, 2:29 PM
    Thanks it works perfectly compliments for the form
  • Pável Montero Fitó
    Wed, 9 June 2021, 6:54 AM
    Hello, I would like to know how I can use the plugin so that the visiting user makes the registration on the site and when he logs in, the course released for him appears, only for users who register through self-registration mode and not manually.

    Thank you so much
  • Roberto
    Thu, 10 June 2021, 3:37 PM
    Hello,
    you can only do it using release 2.2 (https://github.com/bobopinna/moodle-enrol_autoenrol/tree/v2.2).
    Release 2.3 introduced the new filtering interface that use Moodle standard availability UI.
    Unfortunately that do not include language and authentication fields in user profile fields list.
    Developing a new availability plugin is need to add them.

    HTH
Please login to post comments