GithubHelp home page GithubHelp logo

block_acclaim's Introduction

Credly’s Acclaim Moodle Block Plugin

This is a Moodle Block Plugin used to issue Acclaim badges when a course is successfully completed.

Installation

To install this block plugin:

  • Navigate to the release tab and download the latest release zip. github.com/YourAcclaim/block_acclaim/releases.
  • Unzip the zip file and rename the top level directory to acclaim.
  • Rezip the directory and name the zip file acclaim.zip.
  • Login to Moodle as Administrator.
  • Navigate to: Site Administration > Plugins > Install Plugins.
  • Under Plugin type, choose “Block.”
  • Drag and drop acclaim.zip.
  • Select “Install Plugin From Zip.”
  • Next, select “Install plugin!” If all validations pass.
  • Choose “Upgrade Moodle database now”.
  • Press continue, when prompted to upgrade version.
  • Enter the Acclaim URL, your Organization ID and Token.
  • Choose “Save changes”.

Usage

Once the Block Plugin has been installed, you can attach a Badge to any of your Moodle Courses as follows.

  • Begin by logging in as Administrator, teacher, or course creator.
  • Turn on editing.
  • Next, select the course you wish to attach a badge to from Navigation > Current Course. You must be in a course view to add the Acclaim Block because it operates in that course context.
  • Add the Acclaim Block from “Add A Block” drop down.
  • Next, click “Select Badge” in the Acclaim Block to choose which Acclaim badge will be issued upon course completion.
  • Select a badge to be issued by selecting the “Acclaim Badges” drop down. This list is generated by connecting to the Acclaim platform using the credentials defined during installation.
  • Optionally select a badge expiration date by choosing the date, and checking “Enable”
  • Lastly, select “Save Changes”

Additional Settings

In addition to configuring the Acclaim plugin, you will also need to configure how a course is successfully completed.

  • First, navigate to Home > Navigation > My Courses > Select Course > Edit Settings
  • Enable completion tracking, and select save.
  • Finally, edit the Criteria that will trigger a course completion. This can be done by navigating to administration > course administration > select criteria. For example, course grade.

Note: If course completion tracking is missing from the course settings, enable completion tracking: Administration > Course administration > Edit Settings > Enable completion tracking.

Further documentation on course completion tracking can be found here: https://docs.moodle.org/23/en/Course_completion_settings

Unit Tests

This plugin includes unit tests to verify functionality.

To Do

  • The stage environent and org ID is hard coded in the unit tests. This should be changed to something like a env variable.
  • Allow a course to have a badge set to none (or delete).
  • Create language file so this plugin can be used on platforms other then english.

Changelog

  • 2016-03-14
    • Replaced entering API URL with dropdown with production and sandbox as choices
    • Get all active templates when more than 50 and sorted alphabetically

block_acclaim's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.