Enrolment: Cohort members to group

Maintained by Picture of David Mudrák David Mudrák
Cohort to group sync for users already enrolled via different method.
166 sites
17 fans
Moodle 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0

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.


Screenshot #0
Screenshot #1
Screenshot #2


Picture of David Mudrák
David Mudrák (Lead maintainer)
Picture of Petr Skoda
Petr Skoda: Original author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Francis Vendrell
    Wed, 9 Jan 2013, 5:22 AM
    Thank you very much for this very useful plugin!

    It seems to me that there is a small bug.
    When an enrolment method is created for a given course, the number of users shown is always zero, although the number of users in the corresponding group is not zero.
  • Picture of Alf Martin Johnsen
    Wed, 9 Jan 2013, 2:56 PM
    Do you have a Moodle 2.3 version of "Cohort members to group"?
  • Picture of Mitchell van Gerwen
    Thu, 24 Jan 2013, 5:53 PM

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

    Thanks in advance,

    Mitchell van Gerwen
  • Picture of Simon M.
    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.
  • Picture of Dean Leggo
    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.
  • Me
    Wed, 21 Jan 2015, 5:29 PM
    Hello, Does anyone know if this works in 2.7.x?
  • Picture of David Mudrák
    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.
  • Picture of Scott Duff
    Mon, 22 Feb 2016, 9:28 PM
    Tested on version 3.0.2+; works as expected. Can we get a version bump?
  • Picture of David Mudrák
    Sat, 21 May 2016, 4:53 AM

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

  • Picture of gaetan dureau
    Thu, 16 Feb 2017, 1:22 PM
    will this be updated for version 3.2?
  • Picture of David Mudrák
    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.

Please login to post comments