Upload Metacourse links

Blocks ::: block_metalink
Maintained by Mark Johnson
This block allows linking of metacourses and child courses by upload of CSV flatfiles. Imports can be done by ad-hoc upload, or by a regular cron job.
Latest release:
58 sites
3 downloads
10 fans
Current versions available: 1

This block is based on the Upload Tutor relationships block, but instead of linking users together, it links courses together using Metacourse links.

The block accepts CSV files in the following format:
operation, parent_course, child_course

  • operation can be add (to link) or del (to unlink)
  • parent_course is the ID Number of the meta course
  • child_course is the ID Number of the course

After being linked, all users of child_course will be enrolled to parent_course via the metacourse link.

The file can be processed by the block on demand through the block interface itself, or automatically via a cron job.  The block's settings allow a location to be configured for the cron file, and processed files can be archived if required.

Please dont report bugs here

If you experience an error with the block, or would like to request a feature, please use the "Bug Tracker" link below.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Mark Johnson (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Joseph Baxter
    Mon, 9 June 2014, 6:39 PM
    Andrew C it appears to work but does throw errors due to deprecated functionality.

    We (UoN) will be making a pull request to get the necessary changes implemented. We are not sure if the plugin is still maintained though.

    ...
    Joseph Baxter
    University of Nottingham
  • Mark Johnson
    Mon, 9 June 2014, 8:35 PM
    Hi Joseph, I'm not actively developing this plugin at the moment, but if you submit a pull request I will review & merge it.
  • Joseph Baxter
    Mon, 9 June 2014, 8:59 PM
    Hi Mark,

    Excellent. I will submit a pull request shortly.


    ...
    Joseph Baxter
    University of Nottingham
  • Mark Johnson
    Tue, 10 June 2014, 2:32 AM
    Thanks Joseph, the new release has your fixes!
  • Joseph Baxter
    Tue, 10 June 2014, 4:36 PM
    Thanks Mark.


    ...
    Joseph Baxter
    University of Nottingham
  • Joseph Baxter
    Thu, 7 Aug 2014, 4:14 PM
    Hi,


    I have submitted some further fixes for the Moodle 2.6/2.7 version for some issues noticed by our testers:

    1. settings screen was not accessible
    2. non-managers could add the block on homepage

    I have also added a couple of behat tests.



    ...
    Joseph Baxter
    University of Nottingham
  • Andrew
    Thu, 7 Aug 2014, 6:30 PM
    Hi Mark, Thank you for your work on this block. I have the same 2 problems as Joseph (above) on Moodle 2.6.
  • Mark Johnson
    Fri, 8 Aug 2014, 4:37 PM
    Thanks Joeseph, I've just published a release with your fixes!
  • Joseph Baxter
    Fri, 8 Aug 2014, 5:00 PM
    Cool. Thanks.



    ...
    Joseph Baxter
    University of Nottingham
  • Richard Góg
    Tue, 10 Feb 2015, 8:30 PM
    Great work. It's unfurtunate that is not working on 2.5 sad
  • Mark Johnson
    Tue, 10 Feb 2015, 8:52 PM
    Hi Richard,
    I'm afraid I won't be looking into issues with versions of Moodle that are no longer supported, such as 2.5. I'd recommend upgrading to a supported Moodle release.
  • Jon Radford
    Fri, 13 Feb 2015, 8:29 PM
    Upload Metacourse links does this need to be a local path of unc path?? Where do I find the manual upload csv path??
  • Elizabeth Dalton
    Mon, 9 Mar 2015, 10:19 PM
    We've been happily using this plugin on Moodle 2.6, and we are about to migrate to 2.8. Will this plugin work with that version?
  • Jerome Di Pietro
    Wed, 5 Aug 2015, 4:11 PM
    Hi Mark,
    Same question as Elizabeth... do you have any plans to create a version for Moodle 2.8 ?
    Many thanks
  • Gilberto Antonio Morales Dmeza
    Tue, 7 July 2020, 1:10 AM
    Hi!!
    There is a new plugin for this: https://moodle.org/plugins/tool_uploadenrolmentmethods
1 2
Please login to post comments