Skip to main content
FOR ADMINISTRATORS
This plugin syncs StudyStash with all Moodle courses by default, except for those that are explicitly excluded. If you prefer an opt-in approach, where only selected courses are synced, you can follow the guide here.

Purpose

StudyStash Course Sync is a Moodle local plugin that helps administrators roll out the StudyStash LTI activity across courses at scale. Instead of enabling StudyStash manually in each course, the plugin queues a sync task that checks every eligible course and adds the StudyStash activity only where it is missing. It is safe to run multiple times: courses that already contain the configured StudyStash activity are skipped, and only new or missing courses are updated. Admins can also exclude selected courses from sync and preview the result using a dry run before making live changes.

Action

Explanation

Dry Run

Previews which courses would get StudyStash based on current config/exclusions.

Sync StudyStash to Courses

Enables StudyStash in eligible courses that do not already have it.

Course exclusions

Lets admins choose courses that must be skipped by sync.

Prerequisites

  • Moodle version must be >= 2022041900 (Moodle 4.0+)
  • Administrative access (moodle/site:config) to your Moodle Instance
  • A valid preconfigured LTI tool for StudyStash already exists
  • Cron running within Moodle
  • Your Customer Success Manager has provided the Plugin via a ZIP file

Step 1: Installing the plugin

  1. Go to https://<your-moodle-instance>/admin/tool/installaddon/index.php
  2. Upload the ZIP file provided to you by StudyStash by pressing “Choose a file…”
  3. Press “Show more…”
  4. Set the “Plugin type” to be “Local plugin (local)”
Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot 1

Figure 1. Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot 1

  1. Press “Install plugin from the ZIP file”
  2. After the validation message, press “Continue”
  3. After the server checks message, press “Continue”
  4. After the plugins check message, press “Upgrade Moodle database now”
    Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot 2

    Figure 2. Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot 2

  5. If an “Upgrading to new version” message appears, press “Continue”

Step 2: Configuring the plugin

After installing the plugin (step 1), you will be required to configure the new settings that are available.
Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot 3

Figure 3. Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot 3

  1. Enter the following settings:

Setting

Value

Type

LTI preconfigured tool type ID

Select the correct ‘StudyStash’ LTI Activity Module from the dropdown

Required

StudyStash activity name

StudyStash

Optional

Placement in General section

Bottom

Optional

  1. Press the “Save changes” button
  2. Go to https://<your-moodle-instance>/local/studystash/index.php
    Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot

    Figure 4. Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot

  3. Press the “Excluded Courses” tab, and optionally exclude any courses that shouldn’t be given the StudyStash Activity Module:
    Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot

    Figure 5. Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot

    1. Using the filters, narrow the search for the courses you are aiming to exclude
    2. Select the checkbox for any courses that are to be excluded
    3. Press “Save excluded courses”
    4. Return to the “Status” tab
  4. Optionally, you can Dry Run the sync:
    Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot

    Figure 6. Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot

    1. Press “Dry Run”, and wait a few seconds/minutes for the task to complete (depending on how many courses you have)
    2. Press the “Logs” tab
    3. Examine logs to ensure behavior is as expected for each course
  5. To complete the sync for real, press “Sync StudyStash to Courses” on the “Status” tab:
    Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot

    Figure 7. Moodle Plugin: Syncing StudyStash to Courses (Opt-Out Mode) — screenshot