Meta-course group synchronization

General plugins (Local) ::: local_metagroups
Maintained by Paul Holden
Automatically synchronize groups from child courses into meta-courses.
Latest release:
280 sites
171 downloads
27 fans
Current versions available: 1

Meta-course functionality in Moodle currently lacks the ability to synchronize groups from child courses in to a meta-course. This plugin implements this functionality by listening for relevant events related to groups.

After installing the plugin, any amendments to groups (add, update and delete) and their membership (add or remove users) from child courses will be automatically reflected in the linked meta-course.

Meta groups

See the project readme file for the most up to date instructions.

Supports Moodle version 3.5 onwards (up to and including 3.11).

Build status

The latest plugin release is 3.6 (6 June 2021):

  • Support for Moodle 3.11

Screenshots

Screenshot #0

Contributors

Paul Holden (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Tue, Mar 8, 2016, 2:50 PM
    Hello. I've updated this plugin with some new features (grouping sync, syncing on adding enroll instance, adding task for syncronization usiing moodle scheduler). You may take a look here https://github.com/vadimonus/moodle-local_metagroups/tree/master
    It would be great if you integrate it into your repo
  • Tue, Mar 8, 2016, 2:54 PM
    Daniel Neis Araujo, please note, MDL-17929 is not the same to this plugin. If you specify group in meta enrol, it will put all users to ONE group, even if in source course there were multiple groups. This plugin will create multiple groups in such case
  • Wed, May 4, 2016, 2:52 AM
    Paul,

    Where's the manual? How to create child course? Etc

    Bert
  • Just wondering . . .
    Wed, May 4, 2016, 5:03 AM
  • Wed, May 25, 2016, 8:14 PM
    Hi Paul, I know you kindly tested this plugin with early 3.0 back in July last year and it seemed to work ok. Is there an intention to officially release an update before Sept 2016 to work with 3x? Many thanks.
  • Thu, Jul 14, 2016, 4:32 PM
    I've tested on latest 3.2 (dev) & all works as expected, so I've updated the list of supported versions to 2.6 -> 3.1 smile
  • Sat, Feb 18, 2017, 6:29 AM
    Hi Paul,
    Unfortunately your plug-in creates and synchronizes only groups, created AFTER meta-link is set. Plugin does not see any groups that were created EARLIER. Is it possible to make a change, so that ALL groups from the course can be synchronized?
  • Tue, Feb 21, 2017, 5:31 PM
    Alexandre, if you follow the link 'more documentation on this plugin' it describes how you can run a script to sync existing groups, we've used this and it works fine. Hope this helps.
  • Wed, Feb 22, 2017, 12:50 AM
    Thank you, Sarah. The script has solved the problem.
  • Sat, Dec 16, 2017, 11:57 PM
    Hi i upgrade my moodle to 3.3 and it seems the syncronization doesn't work
  • Fri, Mar 16, 2018, 12:12 AM
    Hi Paul, any chance of a 3.3 release?
  • Thu, Jun 7, 2018, 11:09 PM
    Hi, has anyone successfully tested this plugin on 3.4?
  • Tue, Oct 27, 2020, 10:20 PM
    Hi there, Just installed version 2018120701 on Moodle 3.3 - yes I know but that's where the client is and doesn't want to rock the boat - It doesn't seem to work. Should it have added some scheduled tasks to the list? Or is it supposed to be clever than that and trigger automatically?

    Best Regards
    Dave
  • Wed, Dec 16, 2020, 7:23 PM
    Hi there,

    Installed on a Moodle 3.9 and not working.

    The metacourse has two child courses. If I bulk upload the users with the groups created via the CSV file this works on the Metacourse, and the enrolments go to the child courses, but the groups are not created.

    I've tried running the cli/sync.php file as instructed and this doesn't seem to do anything; even in verbose mode.


    demsley@sc1430:/home/public_html/moodle/local/metagroups/cli$ sudo php sync.php -v
    demsley@sc1430:/home/public_html/moodle/local/metagroups/cli$


    I would appreciate some advice on what I'm doing wrong,


    Cheers
    Dave
  • Thu, Dec 31, 2020, 9:13 AM
    I am having the same issue as Dave, the cli tool does not seem to do anything at all. However, if I manually remove and then recreate the course meta-link, it appears to work.
1 2 3
Please login to post comments