Location: External database edit settings link in Settings > Site administration > Plugins > Enrollments > Manage enroll plugins (once installed)
This contributive enrollment method allows binding enrollment to a course to some value held by user profile attributes, or standard user attributes
Installation
Unzip the contribution into the ‘/enroll’ directory of LMS. Browse to Site Administration -> Notifications to get the plugin installed in LMS.
Operations
You’ll first need to enable this enrollment method in the central administration of enrollment plugins before it is usable in courses.
1. Go to the Site Administration -> Plugins -> Enrollments -> Manage Enrollment plugins screen.
2. Click on the “enable” switch to get the plugin enabled. Note that there are no site level parameters for this plugin.
If you want the profile method superseded other methods for enroll in a course, raise the position of the plugin upper in the stack.
Then it will be possible to choose this method by clicking on the Course Administration -> Users -> Enrollment Methods link. You’ll be in a screen where all enrollment instances of the course are defined.
1. Add an enrollment instance choosing “Profile Field Enrollment” in the drop down list.
2. Setup the parameters for the instance and record it. (see “Configuration screen above for details).
Now any users which profile or standard user field matching the settings present the adequate value will be proposed to enter the course. Other users are declined with a polite message.
Additional features
Subscribing to an existing group at enroll time
This will be possible if :
- There are some group defined in the course
- The groups have a password to enroll in.
Groups without password will not be handled by this extra feature.
Users can choose to apply for a group when entering the course the first time and answering the enroll form. An extra password field is presented to be filled with the group password. Note that only one group can be applied at enroll time.
Using Several Instances In A Course
The new LMS possibility of stacking instances of enrollment methods in a course will allow using several instances of this plugin, f.e :
- To provide a “profile field value => role” mapping, using one instance per role
- To provide a multivalue selector.
When defining several instances in the course, the course enrollment form will stack each instance with his local form fragment. Non matching forms will display a “decline” message, while matching forms will propose a complementary data input.
Tip : In that case, use custom instance name to clearly tell the user which access condition is agreed by each instance.