Repurpose resources

Maintained by Daniel Thies
A content type plugin that imports Moodle resources for use in the content bank. It currently supports creating H5P from questions in the Moodle question bank and from Moodle repository files.
Price option: Free

Supports Moodle 3.9-5.2 See all versions
Latest release: 2 months ago
Installations: 401
Downloads (last 90 days): 224

Frankenstyle name: contenttype_repurpose
Content type

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Hi Jari, This is not a security issue with the plugin, but simply a warning about differences between Quiz and H5P. H5P questions store data in the browser that Moodle questions do not. H5P should not be used for high stakes exams etc.
Hello,
Since you can install this as a local plugin what do you mean by
"Potential privacy issues
H5P is inherently less secure than the Moodle question bank. Care should be taken not to unintentionally share controlled test questions or otherwise restricted content."
No worries, thank you!
Thanks, Iñigo, I corrected the listing. The 1.4 releases are for 5.0+ compatible with new question banks. The 1.3.1 release should be used on 4.5. Sorry for the inconvenience.
Hi,
The 1.4 (2025060300) version is marked here as compatible with both 4.5 and 5.0 but I can see on its version.php that "requires = 2025041400; // Requires this Moodle version 5.0.", so it cannot be installed on a Moodle 4.5. If I'm not wrong I guess that it shouldn't be marked as compatible with 4.5.
Thanks, Daniel. It went OK now from Current version 2021080411 to New version 2021080412
(Moodle 39 - 405)
https://moodle.org/plugins/pluginversion.php?id=36473
Thanks for fixing it so quickly.
Thanks Przemek,
I fixed it now. That was the 5.0 version for some reason the plugin database marked it for 4.5. It should give the correct version now. Thanks again for letting me know.
Moodle 4.5.4 "Version 4.5.4 (Build: 20250414)" (localhost windows test machine) - tried upgrading to the latest "Repurpose resources 1.4, Moodle 4.5, 5.0, Released: Wednesday, 4 June 2025, 10:51 PM", and received this:
Installing available updates
Debugging output enabled
Downloading contenttype_repurpose ...
<- https://moodle.org/plugins/download.php/36474/contenttype_repurpose_moodle50_2025060300.zip
-> C:\Moodle45\server\moodledata\temp/core_plugin/code_manager/distfiles/743b311b1bc37607e96dfe3bab342e9b.zip ... OK
Validating contenttype_repurpose ... Error
[OK] Name of the plugin to be installed [repurpose]
[OK] Plugin version [2025060300]
[Error] Required Moodle version [2025041400]
Installation aborted due to validation failure
Is that "Required Moodle version [2025041400]" correctly set ?
Thanks, and best regards,
Przemek
i think there may be a issue when the target H5P content type is not installed in the system. If the content type is not installed by the admin, then content creators can not create this type in the content bank whether through the standard interface or through this tool. if you want to import Multichoice questions, the H5P Multiple Choice content type needs to be installed and available in the content bank. You can check this by manually trying to create the content in the content banck.
Not working. There are only two options - as Simply Zeus said before - and when a I am trying to import a single question I receive this error: „Exception - Argument 1 passed to core_h5p\framework::get_latest_library_version() must be of the type string, null given, called in [dirroot]/h5p/classes/framework.php on line 801”
That may be unclear, but those are different ways to import questions not the source question type. A single Multiple choice question can be converted to a single Multiple Choice Question H5P or a group of Multiple choice questions (contained in category) can be imported into a Single Choice Set H5P, Column H5P, Dialog Card H5P etc.
Hi, Daniel. Do u know why when i klik add button, just showing 'Import a single question' & 'Import single choice' set in the option? can i import a multiple choice with this plugin?
Hi Allan, Sorry I missed this earlier. This is a content bank plugin so you need to access the content bank from a course and click the add button in addition to the normal H5P types shown there should be some to Import certain types. If you click one an editor should open. There is are links at top on most forms to additional documentation. If you are used to using the H5P plugin instead of the content back, this may be unfamiliar. I had not thought of that.
Hi, can you please tell me how this tool works? The screenshots are not very helpful. I have downloaded and installed this plug in, but there is no instruction on how to use this tool to convert Moodle resources to H5P. Please provide an instruction.
Let me tell this before anyone else: this is a very well thought plugin and I would like to congratulate you on designing this useful addition for Moodle. I have tested it by using several types of questions (Moodle 3.11) and it works without a flaw.
Evrn though individual questions can be compiled manually into an H5P Quiz (Question Bank), I still hope the option of creating Quiz (Question Set) out of question bank questions will also be considered in the process of improving this plugin.