Open Badge Factory

Local plugins ::: local_obf
Maintained by OBF Admin, Antti Koskinen, Emilie Lenel
Issue Open Badges created in Open Badge Factory from Moodle, and display badges issued to users.

Open Badge Factory 0.8.0

Moodle 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 4.0, 4.1, 4.2
Released: Thursday, April 20, 2023, 5:56 PM

Open Badge Factory -plugin

Open Badge Factory is a cloud platform that provides the tools your organization needs to implement a meaningful and sustainable Open Badges system.

With the local_obf plugin you can issue Open Badges created in Open Badge Factory. To use the plugin, you need an account on https://openbadgefactory.com (You can register for free, see https://openbadgefactory.com/faq for details about different service levels).

For developers

See the project README

How to install

Moodle 2.7, 2.9, 3.0, 3.1 and up:

  1. Install the zip via Moodle's plugin page. Select "local" as the type of the plugin. (alternative: unzip to moodle's local subdirectory)
  2. Update the database using the notifications page
  3. Complete the Post install steps

Totara 11.0 and greater

Totara Learn does not include an add-on installer, all additional plugins must be installed manually by server administrators.

  1. Download plugin from https://moodle.org/plugins/local_obf
  2. Unzip the file into the Totara installation directory.
  3. By using a site administrator account, go to Site administration → Notifications and upgrade Totara database
  4. Complete the Post install steps

Post install

To connect to Open Badge Factory, the plugin needs a request token or API key.

To generate the required API key, log in to Open Badge Factory. When logged in, navigate to Admin tools > API.

Legacy key:

On the API key -page click on Generate certificate signing request token for legacy type key. Copy the generated token into OBF Moodle plugin settings, in Site administration > Open Badges > Settings.

OAuth2 key:

Pro level clients can also connect with OAuth2. This supports multiple clients on one Moodle installation.

On the API key -page click on Generate new client secret for OAuth2 Client Credentials. Give a description for the key and copy the client id and secret values into OBF Moodle plugin settings, in Site administration > Open Badges > Settings.

Changelog

0.8.0

  • Badge issuing report fixes

0.7.0

  • MySQL reserved word column name fix

0.6.1

  • User name field fix
  • String escape fixes

0.6.0

  • Include recipient name in issued badges
  • Badge string escape fixes

0.5.5

  • API auth fixes

0.5.4

  • PostgreSQL query fix
  • Replaced array_key_first function

0.5.3

  • PostgreSQL query fix

0.5.2

  • Fixed warnings for missing page context
  • Fixed api call for all user badges when using legacy connection

0.5.1

  • Connect multiple Factory clients with OAuth2
  • Awarding rules bug fixes
  • Other minor fixes and improvements

0.4

  • Fixed problem with Moodle 3.10.1
  • Added support for Totara program and certications

Version information

Version build number
2023041800
Version release name
0.8.0
Maturity
Stable version
MD5 Sum
cd3f8293c05177c56b653efc669f9dff
Supported software
Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2
  • Latest release for Moodle 3.2
  • Latest release for Moodle 3.3
  • Latest release for Moodle 3.4
  • Latest release for Moodle 3.5
  • Latest release for Moodle 3.6
  • Latest release for Moodle 3.7
  • Latest release for Moodle 3.8
  • Latest release for Moodle 3.9
  • Latest release for Moodle 3.10
  • Latest release for Moodle 3.11
  • Latest release for Moodle 4.0
  • The more recent release 1.1.2 (2025070901) exists for Moodle 4.1
  • The more recent release 1.1.2 (2025070901) exists for Moodle 4.2

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Local plugins

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder in the "local" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation.