Moodle plugins directory: Cohort members to group | Moodle.org
Cohort members to group
Enrolment ::: enrol_groupsync
Maintained by David Mudrák
Part of set Seeking new maintainer.
Cohort to group sync for users already enrolled via different method.
Latest release:
946 sites
176 downloads
54 fans
Current versions available: 2
Warning! This plugin is no longer maintained. It may work in recent Moodle versions but there is no support. For details of how you can become the new maintainer, see Plugins adoption programme.
This Moodle enrolment plugin synchronises cohort and group memberships. It does not make any user enrolments. Only users that are enrolled via other enrolment method are automatically put into groups based on their cohort membership.
Contributors
David Mudrák (Lead maintainer)
Petr Skoda: Original author
Amaia Anabitarte
Please login to view contributors details and/or to contact them
I've asked this before, and thanks for your answer, but it's still not clear to me (sorry). In Moodle standard cohort enrol you can add the cohort members to a group.
What does this do exactly?
This plugin is to be used in cases when some other method is used for actual enrolment and you just want to keep cohorts synced to local groups. Say you enrol users manually or via LDAP but still want to synchronize the cohort and groups membership. In other words, imagine it as a Cohort sync but without the actual enrolment part.
I need help installing this plugin. Which directory should I install in Moodle?
If you are using the inbuilt installer, the location will be automatically selected based on the plugin type. When deploying the code manually, this needs to go to a new folder inside the enrol directory. In other words, the full path to the file version.php in this plugin must be
<your_moodle_dirroot>/enrol/groupsync/version.php
Hi Sam. Sorry to hear you have troubles with the plugin. Are the users you added to the cohort, also enrolled to the course? Is the main Moodle cron set up and running ok?
Mas após instalar, não encontro o mesmo para configurar !
Good plugin, but synchro is done by hand... Is it possible to synchronize many groups and cohorts when we deploy them via a flat file ? Thanks
The synchronisation is generally driven by observing the enrolment events. Could it be that your importing solution does not trigger the relevant events?
Hi Julien. It is possible but it is not the purpose of this plugin. You are probably looking for https://docs.moodle.org/en/Cohort_sync
Some courses are dedicated only to a certain business role, but with participants from multiple branches, each time I have to import the empty groups into the course and then separate manually enroll the course participants into individual groups ... luckily the user id helps me of 7 digits that I set with a numbering that allows me to identify the branch (and also the role). This plugin would help me?
Thank you, David
Hi David. It depends. From how i understand your description, you could also make use of https://docs.moodle.org/en/Cohort_sync That will also enrol the users from the said cohort and eventually can put them into a course group, too. This plugin "Cohort members to group" can be seen as a subset of "Cohort sync". It only controls the group membership but does not actually enrol the users.
Hello Jai. Thank you for your interest in the plugin. If you add an instance of this plugin into the course A and configure it to synchronise cohort members with the Group A, then yes. It would pick all existing participants from the Course A that are in the Cohort and would put them into the Group A in the course. Users that are in the Cohort but are not enrolled in the course, would be neither added to the group, nor enrolled into the course. Hope this helps.