Moodle plugins directory: Profile field based cohort membership | Moodle.org
Profile field based cohort membership
Moodle core provides a mechanim to manually fill cohorts with users (on Site administration -> Users -> Accounts -> Cohorts). This is fine for small Moodle installations where the cohort members don't change too often and where the Moodle admin has plenty of time to update the cohorts.
Now, larger or fragmented Moodle installations may have the need to manage a large number of cohorts which have a large amount of members and which may also change quite often. Managing cohorts by hand in such scenarios is simply unprofessional overkill - even / particularly if you distribute the work among multiple Moodle admins.
On the other hand these large or fragmented Moodle installations might already have some custom user profile fields which can be leveraged to decide which cohort(s) a user should be a member of. This plugin implements a simple solution to manage cohort memberships based on a users' custom profile field.
Please see README file for details about the usage and features of this plugin.
No support in the comments section on this page
Please note that we don't provide any support for this plugin in the comments section on this page.
We appreciate your commendation and reviews for this plugin in the comments. For bug reports and support requests, please read the extensive information in the plugin's README file first and create, if needed, a ticket in the bug tracker which is linked below.
Thanks for your cooperation.
thank you for your input.
If you look at the top of this page, you will find a note that feature requests and issues must be directed to https://github.com/moodleuulm/moodle-local_profilecohort/issues. If one of you could create an issue in Github, we will be more than happy to discuss the topic there.
Cheers,
Alex
I would like to know if I can manage more than 500 cohorts with this plugin?
after line 39 : require_once($CFG->dirroot . '/auth/ldap_syncplus/auth.php');
between $this->errorlogtag = '[AUTH LDAP] ';
and } else {
return false;
}
just add :
} else if (is_enabled_auth('ldap_syncplus')) {
$this->authtype = 'ldap_syncplus';
$this->roleauth = 'auth_ldap';
$this->errorlogtag = '[AUTH LDAP SYNCPLUS] ';
i think it would be interressent to make the change directly in the next release
The plugin is certainly very interesting and for me solves quite a bit of work. Unfortunately, since I have multiple criteria by which I have to place users in different cohorts, the current layout seem to be inefficient and also heavy. Would it be possible to improve the interface for creating rules, for example through the use of radio buttons or check buttons and AND/OR selectors?
Another interesting feature would be the possibility to handle exceptions, or better yet, manually add users to a group, even if it does not match the default automatic criteria.
In any case thank a lot for this plugin.