Auto Group

General plugins (Local) ::: local_autogroup
Maintained by Mark Ward, Emma Richardson, Arnaud Trouvé
A local plugin which automatically assigns enrolled users on a course into groups dependant upon information within their user profile. (Now with custom profile field support - called User Info Field in settings.) This plugin will create, update, and delete groups automatically to match the users on your course. All behaviour is event-driven and so will occur within page loads. The system can also monitor manual group setting changes and moderate them to ensure that groups are kept neat and tidy.
Latest release:
985 sites
421 downloads
75 fans
Current versions available: 7

A local plugin which automatically assigns enrolled users on a course into groups

dependant upon information within their user profile.

 

This plugin will create, update, and delete groups automatically

to match the users on your course. All behaviour is event-driven

and so will occur within page loads.

 

The system can also monitor manual group setting changes and

moderate them to ensure that groups are kept neat and tidy.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Mark Ward (Lead maintainer)
Emma Richardson: Maintainer
Arnaud Trouvé: Contributor
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Chris Swinney
    Sun, 29 Dec 2019, 9:37 PM
    Hi,

    I have the same request as Denis Saez back on Tue, 23 Jul 2019. I'm looking for a way to create a single group automatically for each user enrolment (where each group contains just one member and could have a naming convention like "{firstname} {last name} (creation_date}". or somesuch). There have been a number of discussions around this subject over the years, but as yet I haven't seen a simple way to achieve this.

    There is an activity plugin called "Grouping" and although this allow the teacher to create groups in this way, it's not automatic at the time of enrolment.
  • Steve Radford
    Tue, 14 Apr 2020, 11:12 PM
    Does anyone know whether this plugin would work in Moodle V3.8? We're currently running in V3.6 and we're planning to upgrade to 3.8 later this week. Unsure if I should uninstall this plugin first to be sure it won't cause any issues.
  • Emma Richardson
    Wed, 15 Apr 2020, 1:27 AM
    I am using it in 3.8 and have not seen any issues so far.
  • Sketch...
    Mon, 22 June 2020, 7:24 PM
    Emma, has this plugin been tested in Moodle 3.9?
    Could you add a note to the plugin page https://moodle.org/plugins/pluginversions.php?plugin=local_autogroup saying what the latest supported versions are and that version 2.4.1 (2019010300) has been tested in Moodle 3.8. And 3.9?
    That versions page shows that the last release was on 4 February 2019. That creates the impression that the plugin is no longer actively maintained.
  • Arnaud Trouvé
    Wed, 24 June 2020, 4:41 AM
    Hi Luis,
    Just done a quick test on a fresh 3.9. It seems OK to me. smile
    I let Emma (current lead maintainer) to do more extensive tests and update plugin details to add 3.8 and 3.9 as supported versions.
  • Emma Richardson
    Wed, 24 June 2020, 7:41 PM
    I will try and get that updated soon.
  • Thomas Robb
    Wed, 8 July 2020, 9:56 AM
    I got these error messages when admin/index.php using Moodle 3.9. Is there a quick fix? I don't mind tweaking the code myself if I know what needs changing.

    Plugin mod_autogroup does not declare valid $plugin->component in its version.php.
    line 315 of /lib/classes/plugin_manager.php: call to debugging()
    line 335 of /lib/classes/plugin_manager.php: call to core_plugin_manager->load_present_plugins()
    line 217 of /lib/classes/plugininfo/base.php: call to core_plugin_manager->get_present_plugins()
    line 143 of /lib/classes/plugininfo/base.php: call to core\plugininfo\base->load_disk_version()
    line 97 of /lib/classes/plugininfo/base.php: call to core\plugininfo\base::make_plugin_instance()
    line 395 of /lib/classes/plugin_manager.php: call to core\plugininfo\base::get_plugins()
    line 355 of /lib/classes/plugin_manager.php: call to core_plugin_manager->get_plugins_of_type()
    line 1118 of /lib/classes/plugin_manager.php: call to core_plugin_manager->get_plugins()
    line 1239 of /admin/renderer.php: call to core_plugin_manager->missing_dependencies()
    line 212 of /admin/renderer.php: call to core_admin_renderer->missing_dependencies()
    line 679 of /admin/index.php: call to core_admin_renderer->upgrade_plugin_check_page()
    Invalid get_string() identifier: 'modulename' or component 'mod_autogroup'. Perhaps you are missing $string['modulename'] = ''; in mod/autogroup/lang/en/autogroup.php?
    line 349 of /lib/classes/string_manager_standard.php: call to debugging()
    line 7103 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
    line 64 of /lib/classes/plugininfo/mod.php: call to get_string()
    line 142 of /lib/classes/plugininfo/base.php: call to core\plugininfo\mod->init_display_name()
    line 97 of /lib/classes/plugininfo/base.php: call to core\plugininfo\base::make_plugin_instance()
    line 395 of /lib/classes/plugin_manager.php: call to core\plugininfo\base::get_plugins()
    line 355 of /lib/classes/plugin_manager.php: call to core_plugin_manager->get_plugins_of_type()
    line 1118 of /lib/classes/plugin_manager.php: call to core_plugin_manager->get_plugins()
    line 1239 of /admin/renderer.php: call to core_plugin_manager->missing_dependencies()
    line 212 of /admin/renderer.php: call to core_admin_renderer->missing_dependencies()
    line 679 of /admin/index.php: call to core_admin_renderer->upgrade_plugin_check_page()
  • Arnaud Trouvé
    Wed, 8 July 2020, 4:27 PM
    Debug message refer to a "mod_autogroup" plugin not "local_autogroup".
    Maybe did you try to install it manually (not by using moodle interface) and put it in mod/ folder. As this is a local plugin you should put it in local/ folder smile
  • Thomas Robb
    Wed, 8 July 2020, 6:21 PM
    Thank you! I'm a very old Moodle user, since Moodle 1.4, and never put a plug-in anywhere except in "mod". Thank you for your help!
  • Thomas Robb
    Mon, 27 July 2020, 10:08 PM
    Would it be possible to add "country" to the possible criteria for auto-grouping? I'm running a MOOC and need to arrange the groups that way. In the past week, I've had to group over 400 users manually!
  • Emma Richardson
    Mon, 27 July 2020, 10:34 PM
    it would be doable but we don't really have anyone with time to work on this right now. If you have someone to develop and put in a pull request I am working on those right now. In the meantime, could you just sync the country field to a custom field and work it that way?
  • Thomas Robb
    Mon, 27 July 2020, 10:47 PM
    Thank you! I'll try that work around. If you do eventually get around to adding more fields, why not simply add all potentially useful fields, not just "country".
  • Stefano Tirati
    Wed, 12 Aug 2020, 4:13 PM
    Dear Emma,
    first of all congratulations, your plugin looks impressive!
    I have a request similar to the one of Ian Fourie dated 14 nov 2019.
    Some of our users need to be part of multiple groups: would it be possible to adopt a delimiter which would allow us to insert the values of multiple groups into 1 custom profile field so that certain users may be added to multiple groups?
  • Emma Richardson
    Fri, 4 Sept 2020, 1:08 AM
    Please post on our github. If there is any chance of you coming up with a fix that we can review, go ahead and do a pull request.
  • Ulrich Eckardt
    Mon, 9 Nov 2020, 4:34 AM
    I love your plugin.

    Here is a feature request, that a lot of perople would help:

    the plugin adds new user to an existing group - that's what it does right now.
    It would be great, if the manager or trainer could tell the plugin for how many days / months that should be done. After the predefined period of time, the plugin creats a new group itself and adds the new user to this group. After the predefined period, a new group will be created and so on.

    That would help a lot of people who have courses which start more than once a year and forget to add a new group and reconfigure the plugin again and again.

    Sorry for my bad English, but I hope you understand what I want to say.

    Thank you so much

    Greetings from Munich, Germany

    Uli
Please login to post comments