Admin tools: Upload enrolment methods
Upload enrolment methods 1.2.0
Code prechecksHTML | XML
Upload enrolment methods
Upload enrolment methods from a CSV file into a range of courses
The Upload course enrolment methods plugin for Moodle allows you to add enrolment methods to a range of courses at the same time. The Course meta link and Cohort sync methods are supported. You can also delete, enable or disable existing enrolment methods in a course. The plugin is strongly based on the Upload Metacourse links (block_metalink) plugin developed by Mark Johnson, and uses code from it.
This plugin requires Moodle 2.9+ from http://moodle.org
Installation and Update
Install the plugin, like any other plugin, to the following folder:
There are no special considerations required for updating the plugin.
Uninstalling the plugin by going into the following:
Administration > Site administration > Plugins > Manage plugins > Upload enrolment methods
...and click Uninstall. You may also need to manually delete the following folder:
Usage & Settings
There are no configurable settings for this plugin.
Use the command Administration > Site administration > Plugins > Enrolments > Upload enrolment methods to upload a CSV file containing lines of the form:
operation, enrolment method, target course shortname, meta course shortname or cohort idnumber, disabled status, group name[,role]
The format of the CSV file is as follows:
- Lines beginning with a # or ; character are comments, and skipped.
- Each line of the file contains one record.
- Each record is a series of data in a fixed order separated by commas.
- The fields are: operation, enrolment method, target course shortname, parent course shortname or cohort idnumber, disabled status, group name[, role].
- All fields are required except role, which can be omitted for backwards compatibility.
- The operations are add, del(ete) and upd(ate).
- The supported enrolment methods are meta and cohort.
- The disabled status values are 1 (disabled) or 0 (enabled).
- Students enrolled via the method will be placed in the group specified in the group name field. The group will be created if it doesn't already exist.
- The role field must be a valid role name such as editingteacher, student, etc.
2018 Eoin Campbell
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see .
- Version build number
- Version release name
- Stable version
- MD5 Sum
- Supported software
- Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8
- This is the latest release for Moodle 2.9
- This is the latest release for Moodle 3.0
- This is the latest release for Moodle 3.1
- This is the latest release for Moodle 3.2
- This is the latest release for Moodle 3.3
- This is the latest release for Moodle 3.4
- This is the latest release for Moodle 3.5
- This is the latest release for Moodle 3.6
- This is the latest release for Moodle 3.7
- This is the latest release for Moodle 3.8
Version control information
- Version control system (VCS)
- VCS repository URL
- VCS tag
Default installation instructions for plugins of the type Admin tools
- Make sure you have all the required versions.
- Download and unpack the module.
- Place the folder (eg "mytool") in the "admin/tool" subdirectory.
- Visit http://yoursite.com/admin to finish the installation