General plugins (Local): Auto Group
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.
627 sites
241 downloads
49 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.
Useful links
Contributors
Mark Ward (Lead maintainer)
Emma Richardson: Maintainer
Arnaud Trouvé: Contributor
Please login to view contributors details and/or to contact them
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?
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
I let Emma (current lead maintainer) to do more extensive tests and update plugin details to add 3.10 as supported versions.
Not sure if I've got a bug or if it is poorly configured, but we''ve been seeing groups created manually in a course lose members - they are added manually, and the next day they are no longer in the group they were added to.
I thought Auto Group didn't touch manual groups, only the groups it created?
The plugin was disabled last night, but the 'leakage' of members out of the manually created groups still happened. I'm hoping this is just a simple misconfiguration, but right now I've removed the plugin as it is the only thing I added before this was taking place.
Curious as to why it might have happened even when disabled - and of course it could be something completely unrelated to Auto Group... but it has never happened in any other Moodle we have running - only in the one with Auto Group.
Any ideas?
The logs show nothing, unfortunately. Does autogroup log its activity or changes it makes?
When I disabled the plugin the effect still happened. When I removed the plugin yesterday and checked today, the groups are still intact. I understand the disabled plugin should not have affected anything, but I am wondering if there is a Cron process using those settings which is not disabled?
To summarise, autogroup config that I was using appears to have removed users from groups that autogroup didn't create, and those users were manually added to the groups. Disabling autogroup in the site admin didn't change the effect, but removing the plugin seems to have stabilised the groups today. I am reasonably sure it may have been a config issue, but there is a possibility of a Cron job actively updating group members. Either way, the only way I could see to prevent it was to remove the plugin.
Apologies for posting this on the plugin page - is there a discussion area where this should go?
However, all of our teachers teach more than one group and I can´t see a way to have them belong to multiple groups based on the content of a single profile field. Even if I manually add the teachers to several groups after reload they are later removed from those groups by the plugin. Is there any way around this?