Moodle plugins directory: Synchronize groups | Moodle.org
Synchronize groups
Administration tool ::: tool_syncgroups
Maintained by Daniel Neis Araujo, roberto silvino
With this plugin you can synchronize groups and groups members between two courses,
in a way that a course A will be a mirror of course B.
Only users that are already enrolled are added as group members.
Latest release:
281 sites
153 downloads
33 fans
Current versions available: 3
Copy groups and members between courses Plugin for Moodle
With this plugin you can synchronize groups and groups members between two courses,
in a way that a course A will be a mirror of course B.
Only users that are already enrolled are added as group members.
Install
- Put these files at moodle/admin/tool/syncgroups/
- You may use "composer require danielneis/tool_syncgroups"
- or git "clone https://github.com/danielneis/moodle-tool_syncgroups.git"
- or download the latest version from https://github.com/danielneis/moodle-tool_syncgroups/archive/master.zip
- Log in your Moodle as Admin and go to "Notifications" page
- Follow the instructions to install the plugin
Usage
After installing the plugin there will be a new link "Synchronize groups" under Course Administration > Users on the Administration block.
Clicking that link will show a page for you to select the groups from current course you want to copy members to which target courses.
Useful links
Contributors
Daniel Neis Araujo (Lead maintainer)
roberto silvino: Maintainer
Antonio Carlos Mariani: Developer of first version
Please login to view contributors details and/or to contact them
I made available a new version that should be compatible with 3.5, 3.6 and 3.7.
It is the same code, the APIs didn't change for what I saw. Let me know if you find any problems using it.
I'm not aware of this "main Course Management menu". Is it something the Fordson theme provides? Or is it Moodle core?
It may be a change in Moodle or on the theme because for what I remember, I made the tool appear under Course administration -> Users -> Groups, at that time Moodle used the navigation block.
With the removal of navigation block by default and the new menu on the cog icon, it may have being rearranged.
I'm afraid there's nothing the plugin code can do to add itself to somewhere else more convenient.
Thanks for the plugin.
Obrigado desde Portugal. PT-PT translator.
I just made available a new version with a master checkbox to select/unselect all groups.
This requires Moodle 3.8 onwards.
Um grande abraço do Brasil!
Thanks and keep healthy.
Are there any plans to update this plugin for moodle version 4.0/4.1?
Why do I get:
...
Group exists
Adding members
User not enrolled (userid: 633)
User not enrolled (userid: 2204)
User not enrolled (userid: 2338)
User not enrolled (userid: 2291)
Removing members
Done
Group is coppied by with no students (it is empty).
You may be synchronizing members that are not enrolled in the destination course.