Your Moodle version

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.
450
222
19

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)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • On the jetty
    Tue, Feb 9, 2016, 7:33 PM
    thanks will do
  • Picture of michael michael
    Wed, Feb 10, 2016, 8:24 PM
    Dear Nicolas,
    i want to know more about this Enrollment method, we integrate our LDAP with Moodle to import users, also we has about 10 department.
    so now we want to make a self-access course to specific department not to all users.
  • Picture of Nicolas Dunand
    Wed, Feb 10, 2016, 9:50 PM
    Hi Michael,
    If your LDAP integration somehow stores user information in the Moodle database about user's profle (for instance, "department" = "chemistry"), then this plugin could use that information to enroll users automatically (for instance, enroll all users from "chemistry" department in some courses).
  • Picture of michael michael
    Fri, Feb 12, 2016, 9:20 PM
    thanks for your reply,
    but i can't add this enrolment method to course enrolment methods, or there are another ways to use it,
  • Picture of Nicolas Dunand
    Fri, Feb 12, 2016, 11:22 PM
    Hi, Michael,
    Are you sure the plugin is actually installed (is it visible in the plugins list within Moodle) ? And is it configured ? You have to at least select which user profile fields you're using in the plugin settings.
  • Picture of michael michael
    Sun, Feb 14, 2016, 3:24 PM
    Hi Nicolas,
    its shown in the plugin list under the enrollment methods, but Availability assign to Disabled !!!
  • Picture of Nicolas Dunand
    Sun, Feb 14, 2016, 11:55 PM
    Michael,

    Once, installed, you need to activate this plugin by going to Site administration > Plugins > Enrolments and activate this plugin from the table displaying all enrolment plugins available in your Moodle.

    Then, you need to make sure the plugin itself is configured properly.
  • Picture of Franky Just
    Sat, Feb 27, 2016, 3:43 PM
    Hello,

    I've first changed the mdl table prefix issue. But plugin isn't working, not under the role menu, and not under text option or whatever. Moodle 3.0.2 installed.
  • Picture of Nicolas Dunand
    Sat, Feb 27, 2016, 6:42 PM
    Hi Franky,

    Did you set the plugin's settings in "Site Administration > Plugins > Enrolments > Enrol by user profile fields" ? Can you tell me in particular what you've set the "Profile fields to be used in the selector" field to?
  • Picture of Richard Wallace
    Wed, Mar 2, 2016, 3:03 PM
    I have the same problem, I ahve activated it, and set the role to student, but when I go into any course, under enrolment methods, I do not see it at all
  • Picture of Nicolas Dunand
    Wed, Mar 2, 2016, 3:40 PM
    Hi Richard,

    See my comment to Franky above. Setting the role only does not activate the plugin, what have you set the "Profile fields to be used in the selector" field to?
  • Picture of JOSE GUILLERMO ROJAS GARRIDO
    Wed, Apr 13, 2016, 11:51 PM
    I'am using LDAP with Moodle 3.0 but I can't see user fields like "department" at the enroll Enrolment methods. I only see the USER PROFILE FIELDS that i added. What i miss yo do ?
  • Picture of Nicolas Dunand
    Mon, Apr 18, 2016, 7:32 PM
    Hi José,
    This plugin (for now) only allows to use extra profile fields, not core profile fields. Core fields are all Moodle 'normal' user's profile fields (such as username, first name, phone, department, etc.), whereas extra profile fields are any extra profile fields you define yourself. So if your LDAP plugin can use those extra fields you're good.
  • Picture of Richard Wallace
    Tue, Apr 26, 2016, 3:34 PM
    Nicolas

    Sorry you are quite right, admins need to

    ADD a "User profile field" under site admin, users, as well as

    ADD an option in this "User profile field"

    for the plugin to show in Moodle courses at all.

    Once I had done this, it appears in the course. I will continue to play with this, but looks great Nicolas, great work, thanks

    Richard
  • Picture of Mohammed Ouazzani
    Tue, Apr 26, 2016, 6:25 PM
    Hi Richard,

    I follow the instructions and nothing appears in the course. Any idea ?
    The plugin is activated, i add "User profile field" and in the plugin options i select the profile field created. But nothing is happenning after.
1 2 3 4 5
Please login to post comments