General plugins (Local): Mass enrolments

local_mass_enroll
Maintained by Picture of Rogier van DongenRogier van Dongen
A tool to all teachers to enrol existing users to their courses using CSV files (without bothering the admins)
1154 sites
513 downloads
49 fans
Current versions available: 2

One awkward thing about Moodle 1.x and the recent Moodle 2.x is that teachers are allowed to manually enroll known Moodle accounts to a course as teachers, non editing teachers, students... , but not using a 'flat file' produced by some CSV export.

They have to send a file to an admin user who will inject it into Moodle using the standard 'flatfile enrollment' method with the following limitations :

  • Teachers must provide account's and course idnumbers and admin user must reformat the file by adding the required extra columns 'add' and 'target role', before copying the file to the appropriate location in moodledata directory.
  • The report information is sent to admin, not to the course's teacher; so admin has to forward it to the teacher after the cron job has completed.
  • There is no way in flatfile enrollment method to specify in which groups these accounts should be added, so teacher has to go manually again across the list to assign accounts to groups.

This little extension, that adds itself to course administration menu will hopefully help teachers to do it themselves.

After installing it  a new item 'Bulk enrolments' will appear in the course administration menu for teachers (see screenshots).

It requires a CSV file, prepared by the teacher, with an unique Moodle id in the first column (idnumber, username or email) and optionally a group name in the second column. The first line of the CSV file must be present but its content is currently ignored.

Options are provided to force group (and grouping) autocreation if they do not yet exist in the target course.

Every line of the file may contain a different group name or even no group for some accounts

Screenshots

Screenshot #0

Contributors

Picture of Rogier van Dongen
Rogier van Dongen (Lead maintainer)
Picture of Patrick Pollet
Patrick Pollet: Original author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Rogier van Dongen
    Thu, Jul 20, 2017, 6:29 PM
    Hello all, new version is here.
    Functionally there's no changes. The plugin has been updated to comply to Moodle Coding Standards more and has been tested to work up to Moodle 3.3
    Sorry it took a while since this is one of the plugins that's maintained in my spare time.

    Cheers,
    Rogier
  • Picture of Marcello Barbieri
    Thu, Oct 26, 2017, 10:05 PM
    Hi Rogier,
    any chance to see the new version on github?

    Looking forward to hearing from you,
    best regards,
    Marcello
  • Picture of Rogier van Dongen
    Thu, Oct 26, 2017, 10:11 PM
    Hello Marcello,

    I've updated the links in the "Useful Links" section above to reflect the correct github account.
    Thanks for bringing this up!
    Cheers,
    Rogier
  • Picture of Victor Vergara
    Fri, Jan 19, 2018, 4:40 PM
    Hi. I've been looking for a way to bulk upload a lot of users WITH NO ENROLMENT DURATION, but I haven't seen the way to do it. By default, all users are enroled with the default enrolment duration in the platform that is set to 90 days, but in some cases we need students to have a permanent enrolment. Is there anything out there to achieve this by using a csv?
  • Picture of Benoit Nennig
    Tue, Feb 6, 2018, 10:08 PM
    Hi, has anyone tried this nice plugin on moodle 3.4 ?
    Thanks you

    Benoit
  • Picture of José Aristov
    Fri, Aug 31, 2018, 10:41 PM
    hi, i was looking some plugin like this one. but i doesnt know if this work on moodle 3.4 or how can i do to use it. I read all comments and i didnt see any answer about that.-
  • Picture of Sean Rugge
    Tue, Oct 16, 2018, 10:00 PM
    We are using it in Moodle 3.4 and Moodle 3.5. So far, so good. No reported issues. That being said, it would be nice to see a newer version listed as compatible with Moodle 3.4 and 3.5.
  • Picture of Silke Kirberg
    Fri, Feb 1, 2019, 11:03 PM
    Hello Rogier, do you know if 'Mass Enrolments' works with Moodle 3.6? Thank you, Silke
  • Picture of Pascal Denis
    Thu, May 30, 2019, 9:51 PM
    it works fine ! even in 3.6
  • Picture of Bernie Rey Barsomo
    Wed, Aug 7, 2019, 3:14 PM
    v2015092402 works in Moodle 3.6.3+ smile
  • Picture of Gina Wilson
    Sun, Oct 13, 2019, 7:23 AM
    Is there an example of the format we would need to use to upload users using this plugin? Or do we just use the same format we would if we were uploading users from the site administration route?
  • Picture of sama rabbani
    Sat, Jan 4, 2020, 2:40 PM
    Hi Patrick,

    i want consider start time and end time in csv file. please help me.
  • Picture of Michael Lipp
    Tue, Apr 21, 2020, 1:04 AM
    An extremely useful plugin. Does anybody know if users who are enrolled by the plugin receive a mail or message?
  • Picture of Daniel Poggenpohl
    Wed, Jun 10, 2020, 11:20 PM
    Hello, will there ever be an official github release of this plugin?
    (the downloadable version works with Moodle 3.5.x)
  • Picture of Lee Rain
    Thu, Aug 27, 2020, 3:33 PM
    Thank you for this good plugin. I have a suggestion that the plugin should allow teachers choose the starting date of the course. So that students can only access the course on the determined date.
    Thanks
1 2 3
Please login to post comments