插件认证稳定版

Auto assign cohort (deprecated for local_cohortauto)

auth_mcaeDan Marsden

  • Moodle 1.9–5.1
  • 更新 2016-02-29

This Authentication plugin automatically assigns users into cohorts based on information in their user profile fields.
PLEASE NOTE – this plugin has been deprecated and replaced by:
https://github.com/catalyst/moodle-local_cohortauto
—————————
Auto cohort authentication plugin
This authentication plugin automatically assigns users into cohorts.
Cohort name depends on user profile field.
Cohorts are created in CONTEXT_SYSTEM.
Installation
Copy the ‘mcae’ folder into your_moodle/auth
Visit Site administration – Notifications page and follow the instructions
Configuration
Template for cohort name
1 template per line.
In the template you may use any characters (except ‘{‘ and ‘}’) and profile field values. To insert a profile field value, use {{ field_name }} tag.
An email field have 3 variants:
{{ email.full }} – full email
{{ email.username }} – only username
{{ email.domain }} – only domain
{{ email.rootdomain }} – root domain

返回插件目录