Opaque

Question types ::: qtype_opaque
Maintained by TimTim Hunt
Part of set Open University.
This question type uses web services to connect to other question engines like OpenMark or ounit, so that their questions can be used in a Moodle quiz.

Opaque 2.0

Moodle 2.1
Released: Saturday, 11 February 2012, 2:48 AM
The Opaque question type and behaviour

Opaque (http://docs.moodle.org/en/Development:Opaque) is the Open protocol for
accessing question engines.

The Opaque protocol was originally created by sam marshall of the Open
University (http://www.open.ac.uk/) as part of the OpenMark project
(http://java.net/projects/openmark/). The Moodle implementation of Opaque was
done by Tim Hunt.

As well as OpenMark, this question type can also be used to connect to
ounit (http://code.google.com/p/ounit/) and possibly other question systems
we don't know about.


Opaque has been available since Moodle 1.8, but this version is compatible with
Moodle 2.1+. (For older versions, see
http://cvs.moodle.org/contrib/plugins/question/type/opaque/.)

This question behaviour also requires the Opaque question type to be installed.

To install using git, type this command in the root of your Moodle install
git clone -b MOODLE_21_STABLE git://github.com/moodleou/moodle-qtype_opaque.git question/type/opaque
git clone -b MOODLE_21_STABLE git://github.com/moodleou/moodle-qbehaviour_opaque.git question/behaviour/opaque
Then add question/type/opaque and question/behaviour/opaque to your git ignore.

Alternatively, download the zip from
https://github.com/moodleou/moodle-qtype_opaque/zipball/MOODLE_21_STABLE
unzip it into the question/type folder, and then rename the new
folder to opaque. Then download the zip
https://github.com/moodleou/moodle-qbehaviour_opaque/zipball/MOODLE_21_STABLE
unzip it into the question/behaviour folder, and then rename the new
folder to opaque.


Once installed you need to go to the question type settings page
(Site administration -> Plugins -> Question types -> Opaque) to
set up the URLs of the question engines you wish to use.

https://github.com/moodleou/moodle-local_testopaqueqe can be used to test that
Opaque is working.

Version information

Version build number
2011102500
Version release name
2.0
Can be updated to
2.1 For Moodle 2.3+ (2012082200), 2.2 For Moodle 2.3+ (2013031400), 2.3 For Moodle 2.5+ (2013070100), 2.3 For Moodle 2.5+ (2013070100), 2.4 For Moodle 2.5.x (2014010800), 2.4 For Moodle 2.5.x (2014010800), 2.4 For Moodle 2.6+ (2014010801), 2.5 For Moodle 2.7+ (2014111200)
Maturity
Stable version
MD5 Sum
226edae751afad8477facbb985461b42
Supported software
Moodle 2.1
  • Latest release for Moodle 2.1

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
MOODLE_21_STABLE

Default installation instructions for plugins of the type Question types

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