Note: You are currently viewing documentation for Moodle 2.6. Up-to-date documentation for the latest stable version of Moodle may be available here: Userenrols plugin.

Development:Userenrols plugin: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 4: Line 4:


Each of the users listed in the input file must have an existing Moodle user account; new Moodle user accounts will not be created.
Each of the users listed in the input file must have an existing Moodle user account; new Moodle user accounts will not be created.
==Why This Plugin==
Site administrators can accomplish the same task using the "Upload Users" interface from the Users->Accounts menu. However, this plugin is meant to be used by a course instructor, or anyone who has the [moodle/role:assign] capability for a given course, to make any number of ad hoc manual enrollments of users who already have accounts.


This plugin is a refactor of the [http://moodle.org/mod/data/view.php?d=13&rid=3595 mass_enroll] course admin mod done by [http://moodle.org/user/view.php?id=69061 Patrick Pollet] and [http://moodle.org/user/view.php?id=34826 Valery Fremaux], using the standard groups course import plugin as a template.
This plugin is a refactor of the [http://moodle.org/mod/data/view.php?d=13&rid=3595 mass_enroll] course admin mod done by [http://moodle.org/user/view.php?id=69061 Patrick Pollet] and [http://moodle.org/user/view.php?id=34826 Valery Fremaux], using the standard groups course import plugin as a template.
Line 10: Line 13:
* Select the correct version of the "userenrols.zip" plugin for your Moodle installation
* Select the correct version of the "userenrols.zip" plugin for your Moodle installation
* Uppack the zip file into the course/import folder of your Moodle site
* Uppack the zip file into the course/import folder of your Moodle site
* Read the INSTALL.txt file for details on either installing a patch or moving the plugin's lang files
* Read the INSTALL.txt file for details on either installing a patch or copying the plugin's lang and help files

Revision as of 03:52, 29 July 2010

The userenrols course import plugin allows you to import user enrollments for a course from an uploaded delimited text file. It is contributed by Fred Woolard.

Enrollments are associated with a selectable course role, and the plugin can optionally create course groups and assign the new enrollees to those groups.

Each of the users listed in the input file must have an existing Moodle user account; new Moodle user accounts will not be created.

Why This Plugin

Site administrators can accomplish the same task using the "Upload Users" interface from the Users->Accounts menu. However, this plugin is meant to be used by a course instructor, or anyone who has the [moodle/role:assign] capability for a given course, to make any number of ad hoc manual enrollments of users who already have accounts.

This plugin is a refactor of the mass_enroll course admin mod done by Patrick Pollet and Valery Fremaux, using the standard groups course import plugin as a template.

Installation

  • Select the correct version of the "userenrols.zip" plugin for your Moodle installation
  • Uppack the zip file into the course/import folder of your Moodle site
  • Read the INSTALL.txt file for details on either installing a patch or copying the plugin's lang and help files