Your Moodle version

General plugins (Local): Meta-course group synchronization

local_metagroups
Maintained by Picture of Paul Holden Paul Holden
Automatically synchronize groups from child courses into meta-courses.
50
90
7
Moodle 2.6, 2.7, 2.8, 2.9, 3.0, 3.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 2.6 to 2.9.

The latest release is 1.3.1 (build 2015073100):

  • Fixed debugging notice during CLI synchronization

Screenshots

Screenshot #0

Contributors

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

Comments RSS

Show comments
  • Picture of Thibaut Dupuy
    Mon, Dec 22, 2014, 6:47 PM
    Hello,

    I tried your plugin but it doesn't really match my needs.

    Is it a way to synchronised group from parent course to meta-courses child ? Or maybe I just didn't understand how the plugin work .
  • Just wondering . . .
    Mon, Jan 26, 2015, 11:00 AM
    Has anyone tested this out on 2.8?

    -Derek
  • Picture of Michael Veit
    Sun, Mar 1, 2015, 6:11 AM
    Hi Paul,

    I haven't any function with this plugin.
    I had created the meta course enrolment between courses before I created groups in the child courses.

    Then I wanted to start the cli/sync.php but I coudn't it: Not by command line (./sync.php) , not by URL. How can I start the sync.php? The description I've read but I couldn't read the help (--help).
    Why I don't have any function?

    Any idea?

    Regards
    Michael
  • Picture of Michael Veit
    Thu, Mar 5, 2015, 7:04 AM
    Hi Paul,

    Thanks for the Link 'https://docs.moodle.org/28/en/Administration_via_command_line'. I could run the scritp sync.php. A (very) old meta course and two old child courses have been synchronized.
    But I still have no function for new courses:
    1. Create a meta course and a child course
    2. Choose as enrolment 'meta course'
    3. Create groups in the child course
    4. Writing the participants in the groups of the child course
    But after that happens no transfer in the meta course. Nothing happens after start of the scripts cron.php and sync.php.

    What is missing? What else to do? Any idea?

    Regards
    Michael
  • Picture of Michael Veit
    Thu, Mar 5, 2015, 7:19 AM
    Hi Paul,

    I don't have any function if I used the command '$sudo /usr/bin/php local/metagroups/cli/sync.php --course=278'

    Michael
  • On the jetty
    Fri, May 1, 2015, 7:23 PM
    Well this is truly a thing of beauty. Works really well on a Moodle 2.6 system.

    I use Auto Enrol for the Child Course track which places users into custom groups automatically based on Institution and then they get propagated with their groups into meta sub courses and enrolled into the matching groups as well using this plug in..

    That you so much for this, really appreciated!

    Roger
  • Picture of Sarah Ricketts
    Thu, Jun 4, 2015, 12:12 AM
    Hi, are there any plans to implement this for 2.8 as yet? We trialled it with 2.6 and like the look of it, but we're planning to upgrade to 2.8 in the summer so wonder if we'll be able to use this going forward.
  • Picture of Paul Holden
    Thu, Jul 2, 2015, 10:24 PM
    Hi Sarah,

    I've tested the plugin successfully against the latest git master (3.0) and it works fine, so will work in any supported version prior to that.
  • Picture of Daniel Neis Araujo
    Mon, Feb 29, 2016, 7:43 PM
    Hello,

    thanks for the great plugin.
    This feature is now in standard Moodle since 2.9 : https://tracker.moodle.org/browse/MDL-17929

    Kind regards,
    Daniel
  • Picture of Vadim Dvorovenko
    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
  • Picture of Vadim Dvorovenko
    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
  • Picture of Bert van der Hooft
    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
  • Picture of Sarah Ricketts
    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.
  • Picture of Paul Holden
    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
1 2
Please login to post comments