Enrolment: Auto enrolment

Maintained by Picture of Eugene VenterEugene Venter, Picture of Catalyst ITCatalyst IT
This plugin allows for an enrolment into a course to occur automatically when a user views a course or course activity/resource. The plugin can also be configured to enrol a user upon login.
1642 sites
84 fans
Current versions available: 8
Ever wanted to simplify the enrolment process for some of your courses by just auto enrolling users, based on actions they take within the system? This plugin helps you out with this, as you're able to configure which user actions should trigger a course enrolment for a user smile

Auto enrolment can be configured for the following scenarios:

  • Auto enrolment upon course view
  • Auto enrolment on login (new in 2.8)
  • Auto enrolment upon activity/activities view

The plugin also allows you to configure a welcome message to be sent to the user upon enrolment.


Screenshot #0


Picture of Eugene Venter
Eugene Venter (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Picture of Jacques Technologies
    Wed, May 18, 2016, 1:15 PM
    I've installed this plugin and it is now enabled. But how do I actually apply it to an individual course? Thanks.
  • Picture of Elisabeth Ashley
    Tue, Jun 7, 2016, 3:09 AM
    I just installed on 3.0.3+ and it seems to be working beautifully. I do think it's a little strange to allow students to unenroll themselves from a course that they'll be automatically enrolled in again next time they log in, though. I removed that particular capability for students on my site, but you may want to consider adding that as an instance option.

    Jacques, in order to apply the plugin to an individual course, you need to go to that course, then go to Course Administration > Users > Enrollment Methods, then select "Auto-Enrollment" from the dropdown list. Select the settings you want for this instance, then click "Add method" at the bottom.
  • Pimenko
    Fri, Jun 10, 2016, 6:13 AM

    I just test this plugin with Moodle 3.1. Everything seem to be ok and it works fine after some test here.

  • Picture of Eugene Venter
    Mon, Jun 13, 2016, 9:14 AM
    Thanks for testing Clement and letting us know Clement - I've updated the version information smile
    Merci beaucoup,
  • Lina
    Fri, Jun 24, 2016, 3:57 PM
    Dear Developers,
    Many thanks for all your great effort to develop this very important and useful plugin. Our university is using this plugin to allow students to do auto enrollment. But we found some errors while using the latest version on Moodle 3.1.
    Here is the information about the Moodle version which we are using now:
    Version: 3.1 (2016052300)
    Release: 05.23.2016
    PHP: 5.6.20
    MySQL: 5.7.12

    The following information is about the errors we've occurred:
    I've installed and enabled the auto enrollment for one course, I logged in with a student's account and click the course name, then there comes the error:
    Coding error detected, it must be fixed by programmer: The theme has already been set up for this page ready for output. Therefore, you can no longer change the theme, or anything that might affect what the current theme is, for example, the course.
    Debug info: Stack trace when the theme was set up...(since there's a lot of debug info, I've made a screenshot and has put the screenshot on our website, the link is: https://mahara.xjtlu.edu.cn/user/na-li/moodle-bug-screenshots)
    Many thanks and we will look forward to your reply.
    Best wishes,
  • Picture of Eugene Venter
    Mon, Jun 27, 2016, 5:49 AM
    Hi Lina,

    Thanks for your bug report - I will try have a look at the problem this week and get back to you.

  • Picture of Eugene Venter
    Mon, Jun 27, 2016, 12:55 PM
    Hi Lina,

    I was able to easily replicate your issue - this has now been fixed smile

  • Lina
    Tue, Jun 28, 2016, 11:41 AM
    Hi Eugene,
    We've installed the lasted version and the issue is fixed. Many thanks for your great help. We really appreciate it.
    Best wishes,
  • Picture of Anderson Hsu
    Tue, Jul 5, 2016, 10:27 PM
    Dear partners,
    Can we use the plugin for the quiz and feedback activity when some users are not enrolled into some courses, they can also join these activity and can find their grades in the grade book . Thank you.
  • Picture of Martin Simcik
    Mon, Aug 8, 2016, 3:37 PM
    Hello all, I have installed this plugin a I really appreciate it. But still I have one thing I need help with. If I set that login to course should happen after activity view, then also lector and admin enroll to course when just checking activity (for example view if the activity is correctly displayed for st . Simply, how can I avoid that some side wide roles will not log in course as this is not required.

    Thanks for help.

  • Picture of GT CACA
    Tue, Sep 27, 2016, 8:07 PM

    We are using Moodle 3.0.3 and have queries for this plugin.

    Can we use it for Moodle 3.0.3?
    Can we use it separately for only selected courses?
    Can we deactivate auto enrollment whenever we want for desired course? For example, we allow students to auto enroll for course A, than 1 month later we want to disable auto enroll for course A.

  • Picture of Jamie Biddulph
    Wed, Sep 28, 2016, 7:13 PM

    Thanks for the plugin, works really well.

    I've noticed a spelling error on line 46 of auto/lang/en/enrol_auto.php "Course acitivity/resource view" should be "Course activity/resource view"


  • Picture of Eugene Venter
    Thu, Sep 29, 2016, 5:13 AM
    Hi Jamie,

    Thanks for pointing out that spelling error smile
    I've fixed it in the latest version (3.1). A workaround for other versions is to customise the lang string in enrol_auto.php, the 'modview' string.

  • Picture of Gemma Lesterhuis
    Sat, Oct 8, 2016, 10:15 PM
    Hi Eugene,

    Just wondering - can I also set in the plugin that a user goes directly into a specific group?

  • Picture of Eugene Venter
    Mon, Oct 10, 2016, 6:21 AM
    Hi Gemma,

    The plugin doesn't support enrolling into groups at this point.

Please login to post comments