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.
Price option: Free

Supports Moodle 2.0-3.0 See all versions
Latest release: 10 years ago
Installations: 142
Downloads (last 90 days): 22

Frankenstyle name: auth_mcae
Authentication

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

No, József. I never got a response and am not spending any time on it until I do.
Leandro, Blair "did you ever figure it out? I have a similar situation, but I find it difficult to understand how to configure this plugin."
Leandro, did you ever figure it out? I have a similar situation, but I find it difficult to understand how to configure this plugin.
Hi. I am with difficults to configure this. I need this:
All users with domain specific (example @hotmail.com) will add in cohort (HOTMAIL). How make this?
I'd like to use this mod to auto enrol a user into a specific cohort the moment the system recognizes they have been added to a specific group.
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

I installed the latest GitHub pull on Moodle 2.8. The plugin works OK for standard accounts. I tried to use the plugin with email-based registration, but as documented in the readme file, extra code needs to be added. The problem is that the new Moodle Themes do not have a /layout/general.php or /layout/default.php file. Where should I insert the code? When will this plugin be updated for Moodle 2.8?
I would like (as with Kevin Treussier) to be able to use an enumerated list in a single field to separate users into multiple cohorts. For example user with a user field "isATP;isPartner" should go into two cohorts isATP and isPartner. I can't figure out how to define the separator and make this work.
Using version 1.2 of the plugin (2014121815 1.2) with Moodle 2.8.3+ (Build: 20150219) Version 2014111003.03
Thanks.
I'd also love to see a 2.8 version - or even better, a 2.9 version. Can anyone share their updates if you've done this?
Yes, please, please udate! I love this plugin, it made things so much easier for me!
Paul
It worked great up to 2.7 but now wont function with 2.8. Is there any chance of an update??
Hi there,
Can you send a welcome message once a user is enrolled in a cohort and that cohort is enrolled in a course?
If you add the hook for email registration to your theme in 2.6+, the loginas functionality will break. I added the following to the hook function in auth.php to ignore admins logged in as students.
if (\core\session\manager::is_loggedinas()) {
$SESSION->mcautoenrolled = TRUE;
return true;
}
Not sure if I am using this plugin correctly. But what I would like to do is very simple. I would like to add those people who choose EN in a Cohort named English, those who choose Italian in a cohort named italian. I did many different versions but don't seem to be working correctly - the user is still going to both cohorts. What is wrong.
Eg:
New Registered EN %split(%language|,0 )
New Registered IT %split(%language|,1 )
What is wrong?
We use this on our site to enrol staff and volunteers into different cohorts. We also enrol all of our staff and volunteers into cohorts based on which Directorate they work in. It would be great if you were able to enrol people into cohorts based on more than one condition. For example, 'Volunteer' in our Licence field AND Fundraising in our Directorate field. Is there any scope to develop this?