Madhu Bheemagani
Lead maintainer
Cohort Signup adds a Select cohort dropdown to the core self-registration form. The selection is validated and stashed for the current request, and an observer on \core\event\user_created adds the new user to the chosen cohort using the core Cohort API. Every attempt is recorded in a tracking table and surfaced through a small admin report.
The plugin makes no core modifications and uses only the documented signup form callbacks, so it stays compatible across the supported releases.
Site administration ' Plugins ' Local plugins).local/cohortsignup in your Moodle root.
<moodleroot>/local/cohortsignup
php admin/cli/upgrade.php
local_cohortsignup table.Self-registration must be enabled (Site administration ' Plugins ' Authentication ' Manage authentication ' Self registration) for the dropdown to appear.
Go to Site administration ' Plugins ' Local plugins ' Cohort Signup:
| Setting | Purpose | Default |
|---|---|---|
| Enable Cohort Signup | Master on/off switch | On |
| Require cohort selection | Force a choice on signup | On |
| Display hidden cohorts | Include hidden cohorts in the list | Off |
| Enable logging | Emit informational events | On |
| Default cohort | Applied when nothing is chosen | None |
| Allowed cohorts | Restrict the list (empty = all visible) | (all) |