Moodle plugins directory: AutoEnrol | Moodle.org
AutoEnrol
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.
Best
Tumer
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
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
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
that is the main feature of AutoEnrol.
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?
you need to add and configure autoenrol, like other additional enrolment plugins, in any course you want.
HTH,
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
Best
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
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
you can find the list of enrolled user under Participants.
If you need, you can filter autoenrolled students using enrolment method filter.
HTH,
Roberto