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 Arnab Duttagupta
    Thu, Oct 20, 2016, 6:21 PM
    I cannot proceed while installing the auto enrol Install plugin from ZIP file, I get the following error-
    [Error] Write access check [/home/AppIme/pmis_proto_new/moodle/enrol]
    Validating enrol_auto ... Error..
  • Picture of Joedy Frape
    Wed, Nov 2, 2016, 6:21 AM
    Thank you works like a charm
  • Randy Thornton
    Thu, Nov 17, 2016, 2:57 AM

    In 3.1.2 latest I am getting a 'File not found' error when trying to manually unenrol a user as Teacher in the usual way.

    It is looking for the file enrol/auto/editenrolment.php which is not in the install package or git. This file is referenced and called from line 330 of lib.php

    Is this a missing feature or missing file?

    Be happy to put this in the Tracker too if you want.

    - Randy

  • Picture of Eugene Venter
    Thu, Nov 17, 2016, 10:20 AM
    Hi Randy,

    Thanks for the bug report - I've now amended the link and release to 2.9, 3.0 and 3.1 ;)

  • Picture of GT CACA
    Tue, Dec 6, 2016, 4:11 PM
    Hello Eugene,

    I succesfully installed plug-in to our test Moodle site. Now, I try to install it to our production Moodle site. Plugin installed but then settings page is not showed. Also I can't enable plugin. Configuration of test and production sites are all same, except production uses https and test uses http protocols. Is there any way to solve this problem? Is there any log files that I can look at?

  • Picture of GT CACA
    Tue, Dec 6, 2016, 6:47 PM
    I solved my problem by clearing cache folders. Thanks.
  • Picture of Emmett Brosnan
    Tue, Dec 6, 2016, 9:15 PM
    Hello Eugene,

    How do I apply the auto enrol - to courses already set up - in bulk?

  • Picture of Rekha C
    Fri, Jan 13, 2017, 12:38 AM
    Hi, please upgrade the plugin for 3.2 version. Does this 3.1 version plugin work with 3.2 website?
  • Mark
    Fri, Apr 21, 2017, 2:53 PM
    Hi Eugene,
    Are there any instructions on how to use this plugin?

    I have installed the plugin and turned it on in the Manage plugins screen.

    I am attempting to use the activity enrol feature... I have assumed that if the user completes an activity they will be enrolled into a specified course.
    Have I got this correct?
    Hope you or others can guide me.

  • Picture of J Guzman
    Fri, May 26, 2017, 4:57 AM
    I'd tried to install it, but I got the following error after uploaded it to my moodle server:

    Error instaling Validating enrol_auto ... Error
    [Error] Write access check [E:\Moodle\dirroot/enrol]
    Installation aborted due to validation failure
  • Picture of Janko Harej
    Fri, Jun 16, 2017, 10:38 PM
    Hello, would it be possible to upgrade plugin to allow the enrolment of just one type of user accounts? In our case we would only allow to enter shibboleth accounts. All others would get an error message ... We're preparing to sponsor development for this issue.
  • Picture of Neil Hellewell
    Thu, Aug 10, 2017, 6:51 AM
    Hi there. Really like the plugin. We are having one issue however. We are using a Totara site - and if we have sessions for staff to book displayed on the main course page - clicking "sign up" does not trigger the Seminar Activity auto enrolment action. Apart from disabling the ability to display seminar sessions on the main course pages - is there a way for the 'sign up' link to trigger the auto enrolment ?

    Many thanks
  • Picture of T JR
    Fri, Sep 22, 2017, 8:34 PM
    Hi Eugene Venter, Is it possible to unenroll a student after a given time, and trigger a warning email as with the manual enrollments?
  • Picture of Bradley Botkin
    Wed, Jan 10, 2018, 11:12 PM
    Hi Eugene, very nice plugin. We notice that we're unable to delete an auto_enrol method at the course level. Why is that? We're using Moodle v3.1.7.
  • Picture of Freddie Gay
    Fri, Apr 6, 2018, 8:08 AM
    Hi. Just installed and set up this plugin for some courses I had running that used self enrolment but there seems to be a slight bug because when people click on the second course in the list on my Front Page they get auto enrolled in the first course without clicking on it. Any ideas how to fix?
Please login to post comments