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

  • Aathithya A
    Tue, 15 Mar 2022, 6:41 PM
    Hi Roberto,

    Plugin is working fine without any issue. I would like know ,how to give the restriction set as an array' ?(for eg : multiple idnumber by comma separator ) I tried using comma separation in restriction field ..it is not taking it. Kindly let me know the correct way of doing it.
    Appreciate your help.
  • Roberto
    Wed, 16 Mar 2022, 4:18 PM
    Hi Aathithya A,
    AutoEnrol filters are provided by availability restriction plugins installed in you moodle.
    The core user profile availability restriction plugin admit only one value per instance.
    If you need to filter several idnumbers you need to add more user profile restriction instances and put them in OR.
    Additional availability plugins (https://moodle.org/plugins/?q=type:availability) could be installed/developed in order to add more filtering functionality. I do not know if someone developed an availability plugin that implement a way to put a list of idnumber.

    HTH,
    Roberto
  • Heloisa Danchura
    Fri, 18 Mar 2022, 1:07 AM
    Hello Roberto Pinna!
    I and Henrique Cavet work togheter. I will bring again a doubt about what is happening.

    "Hi Henrique,
    it depend by how you configure autoenrol and your moodle site. Autoenrol, if configured with enrol at login, will enrol each confirmed user to the course when they successfully login to your site."

    We configured the registration to start when there is a login on the site, but after 1 day of the autoenrol configuration, all users with the configured conditions, regardless of whether they entered the platform, were automatically enrolled.
    Could you help us as to why this is happening?

    Thanks, Heloisa
  • Roberto
    Fri, 18 Mar 2022, 7:04 PM
    Hello Heloisa,
    probably you have activated the sync_enrolment task in Server->Scheduled task.
    Please leave it disabled, it's available only for particular cases.

    HTH,
    Roberto
  • Pedro Garcia
    Fri, 1 Apr 2022, 5:52 PM
    can we have a list of all placeholders for the emailing in this plugin please? I need the "course id" and I tried all of those possibilities with no result:
    {courseid}
    {$a->courseid}
    %$a->courseid%
  • Roberto
    Fri, 1 Apr 2022, 7:13 PM
    Hi Pedro,
    you can't use "course id".
    Admitted placeholder are:
    {$a->coursename}
    {$a->link}
    {$a->fullname}
    {$a->profileurl}
    {$a->email}

    HTH,
    Roberto
  • Nurzhan Sagyndyk
    Mon, 25 Apr 2022, 10:53 AM
    I didn't understand fully,
    Can someone help me, please?

    I need a plugin with such functionality: let's imagine situation when user(that didn't registered to moodle) payed for some course, after filled the main form where user filled email. We have to save this user to our database and send to this email random password, and enroll this user to course.

    That's what we want, can this plugin help us?
    If not, can someone give an advice for some other plugins?

    Thanks)
  • Roberto
    Thu, 28 Apr 2022, 2:57 PM
    Hello,
    I'm sorry you can't do what you need with autoenrol.

    Roberto
  • damiano Roma
    Mon, 2 May 2022, 8:54 PM
    Hi, it is possible to send an automatic welcome email to the course?

    Thanks
  • Roberto
    Tue, 3 May 2022, 3:08 PM
    Hi Damiano,
    yes, you can configure a welcome message in autoenrol instance settings.

    Roberto
  • wafaa hamdy
    Thu, 19 May 2022, 3:42 PM
    hi would you please tell me how to use this plugin to restrict students enrollments based on quiz result, as when I added restriction based on quiz grade students could not access quiz as they are not enrolled in course
  • Roberto
    Thu, 19 May 2022, 4:00 PM
    Hi,
    I'm sorry but you can't add a restriction based on activity in autoenrol.
    You need to use something that you can check at category level for example a user profile fields or a course completion.
    If you define the course completion based on quiz grade then you can enrol users in another course using the first course completion.

    HTH,
    Roberto
  • Balthazar Tropp
    Thu, 19 May 2022, 8:18 PM
    Hello Roberto, first of all, congratulation, and thank you so much for this plugin, which is a step forward to the Lean moodle we want here.
    However, we achieved to set the "enroll on login"option, but we can not the "enroll on loading the course" option work. Maybe we do not have the proper moodle version (using 3.10.2+).
    Did you already have such bug ?
    Balthazar
  • Troupe Jeudi soir
    Thu, 19 May 2022, 9:13 PM
    Hello Roberto, here is Balthazar again. Don't know why but my previous account was considered as spam.
    Update about the situation : there seems to be a conflict between auto-enroll and guest enroll. Whenever i deactivate the guest access, the "enroll on loading course" works again. Is there no way to have thel boith working simultaneously ?
    THanks in advance,
    B. Tropp.
  • Roberto
    Thu, 19 May 2022, 11:50 PM
    Hello Balthazar,
    if guest access is enabled in your course it let to access users without enrol in it. This is how guest access works.
    The regular users can click the "Enrol me in this course" link in Administration block or in Moodle 4 secondary navigation to enrol in it with Autoenrol.
    If you set a password into guest access settings, guests must type this password to access the course and regular users are autoenrolled without any action.
    You can choose the way you prefer.

    HTH,
    Roberto
Please login to post comments