Auto assign cohort (deprecated for local_cohortauto)
Maintained by
Dan Marsden, Catalyst IT
This Authentication plugin automatically assigns users into cohorts based on information in their user profile fields.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
All users with domain specific (example @hotmail.com) will add in cohort (HOTMAIL). How make this?
I have my system set up to auto enroll a user into a specific group as soon as they enroll that group's parent course. It would be nice to be able to segregate them now into a specific cohort automatically.
Can someone provide the steps for doing this? Please?
This plugin is now seeking new maintainer - https://moodle.org/mod/forum/discuss.php?d=260354#p1301333
Using version 1.2 of the plugin (2014121815 1.2) with Moodle 2.8.3+ (Build: 20150219) Version 2014111003.03
Thanks.
Paul
Can you send a welcome message once a user is enrolled in a cohort and that cohort is enrolled in a course?
if (\core\session\manager::is_loggedinas()) {
$SESSION->mcautoenrolled = TRUE;
return true;
}
Eg:
New Registered EN %split(%language|,0 )
New Registered IT %split(%language|,1 )
What is wrong?