General plugins (Local): Auto Group

local_autogroup
Maintained by Picture of Mark WardMark Ward, Picture of Emma RichardsonEmma 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.
269 sites
213 downloads
35 fans
Moodle 3.1, 3.2, 3.3, 3.4, 3.5, 3.6

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

Show comments
  • 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.
  • Picture of Geoffrey Brewster
    Wed, Jun 12, 2019, 11:30 PM
    Hello,

    Thank you for contributing this plugin; it has proven useful for some of our clients in both Moodle and Totara. One thing we noticed is that when an auto group is edited, the Group by field always defaults to the custom profile field that was created first. The expected behavior is that the Group by setting would default to the profile field that is being used by that group. IF the user is not paying much attention, they could actually change the profile field without realizing. Let me know if you need any additional clarification.

    Again, thank you for maintaining this plugin.

    Geoff Brewster
  • Picture of Emma Richardson
    Thu, Jun 13, 2019, 2:45 AM
    Please add it as an issue to the github...
1 2 3
Please login to post comments