General plugins (Local): Auto Group

local_autogroup
Maintained by Picture of Mark Ward Mark Ward, Picture of Emma Richardson Emma Richardson, Picture of Arnaud Trouvé 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.
318 sites
302 downloads
30 fans
250 sites
261 downloads
35 fans

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

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

Comments RSS

Comments

  • Picture of Erin Melvin
    Fri, Mar 16, 2018, 3:40 AM
    Hi Mark and Emma,

    This is a great plugin! I'm currently using it in Totara to auto create groups in courses members of audiences who are enrolled in programs and not directly to courses, which is a common request. Do you have plans to update the plugin for multiple job assignments in Totara (Totara 9 and onwards)? It would be really great to be able to use this with positions!

    Thanks,
    Erin
  • Picture of Emma Richardson
    Fri, Mar 16, 2018, 4:46 AM
    Sorry, don't use Totara. Will try and keep it upgraded for new Moodle releases though.
  • Picture of Robert Schrenk
    Sat, Mar 31, 2018, 5:07 AM
    Hey there, this is a totally useful plugin! What be nice if one could specify a grouping where the created groups should reside!
  • Picture of John Anderson
    Tue, Jul 3, 2018, 2:48 AM
    Hi - I'm just looking to add all learners automatically to a group I choose. I don't really use the profile fields. Could this plugin help do that ?
  • Picture of Rodrigo Brandão
    Fri, Jul 6, 2018, 2:06 AM
    Amazing plugin! This saved a project in my department ... THANK!
  • Picture of Sergio R. B. Junior
    Wed, Aug 22, 2018, 3:19 AM
    I'm trying to use this plugin with custom profile field but doens't work in Moodle 3.5+ (Build: 20180614). If i change for group by institution or other optional field it works. Anyone experiencing the same problem?
  • Picture of Arnaud Trouvé
    Wed, Aug 22, 2018, 2:39 PM
    Just tested on Moodle 3.5.1+ (Build: 20180810) it works correctly.
    Which custom profile field type (Checkox/Dropdown/Text...) do you use ?
    Could you create an issue in the bugtracker (https://github.com/emmarichardson/local_autogroup/issues) please ?
  • Picture of Georg Wiesinger
    Mon, Oct 8, 2018, 3:05 AM
    Good evening,
    I came across this plugin a couple of minutes ago and it's indeed awesome! smile Thanks for sharing such wonderful things!

    Kind regards,
    George
  • Ben Haensel
    Fri, Nov 30, 2018, 2:55 AM
    I noticed that if I have an API event or if I manually change a custom user profile field in the UI, that will update the groups assigned using the auto group plugin. However, if I make a DB change or have a MySQL recurring event that runs a script to make a DB change, the groups are not updated.

    Would you consider setting up a scheduled task to run to check if there were DB changes to the user profile fields that are linked to the auto groups?

    -Ben Haensel, BlueSky Online School, MN
  • Picture of Arnaud Trouvé
    Fri, Nov 30, 2018, 5:34 PM
    Hi, could you create an issue in the bugtracker to discuss about it please? At first sight I'm against such feature which will encourage developer's bad practices by not using API. If you have a script which add or remove users in group directly in DB you should trigger the corresponding event.
  • Picture of Teo Pyl
    Wed, Mar 13, 2019, 3:30 PM
    Hello, I'm using this plugin in a couple of sites that I maintain. I don't have editing teachers so they don't have access to the settings of the courses neither group settings. I have Moodle 3.6.1 installed which includes a feature of group messaging between users in a course. It can be enabled only in the group settings. Can you add this feature in your auto group plugin in the default settings? Right now I need to do it manually for each teacher that wants this feature enabled to his group.
  • Picture of Arnaud Trouvé
    Tue, Mar 19, 2019, 8:59 PM
    Thanks for your feedback Teo
    ! I have created https://github.com/emmarichardson/local_autogroup/issues/15 about it.
    I do not have time to work on it for now but I'd be happy to review pull request if someone implements this feature smile
  • Picture of Rachel Grzymkowski
    Fri, Apr 5, 2019, 9:15 PM
    Are there any settings you must enable to get this plugin to work? I've installed it and adjusted the settings but it doesn't seem to be doing anything. I'm having students enroll in a course to test and it's not creating groups or placing new course enrollments into groups.
  • Picture of Emma Richardson
    Fri, Apr 5, 2019, 9:38 PM
    Have you added it to the course? And set it up there?
  • Picture of Rachel Grzymkowski
    Fri, Apr 5, 2019, 10:53 PM
    Wow. That was a huge miss. Thank you for your quick reply. Is there any setting at this time that will allow a user to only be apart of 1 group even thought they may have profile fields to be apart of two. To ask a different way, is there a feature that will set 1 profile feature higher than another and put the person in the higher group.
Please login to post comments