Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moodle-admin_tool_groupautoenrol

Version 4.5.0 (stable version) for Moodle 4.5

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)

June 4th 2025 announcement

This Moodle addon is no longer maintained by LTNC and is up for adoption: https://moodle.org/mod/forum/discuss.php?d=468305#p1879996. If you cannot find a developer to maintain it for you, send an email to sales@ltnc.nl for information on our LTNC Moodle Addon Maintenance program.

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 (4.5.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 4.5 and PHP 8.1
  • 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

From Moodle 3.9 onwards this plugin will be maintained by Gemma Lesterhuis, Lesterhuis Training & Consultancy - https://ltnc.nl/ Donations for continuous support are welcome.

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 | Moodle 4.1 & PHP 8.0 version
  • 4.2.0 : Moodle 4.2 & PHP 8.0 version
  • 4.2.1 : Fix (#2) Increase size of groupslist col #2
  • 4.2.0 : Moodle 4.2 & PHP 8.1 version
  • 4.3.0 : Moodle
  • 4.4.0 : Moodle
  • 4.5.0 : Moodle 4.5 & PHP 8.1 version

About

This Moodle addon is no longer maintained by LTNC and is up for adoption: https://moodle.org/mod/forum/discuss.php?d=468305#p1879996. If you cannot find a developer to maintain it for you, send an email to sales@ltnc.nl for information on our LTNC Moodle Addon Maintenance program.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages