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:
967 sites
429 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

  • Dave P
    Wed, 14 Jul 2021, 3:07 PM
    I'm using moodle 3.11 and no groups are being created or pruned. I have Self enrolment with the Auto enrolment plugin set for login.

    In my course I have Group mode on > Separate Groups. Force group mode > Yes. Default grouping > None

    Am I missing something?
  • Emma Richardson
    Wed, 14 Jul 2021, 7:13 PM
    Have you set up the plugin? None of the settings you have mentioned are for the plugin - you have to set up the plugin under Course Settings/Users/Autogroup
  • Dave P
    Thu, 15 Jul 2021, 6:57 AM
    Thanks Emma - that was the one thing I missed. Working now
  • Baljé Weber
    Thu, 22 Jul 2021, 3:43 PM
    Moodle 3.3.9 (Build: 20181112) as part of Totara,

    I guess this is a common request but i haven't been able to find it. Would it be possible to create groups based on registerd Seminar (Face-2-Face plugin) sessions?

    Where should i start if i would like to build a custom set of rules?

    Thanks for any info.
  • Keenan Nunes-Vaz
    Thu, 4 Nov 2021, 1:54 PM
    This plugin works exactly how I thought/hoped it would, and has the potential to dramatically reduce our admin workload. Really impressed by, and grateful for, what you've put together here.
  • Emma Richardson
    Thu, 4 Nov 2021, 7:21 PM
    Thank you - I am glad that you find it useful. It has definitely saved me a huge amount of time.
  • Emma Richardson
    Tue, 7 Dec 2021, 9:29 PM
    It depends on how you set the settings. If you check the box to listen for profile changes, it will add/remove the group depending on what is happening in the profile.
  • Simon Young
    Tue, 14 Dec 2021, 8:18 PM
    Hi Emma

    We're seeing a case where changing the user profile isn't updating the group on the course. It worked once, going from no group to a named group, but won't work again when we update the profile field further. The profile listener is enabled.

    Anything you can suggest to look for in troubleshooting would be very useful.

    Can you also advise if the plugin will ever be updated to support MWP?
  • Emma Richardson
    Tue, 14 Dec 2021, 8:42 PM
    Please report any issues on github. I actually have no idea what MWP is - can you elaborate?
  • Paul Ritchings
    Wed, 5 Jan 2022, 8:16 PM
    I am blocked from accessing GitHub by the college firewall.

    When I try to create an auto group using the Custom Profile Field then on the next page the 'group by' drop down list is empty.

    Also is there a way to alter the columns used if Profile Field is chosen?

  • Emma Richardson
    Wed, 5 Jan 2022, 8:40 PM
    Do you have custom profile fields created? It would take a code change to add more fields...
  • Paul Ritchings
    Wed, 5 Jan 2022, 9:42 PM
    Thank you Emma,

    How do I create custom profile fields?
  • Paul Ritchings
    Wed, 5 Jan 2022, 10:48 PM
    we have many students who need to be on several moodle courses. Indeed some college courses are mapped to several moodle courses and vice versa. This is done via the External Database enrolment plugin.

    since the custom profile fields are related to the user not the course this is of limited use.

    I did create (on the staging site) a new profile field "mainCourseGroup" (not all students have a 'main course' but it might have been useful for some).

    I tried to upload users with this field added but Moodle , not surprisingly, rejects it: 'mainCourseGroup is not a valid field name'.

    I don't see a use for this for us at the moment.

    What I (and I suspect many, many others) would really like is for course teaching groups to be integrated into the External Database enrolment plugin.

  • Emma Richardson
    Wed, 5 Jan 2022, 10:58 PM
    At this point, the forums would probably be more help but if you are using the csv upload, there is a special way that you have to name the column for it to pull in. If you have the field created, you can upload data to it. We use this plugin with LDAP, whatever field we map from there works to automatically group them in their courses. It does work, I think you are just not mapping correctly
Please login to post comments