Moodle Plugins directory: Auto-cohort plugin | Moodle.org
Auto-cohort plugin
Local plugins ::: local_cohortauto
Maintained by
David Thompson,
Catalyst IT
Automatically adds users into auto-created cohorts, with names that derived from users' profile fields.
Latest release:
412 sites
154 downloads
31 fans
Current versions available: 1
This local plugin automatically adds users into cohorts, with names that
derived from the users' profile fields.
Auto-created cohorts are made in the top-level system context (CONTEXT_SYSTEM).
This plugin is derived from, and intended to deprecate, the earlier
auth_mcae
plugin by Andrew Kama.Contributors
David Thompson (Lead maintainer)
Catalyst IT
Please login to view contributors details and/or to contact them
Is it possible to get the email domain if the email is in a custom field named status? I know you can do it with email field using {{email.domain}} template, but I wish I could do the same with {{status.domain}}.
@François - no that's not supported sorry.
We have Moodle 4.1.2 version. And there are a bug now.
In mainrule_fld, we have 3 values, one value per line. For ex A, B, C as profile field.
In Moodle 3.11, 1 user can be added in 1 to 3 cohorts, depends on how many fields are filled.
Since Moodle 4.1, user is added on only 1 cohort, which name is the combine of A+B+C values.
I'm starting to use the plugin and I'd like to split a custom field by ",". However, every attempt I've made hasn't worked. Here's the value I used to split, in the "mainrule_fld" field: %split(profile.Contextes|,)
This value only creates one cohort named: %split(profile.Contextes|,).
And here's the value I used to get the value stored in the custom field: {{ profile.Contextes }}
This value correctly creates one cohort but without the split.
Do you know why the split doesn't work?