Scripts & Plugins

Moodle Development Scripts

Overview

In the process of developing and maintaining a large number of courses for our consortium, sometimes a script can save a lot of developer hours and improve accuracy.   These are normally used during the summer, leading up to our annual resource release.  We store them here mainly for our own use, but if you need a tool, feel free to use at your own risk.


Search for broken and insecure links:

Maintaining courses means watching for broken links.   This tool quickly helps developers identify links that are broken.   Also, since we are now ensuring that our resources are compatible with secure Moodle sites, we need to watch for links that were incorrectly entered.

Depending on your server settings you may be required to create a local instance of your website and database.

Follow the instructions on the plugin very carefully. Backing up the database table 'mdl_book_chapters' is recommended. Once the 'Run' button is clicked, the execution time may be hours if the link limit is set high, make sure your server has sufficient memory allocated otherwise it may crash.

Script = Check Links (download zip)

What this script does:

  • Searches course content for HTTP or HTTPS links
  • Counts links or checks if links are working or broken
  • Searches all courses, or a specific course may be specified
  • Can check which HTTP links may be converted to HTTPS
  • Can update HTTP links to HTTPS
  • A search limit (#links) can also be applied to limit the number of results

Instructions:

  • Download linkchecking.zip (above) and extract the folder
  • Upload the folder 'linkchecking' to 'admin/tool/'
  • Go to your website's home page and upgrade the database (installs the plugin)
  • Browse to Site administration->Plugins->Admin tools->Check Links
  • Follow plugin instructions

Standard Assignment Settings:

After developing resources for our members, we've determined that there are particular settings which serve our teachers/students best.   In the business of developing, sometimes details are missed which confuses things for users.    This tool focuses on all the assignments in courses.  Ensure completion tracking is set-up before running this.

Script = Apply Assignment Standards (download zip)

What this script does:

  • checks every assignment in every course in a given category
  • ensures the BCLN standard settings are in place for each assignment
  • http://bclearningnetwork.com/images/design_standards/STEP3_Assignments.pdf

Instructions:

  • Download applyassignmentstandards.zip (above) and extract the folder
  • Upload the folder 'applyassignmentstandards' to 'admin/tool/'
  • Go to your website's home page and upgrade the database (installs the plugin)
  • Browse to Site administration->Plugins->Admin tools->Apply Assignment Standards
  • Adjust standard settings as needed (Caution! Default values are recommended)
  • Click 'Apply Settings'
  • A green checkmark and success message should appear
  • Thoroughly check site to ensure standards were applied successfully


Standard Quiz Settings:

After developing resources for our members, we've determined that there are particular settings which serve our teachers/students best.   In the business of developing, sometimes details are missed which confuses things for users.    This tool focuses on all the quizzes in courses. Ensure completion tracking is set-up before running this.

Script = Apply Quiz Standards (download zip)

What this script does:

  • checks every quiz in every course in a given category
  • ensures the BCLN standard settings are in place for each assignment
  • http://bclearningnetwork.com/images/design_standards/STEP2_Quizzes_and_Tests.pdf

Instructions:

  • Download applyquizstandards.zip (above) and extract the folder
  • Upload the folder 'applyquizstandards' to 'admin/tool/'
  • Go to your website's home page and upgrade the database (installs the plugin)
  • Browse to Site administration->Plugins->Admin tools->Apply Quiz Standards
  • Adjust standard settings as needed (Caution! Default values are recommended)
  • Click 'Apply Settings'
  • A green checkmark and success message should appear
  • Thoroughly check site to ensure standards were applied successfully
Last modified: Sunday, 8 October 2017, 12:32 PM