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

  • tumer altas
    Thu, 9 Dec 2021, 7:33 PM
    To make it more clear, in the administration setting of Autoenrol, there is the option of "Enrolment expiry action"; I had set it to "unenrol the user"; but, it doesn't work since the "end date" is not successfully set by the plugin. I tried manual enrolments and other plugins, and unenrol works fine at expiration. So, I believe there must be a piece of code or adjustment missing, and you will easily find and fix it. I really need to use the plugin with an end date and I will really appreciate if you could find the solution.
    Best
    Tumer
  • Jessica Kellerman
    Fri, 10 Dec 2021, 12:38 PM
    Hi. This plugin has been wonderful to streamline user experience as we launch our new site, to give learners trial access to content straight away. Not that we want to start charging users for access we have hit a snag. Even though an enrolment duration is set, users can still access courses even after enrolment expires. I first tried setting what happens when enrolment expires to deactivate enrolment, then when that didn't work, to unenrol users (created another new user to test from scratch). Am I missing something?

    To test in our sandbox environment, I set duration on the auto enrol plugin to 1 minute for each course. It is set to auto enrol on login. I created a new user, logged in, got access. Waited 1 minute, started reading and saw cron runs every 10 minutes, checked again after 10 minutes. The user still has access to all the courses.

    What set of settings do I need so users gain access when they first log in, but after a set number of days (or time to test), they should not be auto enrolled again.

    Your help would be greatly appreciated.

    Thanks
    Jessica
  • Roberto
    Fri, 10 Dec 2021, 4:36 PM
    Hi Jessica,
    did you use the last release 2.3.5 (2021112600)? I'm sorry but enrolment duration did not work on previous releases.
    Did you set duration before enrol the user?
    The enrolment duration is set for any single user during the enrolment procedure. If you set or change the durantion after user enrolments this does not affect already enrolled users.
    If you need to change already enrolled user duration you need to do it by selecting all users in your course and then "Alter enrolment end time" using the dropdown menu "Edit selected user enrolments" for autoenrol.

    HTH,
    Roberto
  • Jessica Kellerman
    Fri, 10 Dec 2021, 4:58 PM
    Hi Roberto
    Thank you so much for your quick reply.
    Just checked and we don't have 2.3.5, site is prompting upgrade to that version. I'll request the installation. This is a really useful addition - thank you!
    Really great info about the change in duration only affecting new users - that is perfect. We'll manage that one as needed.

    Kind regards
    Jessica
  • Alex Vanden Bosch
    Fri, 17 Dec 2021, 8:24 PM
    Can you use this to enrol students and then automatically put them into a group?
  • Roberto
    Mon, 20 Dec 2021, 3:53 PM
    Yes Alex,
    that is the main feature of AutoEnrol.
  • Samir Mane
    Wed, 2 Feb 2022, 10:22 AM
    Hi

    Pretty new to Moodle and installed this plugin, but hopefully can someone can guide me. I've created courses for Learners but have noticed sometimes Learners are not automatically enrolled while others are.

    Is there something I should be activating in the settings for the course?
  • Roberto
    Thu, 3 Feb 2022, 8:50 PM
    Hi Samir,
    you need to add and configure autoenrol, like other additional enrolment plugins, in any course you want.

    HTH,
    Roberto
  • Vania Salgadinho
    Sat, 5 Feb 2022, 5:39 PM
    Hi Roberto,

    I am new to Moodle and to WordPress, but I am exploring the possibility of "integrating" Moodle with a WooCommerce shop, that will be part of a WordPress multi-site network. My goal is to sell my Moodle courses on WooCommerce and then provide some kind of auto-enrollment option into moodle. Does this plugin allow users to auto-enroll into a Moodle course after purchasing it from WooCoomerce?

    I am sorry if there is an obvious answer to my question, but I am completely in the dark here when it comes to WooCommerce/Moodle "integration". So, if you have any idea if this functionality would be possible using this plugin, I would also appreciate it if you could provide me with some insights on how this process would work in practice just to have an idea.

    Thanks in advance!
    Best,
    Vânia
  • tumer altas
    Mon, 7 Feb 2022, 7:19 PM
    Hi Roberto, hope you are well. Did you have a chance for an update for the issue I stated before? The plugin just sets the enrolment duration forever even if I set expiration time or Enrolment duration.
    Best
    Tumer
  • Roberto
    Mon, 7 Feb 2022, 10:36 PM
    Hi Tumer,
    i'm sorry what you want still in new features list.
    You can only set the enrolment duration as for self enrolment plugin.
    The enrolment end date as implemented in manual enrolment need to be developed for autoenrol plugin.

    Keep in touch,
    Roberto
  • Roberto
    Mon, 7 Feb 2022, 10:53 PM
    Hi Vania,
    I'm sorry but autoenrol cannot do what you need.
    As far as I understand, you need a Moodle payment gateway plugin that somehow works with WooCommerce.
    I'm not familiar with WordPress and WooCommerce, so I can't help you with your problem.

    Best,
    Roberto
  • Henrique Cavet
    Thu, 10 Feb 2022, 10:49 PM
    Hello. I made some adjustments to my platform and asked her to register my users in the courses in question, as soon as they logged into moodle. At first it worked correctly, however, I downloaded a report of the last export and all users are being registered in the course the next day I registered them (platform), without the need for the user to log in. Did I do something wrong?!
  • P H
    Fri, 11 Feb 2022, 7:13 PM
    Hello and thanks for your plugin. I have a question. Where can I view the list of the students auto-enrolled in a course?
  • Roberto
    Fri, 11 Feb 2022, 7:56 PM
    Hello,
    you can find the list of enrolled user under Participants.
    If you need, you can filter autoenrolled students using enrolment method filter.

    HTH,
    Roberto
Please login to post comments