Automatic enrolment in groups

Administration tool ::: tool_groupautoenrol
Maintained by OamPascal Maury, Gemma Lesterhuis, Luuk VerhoevenLuuk Verhoeven
Plugin to auto enrol users in Moodle courses groups

Automatic enrolment in groups 3.9.0

Moodle 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 4.0, 4.1
Released: Friday, 21 August 2020, 8:10 PM

Moodle-admin_tool_groupautoenrol

Version 3.9.0 (stable version) for Moodle 3.9.0

Plugin to randomly auto enrol students in Moodle courses groups when they are enrolled into the course (whatever the enrol methods : auto-enrol by key, cohorts sync or manual enrol)

Things to know :

  • The plugin uses \core\event\user_enrolment_created (user_enrolled) Moodle event
  • If a selected group is deleted, the plugin will ignore it.

In this stable version (3.9.0) :

  • GDPR implementation
  • you can choose to enable the plugin in each course
  • you can choose to auto-enrol students in all existing course or specific ones

Compatibility :

  • Tested with Moodle 3.9 en 4.0
  • Another version of the plugin exist and works with Moodle 2.5 and 2.7 (I did not test it with the others versions but should work with all 2.x). It's a local plugin because adding link into "Course administration" menu was not possible for admin tool before Moodle 3.0 You can get it here : https://github.com/pascal-my/moodle-local_groupautoenrol/tree/STABLE

Installation

  • Copy the directory 'groupautoenrol' into the moodledir/admin/tool directory.
  • Connect to moodle as an administrator and install the plugin.
  • Go to a course, create at least one group
  • Enable the plugin for the course with the new link "Course administration > Users > Auto-enrol in groups" Note : this link appears even if the plugin is not enabled for the course

Credits

Version history :

  • 1.1 : stable version not working (bug)
  • 1.1.1 : stable version working as local plugin for Moodle 2.x (see https://github.com/pascal-my/moodle-local_groupautoenrol)
  • 1.1.2 : stable version working as admin tool plugin for Moodle 3.x
  • 3.9.0 : Moodle 3.9 & PHP7.2 version + Moodle 4.0;PHP 7.4 version

Version information

Version build number
2020072300
Version release name
3.9.0
Maturity
Stable version
MD5 Sum
56f5b76c88bd98c41535929c86cb75e3
Supported software
PHP 7.0, PHP 7.1, PHP 7.2, Moodle 3.5, Moodle 3.6, Moodle 3.7, PHP 7.3, PHP 7.4, Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11, PHP 8.0, Moodle 4.0, Moodle 4.1
  • 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
  • The more recent release 4.2.1 (2024040400) exists for Moodle 4.0
  • The more recent release 4.2.1 (2024040400) exists for Moodle 4.1

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
3.9.0

Default installation instructions for plugins of the type Administration tool

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