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.

AutoEnrol 2.4.1

Moodle 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5
Released: Friday, 14 March 2025, 10:59 PM

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[2.4.1] - 2025-03-14

Fixed

  • Fixed a typo - Thanks to Simon Coggins
  • Fix #54 Added Edit enrolment link in participants lisst by [Djarran Cotleanu|https://github.com/djarran]

[2.4.0] - 2024-02-19

Fixed

Changed

  • Update suspended user enrolment status

[2.3.9] - 2022-06-20

Fixed

  • Check for already enrolled users
  • Availability conditions edit values with new edit form in lib.php

[2.3.8] - 2022-06-06

Changed

  • Hidden the "Enrol me in this course" link when user does not satisfy user filter rules
  • Moved instance edit form from two files (edit.php and edit_form.php) to lib.php as in self enrolment method

[2.3.7] - 2022-05-11

Fixed

  • Unwanted autoenrolment using Moodle App course search

[2.3.6] - 2022-03-31

Fixed

  • expirynotify reedit value - Thanks to SYoung3000

[2.3.5] - 2021-11-26

Fixed

  • enrol duration configuration - Thanks to Henrique Cavet

[2.3.4] - 2021-10-13

Added

  • default setting for selfunenrol in new instances
  • user enrolment manual confirmation option by Andrew Hancox

Changed

  • removed the displayed "Auto" prefix from instances with a custom name by Andrew Hancox

Fixed

  • default value for roleid
  • Fix #30 Undefined property: stdClass::$roleid by Leon Stringer

[2.3.3] - 2021-06-30

Added

  • a CLI script to check and enable new enrolments in all instances
  • an admin setting to enable availability plugin used by autoenrol

[2.3.2] - 2021-06-17

Fixed

  • Data validation for welcome message sender #26
  • Default value of customint4 (Allow new enrolments) in old instances

[2.3.1] - 2021-06-10

Added

  • Data validation to editing form

Changed

  • First option in Group by dropdown menu from Choose to a more easy to understand Do not create groups

Fixed

  • Removed double quote in SQL that broke 2.3 upgrade on PostgreSQL

[2.3] - 2021-05-17

Added

  • Enrolment duration.
  • Unenrol inactive after.

Changed

  • Renewed user filtering, now with Moodle standard availability interface.
  • No more available filtering by language and authenticantion method (additional availability plugins needed).

[2.2] - 2021-03-08

Added

  • Command line script and scheduled task for batch auto enrolment.

Fixed

  • Just enrolled courses in Dashboard with auto enrol on login.

[2.1.1] - 2019-11-18

Added

  • Backup and restore support.

[2.1] - 2018-10-19

Added

  • Bulk operations.
  • API Privacy support.
  • Self unenrol.

[2.0] - 2016-12-20

Added

  • Custom profile fields support.
  • Method delete feature.
  • Auto unenrol when profile field changes and it do not match the filter.
  • Group remove/change when profile field change.

Fixed

  • Coding style to pass Moodle code checker tests.

[1.3.1] - 2015-02-20

Added

  • New capability to control whether user can enable or disable instances.

Changed

  • Tweaks to the Readme to improve readability and installation instructions.

[1.3] - 2014-11-30

Added

  • New setting option to control the group cleanup behaviour.

Changed

  • 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!).

[1.2] - 2013-07-01

Added

  • It is now possible to add multiple instances to a single course.
  • An option to give instance a custom label.
  • An option to limit number of enrolments.
  • A permission for users to unenrol themselves if not enrolling during login.

Changed

  • Filtering functions now allow for partial matches.
  • Expanded filtering functions to include email address.
  • 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.

[1.1] - 2013-05-08

Changed

  • Improved instance configuration form compatibility with Moodle 2.5.

[1.0] - 2013-01-23

Added

  • New config option to "Add instance to new courses".

[0.9.1] - 2012-09-27

Fixed

  • Filtering was being bypassed when enrolling on site-login.

[0.9] - 2012-06-13

Added

  • Initial commit

Version information

Version build number
2025031400
Version release name
2.4.1
Can be updated from
2.4.0 (2024021900)
Maturity
Stable version
MD5 Sum
82f34c24a207dd011e54edd7477e02c2
Supported software
Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5
  • 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
  • Latest release for Moodle 3.11
  • Latest release for Moodle 4.0
  • Latest release for Moodle 4.1
  • Latest release for Moodle 4.2
  • Latest release for Moodle 4.3
  • Latest release for Moodle 4.4
  • Latest release for Moodle 4.5

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v2.4.1

Default installation instructions for plugins of the type Enrolment

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myenrol") in the "enrol" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation