Auto-cohort plugin

General plugins (Local) ::: 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:
444 sites
84 downloads
32 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.

Screenshots

Screenshot #0
Screenshot #1

Contributors

David Thompson (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Al
    Sun, 24 Oct 2021, 12:39 AM
    Hi, I can confirm that we are using your Cohort plugin in 3.11. It works well. We have a number of our schools using our system and Cohort is doing the job really well, with no hiccups that we have found. If you could therefore change the flag to 3.11, it will then install automatically on our next update. Now I know you need it checked, I will check with all-new versions for moodle for you. We are using 3.11.3 but we update every few weeks.
  • François Lizotte
    Tue, 7 Dec 2021, 3:48 AM
    Hi,
    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}}.
  • Dan Marsden
    Tue, 7 Dec 2021, 4:58 AM

    @François - no that's not supported sorry.
  • Al
    Mon, 27 June 2022, 5:04 AM
    Would you be kind enough to update the supported version number to moodle 4? It means that each time we update moodle the cohortauto plugin will install automatically. Currently, it has to be done manually as it's down as a moodle 3 plugin. Thank you.
  • Dan Marsden
    Mon, 27 June 2022, 5:16 AM
    @Al - Catalyst develops and supports a large number of plugins, and unfortunately for you, we don't use the moodle.org plugins db for deployment processes - we use git here at Catalyst - this means that the latest versions of all our plugins will always be in the github repo. We are slowly rolling out auto-deployment github actions to allow for more regular updates to the plugins db, but in the mean time you will just need to install it manually sorry!
  • Al
    Mon, 8 Aug 2022, 4:41 AM
    Thank you. You have it as moodle supporting 3.11 but not 4. It just needs the version support drop-downbox changing but I do understand. We, like many others, update moodle each week, and we have many plugins and it's very time-consuming. Those that are logged as 4.0 install automatically when you updated, hopefully, GIT-Hub will do the same. I do thank you for your reply and consideration though. Great Plugin!
  • Al
    Tue, 25 Oct 2022, 7:29 PM
    Since upgrading to moodle 4, we are experiencing extreme server loads from Cohort_Auto. Is there a way we can make an adjustment to reduce server the server load?
  • Al
    Tue, 25 Oct 2022, 7:34 PM
    It is set to 15 minutes but takes 12 minutes to complete so the server is not recovering, we have changed it to 30 minutes but wondered if we can make any other changes. For example, is changing it to 60 minutes ok? Can we do anything to reduce the server load on the 12 mins run?
  • Minh Hanh NGUYEN
    Wed, 12 Apr 2023, 7:54 PM
    Hi,
    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.
  • Dan Marsden
    Thu, 13 Apr 2023, 6:26 AM
    @Minh - we have this running on a 4.1 site and haven't noticed the issues you are describing - you might need to do some further investigation yourself or reach out to a Moodle Partner to help you with this further - good luck!
  • François Lizotte
    Thu, 15 June 2023, 8:57 PM
    @Dan, which version of PHP are you running with Moodle 4.1?
  • Dan Marsden
    Fri, 16 June 2023, 6:28 AM
    François - feel free to report any issues you find to the github issues tracker, alternatively pull requests and or funding for improvements are welcome.
  • B G
    Sun, 18 Feb 2024, 11:17 AM
    Great idea for a plugin, sadly, the documentation is poor and vague. I cannot find a list of the cohorts like shown in the screenshots on this page. The examples are not useful. How am I supposed to provide a clear name for the cohort then apply a condition/rule to populate the cohort? Like all users that contains value 'x' in the custom field y? Is the custom field value the label or the shortname?
  • Francesca Vaccarino
    Tue, 23 Apr 2024, 8:41 PM
    Hello, from the description I see that the latest supported version is 3.11 but from the comments it seems like it is supported at least up to 4.1. Could you please confirm? Does the plugin support version 4.3 too? Thanks
  • Dan Marsden
    Wed, 24 Apr 2024, 6:52 AM
    @Francesca - I haven't tested this plugin in 4.3 myself but feel free to do that yourself and report any issues you find to our github issues tracker - thanks.
1 2 3
Please login to post comments