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
319 downloads
76 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

Show comments
  • Emma Richardson
    Sat, Aug 26, 2023, 7:43 PM
    I have not tested on 4.2 yet but will work on that.
  • Ezzeddin Hamed
    Sat, Aug 26, 2023, 8:28 PM
    Hi Emma,

    Thanks for your quick reply. After my previous message, I tried it on earlier versions of Moodle 4.0 & 4.1.5, but it did not apply groups automatically. It had to go from the course itself and add the gouping. I also tried PHP version 7.4 & 8.1.

    Any ideas?

    Thanks,
  • Emma Richardson
    Sat, Aug 26, 2023, 8:42 PM
    I have just tested with cohort enrollment and have no issue. Are you adding autogroup before or after the upload? If you create the groups, it then works as expected?
  • Ezzeddin Hamed
    Sat, Aug 26, 2023, 9:34 PM
    Do you mean to add groups manually to each course?
  • Emma Richardson
    Sat, Aug 26, 2023, 9:52 PM
    You said that the only way it works is if you add groups manually to each course - did you mean that you if you create the groups the students are then added automatically? Or that the plugin is not working at all? Have you selected both options on the plugin settings page? And you selected the specific custom profile field?
  • Ezzeddin Hamed
    Sat, Aug 26, 2023, 11:11 PM
    Yes, if I create the group in a course, the students are added, while if it is only in the settings of the plugin, then they are not added and no groups are created.

    In the plugin settings, I am using a custom profile field. In the course group to make it work, I select it manually.
  • Emma Richardson
    Sun, Aug 27, 2023, 12:01 AM
    Can you send me screenshots of your autogroup plugin settings and the course autogroup settings - I think you must have something set wrong somewhere. Or post a video of what exactly you are doing...
  • Ezzeddin Hamed
    Sun, Aug 27, 2023, 12:43 AM
    I noticed that new courses have the autogroup added exactly as needed.

    Screenshots as follows:
    Plugin setting:

    Existing course settings:

    New course settings:

    Thanks,
  • Ezzeddin Hamed
    Sun, Aug 27, 2023, 12:45 AM
    Sorry, it seems that I cannot include links.
  • Emma Richardson
    Sun, Aug 27, 2023, 12:46 AM
    Well you haven't added it to the existing course - setting it at the site will only affect new courses. You have to set it up on existing courses.
  • Ezzeddin Hamed
    Sun, Aug 27, 2023, 12:48 AM
    Cannot it affect existing courses in anyway? Actually the existing courses are more important as we have 132 course now.
  • Ezzeddin Hamed
    Sun, Aug 27, 2023, 4:07 PM
    Thanks again Emma, this is really a wonderful plugin, I wished that it would be all automated. To overcome this, I managed to insert data in the database and it worked fine for me on the existing courses.

    Thanks again,
  • Pascal Tielkens
    Mon, Oct 23, 2023, 3:37 PM
    Hi, Thanks for this wonderful plugin. The clients i consult all lean towards individual learning paths also within courses. Is it possible to add username to the "group by" filter? This will create unique groups per user. In that way we can autogroup individuals as well as teams (student, mentor). Keeping all information nice and seperated with seperated group function.
  • Emma Richardson
    Thu, Oct 26, 2023, 2:39 AM
    Sounds like a good feature. I am currently reliant on finding people with the skills to code this. If you have that capability, please put in a pull request on github and i will review and merge.
  • elmeser elmeser
    Mon, May 27, 2024, 6:44 PM
    Hi, is there a way use this plugin on large amount of courses without setting it up one by one?
1 2 3 4 5 6 7 8 9
Please login to post comments