## Enrolment: Cohort members to group

enrol_groupsync
Maintained by David Mudrák
Cohort to group sync for users already enrolled via different method.
231 sites
26 fans

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

Petr Skoda: Original author

### Awards

• Thu, 24 Jan 2013, 5:53 PM
Hello,

Maybe a stupid question, but in which folder do I have to put groupsync?

Mitchell van Gerwen
• Fri, 26 Apr 2013, 6:53 PM
I'm getting an error after installation. I've uploaded the groupsync folder to the /enrol directory. I've installed it and it's appearing under enrollment plugins but when I click on Settings in "Manage enrol plugins", I get a "Section Error".

Am I missing a step? Any help would be appreciated. Thanks.
• Thu, 12 Jun 2014, 12:08 PM
FYI If you are not using a 'different method' you can sync cohorts to groups by going to:
Enrolment methods > edit Cohort sync > Add to group.
Apples to version 2.4 and newer.
• Wed, 21 Jan 2015, 5:29 PM
Hello, Does anyone know if this works in 2.7.x?
• Wed, 11 Mar 2015, 9:02 PM
It does. It has been used at moodle.org for a while so it is sort of tested regularly to work with recent Moodle versions.
• Mon, 22 Feb 2016, 9:28 PM
Tested on version 3.0.2+; works as expected. Can we get a version bump?
• Sat, 21 May 2016, 4:53 AM

A new version for Moodle 3.1.0 released. See release notes for details.

• Thu, 16 Feb 2017, 1:22 PM
will this be updated for version 3.2?
• Thu, 16 Feb 2017, 4:19 PM

Sorry I forgot to mark 3.2 as supported version. We've been using this in production on 3.2 sites with no problem.

• Tue, 27 Jun 2017, 7:58 PM
Does the latest version support Moodle 3.0, or only 3.1 and up?
• Tue, 27 Jun 2017, 9:17 PM

It has been tested with 3.1 and later only. But chances are it will work with 3.0 too.

• Fri, 25 Aug 2017, 12:29 AM
This plugin is fantastic, just what we needed. Can I ask, is it possible to add this enrolment method to newly created courses automatically?
• Tue, 29 Aug 2017, 4:27 PM

Hi Chye. Yes, it could be implemented by making use of the course_updated() callback, similarly like the Guest enrolment does it, for example. May I ask for reporting a new feature request in the Moodle Tracker for this? Thanks.

• Wed, 14 Mar 2018, 11:54 PM
I'm a bit confused about this plugin. Is this not standard Moodle functionality and if not, what exactly is different from the normal cohort enrollment screen in which you can add users to a course group?
• Thu, 15 Mar 2018, 2:55 AM

There is an overlap between the standard Moodle's "Cohort sync" enrolment method and this plugin. The difference is that this plugin does not actually enrol / unenrol users. It deals with the group membership only.