Blocks: Upload Metacourse links

block_metalink
Maintained by Picture of Mark Johnson 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.
117 sites
17 downloads
6 fans

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

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

Comments RSS

Show comments
  • Picture of Andrew C
    Mon, 24 Mar 2014, 7:50 PM
    Hi Mark, I've been using this block for a long time and think it is great, a real time saver. Will this work on 2.6?
    Thanks Andrew
  • Picture of Joseph Baxter
    Mon, 9 Jun 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
  • Picture of Mark Johnson
    Mon, 9 Jun 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.
  • Picture of Joseph Baxter
    Mon, 9 Jun 2014, 8:59 PM
    Hi Mark,

    Excellent. I will submit a pull request shortly.


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


    ...
    Joseph Baxter
    University of Nottingham
  • Picture of 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
  • Picture of Andrew C
    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.
  • Picture of Mark Johnson
    Fri, 8 Aug 2014, 4:37 PM
    Thanks Joeseph, I've just published a release with your fixes!
  • Picture of Joseph Baxter
    Fri, 8 Aug 2014, 5:00 PM
    Cool. Thanks.



    ...
    Joseph Baxter
    University of Nottingham
  • Picture of Richard Góg
    Tue, 10 Feb 2015, 8:30 PM
    Great work. It's unfurtunate that is not working on 2.5 sad
  • Picture of 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.
  • Picture of 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??
  • Picture of 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?
  • Picture of 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
1 2
Please login to post comments