Upload enrolment methods

Administration tool ::: tool_uploadenrolmentmethods
Maintained by Eoin Campbell
This plugin allows administrators add the "Course meta link" and "Cohort sync" enrolment methods to a range of courses from a CSV file, and specify the role for the methods participants. They can also delete, enable or disable existing enrolment methods in a course.

Upload enrolment methods 1.2.0

Moodle 2.9, 3.0, 3.1, 3.2, 3.3, 3.4
Released: Tuesday, 20 August 2019, 11:54 PM

Upload enrolment methods

Upload enrolment methods from a CSV file into a range of courses

Description

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.

Requirements

This plugin requires Moodle 2.9+ from http://moodle.org

Installation and Update

Install the plugin, like any other plugin, to the following folder:

/admin/tool/uploadenrolmentmethods

See http://docs.moodle.org/en/Installing_plugins for details on installing Moodle plugins.

There are no special considerations required for updating the plugin.

Uninstallation

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:

/admin/tool/uploadenrolmentmethods

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.

License

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 information

Version build number
2019082001
Version release name
1.2.0
Maturity
Stable version
MD5 Sum
9dda7ce1832a722baaef936d56c6b4c2
Supported software
Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4
  • Latest release for Moodle 2.9
  • Latest release for Moodle 3.0
  • Latest release for Moodle 3.1
  • Latest release for Moodle 3.2
  • Latest release for Moodle 3.3
  • Latest release for Moodle 3.4

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v1.2.0

Default installation instructions for plugins of the type Administration tool

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "mytool") in the "admin/tool" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation