Cohort members to group

Enrolment ::: enrol_groupsync
Maintained by David Mudrák
Cohort to group sync for users already enrolled via different method.
Latest release:
1007 sites
193 downloads
49 fans
Current versions available: 2

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.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

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

Comments RSS

Show comments
  • Sat, Mar 23, 2019, 3:35 AM
    Boa tarde, estou tentando utilizar seu pluguin, quero lhe parabenizar !
    Mas após instalar, não encontro o mesmo para configurar !
  • Tue, Sep 17, 2019, 9:51 PM
    Hello,
    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
  • Wed, Sep 18, 2019, 3:42 PM

    The synchronisation is generally driven by observing the enrolment events. Could it be that your importing solution does not trigger the relevant events?

  • Thu, Dec 5, 2019, 5:41 PM
    Hello, I think that question had to be asked. Is it possible to automatically generate a group from a cohort without manually acting ? Thanks
  • Fri, Dec 6, 2019, 4:44 AM

    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

  • Tue, Jan 26, 2021, 1:39 AM
    Hello, sorry for the question, although I have read the description I prefer to ask ... on my platform I have several global groups (cohorts) separated by role in the company and by branch.
    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, smile David
  • Wed, Jan 27, 2021, 12:43 AM

    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.

  • Tue, Mar 16, 2021, 11:43 PM
    Hi David, Just to clarify This plugin will help me in this scenario like I have two courses some users are enrolled in Course A and some are in Course B. Now I have created a Cohort and this cohort contains the users from both courses. Now if I only want to add Course A cohort members into Group A of Course A. So this plugin will help me to do that, right?
  • Wed, Mar 17, 2021, 12:53 AM

    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.

  • Tue, May 18, 2021, 6:43 PM
    Hi there! I'm trying yo install your plugin, without success. After successful installation, my Moodle is unreachable (ERR_CONNECTION_REFUSED) without any useful log information, apart from a message apparently related to SSL encryption. Is the plugin compatible Moodle 3.10 ? Does it require an SSL connection to function correctly ?
  • Wed, May 19, 2021, 4:22 AM

    Hi Justin. Yes, we have the plugin deployed on both 3.10 and 3.11 sites in production. It does not require SSL to function. I can't see how it would relate to your experienced troubles. Sorry for them.

  • Tue, Oct 12, 2021, 8:56 PM
    Hi David, when is the plugin triggered? We have some students in cohorts but weren't put into the groups in some courses.
  • Wed, Oct 13, 2021, 3:38 AM

    Hi Chye Siaw. The plugin makes use of observing events that trigger when the user is enrolled to the course or added to a cohort.

  • Wed, Oct 13, 2021, 7:53 AM
    Thanks for the quick reply David. Is there a way to manually trigger the groupsync? To duplicate it across dozens of courses, I've basically duplicated the database entries with corresponding data. This works fine (I've done and double-checked it), I just needed to trigger the grouping but running "moodle/enrol/groupsync/cli/sync.php" doesn't seem to always trigger the grouping. Turning one of the enrolment off and back on again does trigger it for that specific course, however, but just wondered if there's a way without having to do it for every course.
  • Thu, Oct 14, 2021, 12:56 AM

    That's weird that the CLI script did not work for you. Have you tried to run it in the verbose mode?

1 2 3
Please login to post comments