Enrolment: Enrol by user profile fields

enrol_attributes
Maintained by Picture of Nicolas Dunand Nicolas Dunand
This plugin allows users to be enrolled according to any value stored in their user profile.
672 sites
859 downloads
49 fans

This plugin allows users to be enrolled according to any value stored in their user profile. If you use an external authentication scheme (LDAP, Shibboleth), you can store values in hidden user fields of the users' Moodle profile, and then use these values to automatically enrol users if some courses.

Screenshots

Screenshot #0

Contributors

Picture of Nicolas Dunand
Nicolas Dunand (Lead maintainer)
Picture of RISET Université de Lausanne
RISET Université de Lausanne: Supporting institution
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Nicolas Dunand
    Wed, 2 May 2018, 1:09 PM
    Hi Brian,

    Thanks for your feedback and further explanation. I'll include a fix for this in the upcoming release.
  • Picture of safiyullah mohamed
    Thu, 3 May 2018, 12:05 AM
    I have installed and enabled the plugin properly. When i go and check on Users - > Entrollmethods Methods, Respective plugin not listed in "Add method drop down list". but i can see other enrollment plugins like Self, Auto, Manage entrollment ect.

    Any help would be appreciated.
  • Picture of Nicolas Dunand
    Tue, 8 May 2018, 2:34 PM
    safiyullah mohamed, make sure you have set up the plugin properly, i.e. in the plugin preferences read all settings descriptions in Site Adminitration > Plugins > Enrolment > Enrol by user profile fields.
  • Picture of Александр Сабов
    Wed, 30 May 2018, 11:05 PM
    Hi, friends!

    I have a problem, please help.
    After installing and configuring the plugin, I added the method into the course. If I configure only one simple condition (button "Add condition") - it works correctly, users are enroled. BUT if I configure the same rule but into the group condition (button "Add group") - it doesn't work, users are not enroled...
    What could it be because of?

    Moodle version 3.5.
    Plugin version 2.5.2.
    LDAP authentication.
  • Picture of Andrew Davis
    Fri, 15 Jun 2018, 12:05 AM
    I'm sure that I'm missing something pretty basic, but I can't figure this out. I have installed this plugin and enabled. It does not show in the list of enrollment methods. I see it in the list of enrollment plugins and it is set to Default Role of student. Under Manage Enrol Plugins I have it at the top of the list. If I go into a course and go to enrollment, it does not display. Either in the list or in the drop down. I'm sure that I'm doing something wrong.
    I am using moodle 3.3.2
  • Picture of Андрій Чорний
    Wed, 1 Aug 2018, 2:37 AM
    Hi. Can u explain how it enrol users? by cron or manual (pressing "Force enrolments now" )?
    How it configure?
  • Picture of Nicolas Dunand
    Thu, 2 Aug 2018, 2:29 PM
    Hi Андрій,

    By cron (every 6 hours), or you can click the "Force enrolments now" (after the created rule has been saved) if you want the enrolments to happen immediately.
  • Picture of Nicolas Dunand
    Thu, 2 Aug 2018, 2:31 PM
    Hi Andrew,

    Please make sure to set all plugin settings correctly in the site administration. If you don't set these up, the plugin can't work and hence won't show up in the course enrolment methods.
  • Picture of Denis Glagolev
    Wed, 8 Aug 2018, 3:57 PM
    Hi Nicolas, I have the same problem as Andrew:
    I have installed plugin and enabled with default role of student, but when I go into a course management -> users -> enrollment methods - it does not display in menu "add method".
    Only other metods
    Moodle 3.5
  • Picture of Nicolas Dunand
    Wed, 8 Aug 2018, 4:08 PM
    Hi Denis,

    Same answer as to Andrew : did you check the plugin settings and what are they set to? This is why the enrolment method does not show up
  • Picture of Denis Glagolev
    Wed, 8 Aug 2018, 4:23 PM
    Dear Nicolas, I have only one setting - enrol_attributes | default_roleid, where I can choose Student, Assistant etc.
  • Picture of Nicolas Dunand
    Wed, 8 Aug 2018, 4:56 PM
    Thanks Denis,

    This plugin works with custom fields only, not regular profile fields.

    1. You have to define at lease one extra profile field in Site administration > Users > Accounts > User profile fields.
    2. In the plugins settings, you can then select this field.
    3. In the course enrolments, you will then see the enrolment method available.
  • Picture of Denis Glagolev
    Wed, 8 Aug 2018, 5:58 PM
    Nicolas, now its working, but I'm not understand how it works >.<
  • Picture of Bert van der Hooft
    Tue, 14 Aug 2018, 1:56 PM
    Nicolas,

    Is it possible to connect this feature to standard profile items? E.g. connecting it to the authentication method? Or (a part of) the email address? I have a semi open site in which some content is open and some not.

    Bert
  • Picture of Nicolas Dunand
    Tue, 14 Aug 2018, 2:42 PM
    Hi Bert,

    No, this is not possible at the moment and would need to be programmed in the plugin code.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Please login to post comments