Select Moodle version:

General plugins (Local): CSV Enrolls & Groups plugin

local_userenrols
Use this local plugin to import user enrollments and group assignments from a delimited text file into the course. New user accounts will not be created, so each of the users listed in the input file must already have an account set up in the site. It also provides a way to make group assignments based on meta-course enrollments.
Maintained by: Fred Fred Woolard

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

Enrollments are made with the manual enrol plugin and using a selectable role. 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.

This plugin was originally (Moodle 1.9) 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. The current Moodle 2.x revision is again a refactor, but as a local plugin (placed into the local/ directory off the Moodle root), and accessed from the course administration menu under the 'Users' node.

Besides being able to create groups, you can select from existing groups and override the data file's group designation. An additional feature allows instructors to make group assignments based on meta-course enrollments.

Screenshots

screenshot

Contributors

Fred
Fred Woolard (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Capt. Moodle
    Thu, Apr 4, 2013, 1:52 PM
    Fred - Many thanks for sharing this plugin with the Moodle community. I have installed and looked at the plugin and it looks good. I did not test it with an actual CSV file but I am presuming that part of things works fine. If not, folks can file issues in the tracker. When you get a chance, I would encourage you to add a page to Moodle Docs and then provide that URL under the Useful links section. Please do not hesitate to let me know if there is anything I can do to be supportive of your efforts. Peace - Anthony
  • Picture of Carina Martinez
    Thu, Jun 6, 2013, 11:29 PM
    Great job Fred! thanks!!

    We are needing something like this, but at other contexts (a block?), that allow import enrollments, like your plugin, for multiple pre-selected courses...
    I know about the upload users method, but it needs an administrator rol.

    Do you think it would be viable?
  • Fred
    Fri, Jun 7, 2013, 12:48 AM
    Carina, I understand your problem, and yes, building such a plugin would be viable. It could be a block, sited on the 'my' page, displayed only for users who have an instructor role. And that's something to consider for a future incarnation.
Please login to post comments