We developed the Smart Cohort module based on our years of experience in Moodle operation and development.
Course creators, site administrators and teachers are surely familiar with cohorts in the system that allow new colleagues / students to be easily enrolled in the appropriate courses. The users only have to be added to the group and the rest is automatically arranged by the system.
The Smart Cohort Module allows authorized users to define filtering criteria and to specify which cohort the filtered users would be added to. This add-on works well with any authentication plugins, so when the user is created or its data gets updated, the system checks for which groups to add to or remove the user from based on the filtering criteria.
The module was originally developed for our partners, but we feel like that this community would also find it useful, so we've made it available to you for free. With the help of this module it's easier for our partners to identify courses based on area, job, position, and they do not have to deal with managing cohorts.
Minimum: Moodle 3.5.4
Maximum: 4.2.1
Empty cohorts
Create rule
After that, you can see the rule is in progress
Rule is initialized by scheduled task
After that, check your cohorts and see the magic
-
Install the plugin the same as any standard moodle plugin either via the Moodle plugin directory, or you can use git to clone it into your source:
git clone git@github.com:cnw-co/moodle-local_cnw_smartcohort.git local/cnw_smartcohort
Or install via the Moodle plugin directory:
-
Then run the Moodle upgrade
If you have issues please log them in github here:
https://github.com/cnw-co/moodle-local_cnw_smartcohort/issues
-
Go to
Dashboard ► Site administration ► Users ► Accounts ► Smart Cohort
and create your first filter
CNW Rendszerintegrációs Zrt. moodle@cnw.hu
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.