Code prechecksHTML | XML
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 automatically 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.
The plugin adds new permissions to help you manage the use of the plugin. The first permission called "config" allows the user to add a new instance of the plugin and change only the most basic options. The second permission is called "method" and gives users the ability to change when the user will be enrolled on a course, and what type of enrolment it will be (ie something other than student). There are further permissions relating to the plugin which should be reviewed through Moodle's "Define Roles" page.
Note: When you set to enrol users on site login, the users will be enrolled at first login but they see the new course in their dashboard from the second login. This can't be fixed because moodle loads the users courses and then calls the enrol hook.
- Added backup and restore support
- Added bulk operations
- Added API Privacy support
- Added self unenrol
- Added custom profile fields support
- Added method delete feature
- Added auto unenrol when profile field changes and it do not match the filter
- Added group remove/change when profile field change
- Fixed code style to pass Moodle code checker tests
- Tweaks to the Readme to improve readability and installation instructions.
- Added new capability to control whether user can enable or disable instances.
- Release for Moodle 2.6, 2.7 and 2.8.
- Groups now identified by group idnumber instead of name (so feel free to rename groups!).
- New setting option to control the group cleanup behaviour.
- New functionality and tweaks:
- It is now possible to add multiple instances to a single course.
- Added an option to give instance a custom label.
- Filtering functions now allow for partial matches.
- Expanded filtering functions to include email address.
- Added an option to limit number of enrolments.
- By default, users are now only enrolled if they aren't already enrolled on a course.
- Individual users can now be manually unenrolled through Users > Enrolled Users.
- Added a permission for users to unenrol themselves if not enrolling during login.
- Minor update. Improved instance configuration form compatibility with Moodle 2.5.
- Stable release. New config option to "Add instance to new courses".
- Bug Fix - Filtering was being bypassed when enrolling on site-login.
- Beta release.
- Copy the plugin directory "autoenrol" into moodle\enrol.
- Check admin notifications to install.
- Visit the "Site Administration > Plugins > Enrolments" page.
- Click the eye symbol next to "Auto Enrol" to enable the plugin.
The module was authored by Mark Ward and is being maintained by Roberto Pinna and Angelo Calò.
The original module developed by Mark Ward can be found on his GitHub.
With thanks to various friends for contributing, especially Matthew Cannings.
Thanks also to users who have taken the time to share feedback and improve the module.
Issue tracker can be found on GitHub. Please try to give as much detail about your problem as possible and I'll do what I can to help.
Released Under the GNU General Public Licence http://www.gnu.org/copyleft/gpl.html
- Version build number
- Version release name
- Can be updated from
- 1.2 (2013070100), 1.3 (2014113000), 2.0 (2017122500), 2.0+ (2018022600), 2.1 (2018101902)
- Stable version
- MD5 Sum
- Supported software
- Moodle 2.6, Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10
- Latest release for Moodle 2.6
- Latest release for Moodle 2.7
- Latest release for Moodle 2.8
- Latest release for Moodle 2.9
- Latest release for Moodle 3.0
- Latest release for Moodle 3.1
- Latest release for Moodle 3.2
- Latest release for Moodle 3.3
- Latest release for Moodle 3.4
- Latest release for Moodle 3.5
- Latest release for Moodle 3.6
- Latest release for Moodle 3.7
- Latest release for Moodle 3.8
- Latest release for Moodle 3.9
- Latest release for Moodle 3.10
Version control information
- Version control system (VCS)
- VCS repository URL
- VCS tag
Default installation instructions for plugins of the type Enrolment
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "myenrol") in the "enrol" subdirectory.
- Visit http://yoursite.com/admin to finish the installation