Interactive Book: Missing "Submit Report" Button
Hello Community,
Having problems submitting results in Interactive Book (Moodle H5P activity) and wonder if anyone has experienced the same issue. The green 'Submit report' button does not appear on the score screen - only 'Restart' is shown - so there's no completion trigger and no results are ever sent to the gradebook. Tested in Moodle 3.9 (prod) and 3.9.2 (local) and Chrome / Firefox / Edge. Grading is enabled and so is attempt tracking. There's an open issue on Moodle Tracker https://tracker.moodle.org/browse/MDL-69736 suggesting that it might be related to Moodle H5P core, but what puzzles me is that a similar behaviour is observed in WordPress 5.5.1 with H5P plugin 1.15.0 too.
Would really appreciate any thoughts.
Thank you in advance!
Anton
otacke
Wed, 09/30/2020 - 09:17
Permalink
Hi Antonskyy!You will have to
Hi Antonskyy!
You will have to tick the option "Enable LRS dependent content types" in the plugin settings of H5P which will then set a flag for reporting being enabled (H5PIntegration.reportingIsEnabled as mentioned on the issue tracker). It's a non-intuitive procedure unfortunately.
I am not sure how that was implemented in the moodle core version where that flag could always be set to true automatically - so yes, it seems to be a problem in the moodle core version.
Best,
Oliver
Antonskyy
Wed, 09/30/2020 - 11:12
Permalink
Thank you
Thank you for the WordPress hint Oliver, that worked a treat. Much appreciated
otacke
Wed, 09/30/2020 - 15:15
Permalink
You're welcome! As I
You're welcome! As I mentioned, it's quite a hidden feature ;-)
BV52
Wed, 09/30/2020 - 18:47
Permalink
Thanks Oliver it would have
Thanks Oliver it would have taken me a good amount of time looking for the cause of the issue.
otacke
Wed, 09/30/2020 - 18:52
Permalink
Da nicht für! :-D (Google
Da nicht für! :-D (Google Translate is not that accurate, but maybe you get the idea)
Sebastien G.
Thu, 03/04/2021 - 23:48
Permalink
The issue in Moodle
Hi Everybody,
We use Moodle in my school and we have the same issue, is the solution Enable LRS content is working for Moodle? Because, for now, we can see the results or the answers of our students.
Thanks in advance for your answers,
Sébastien G.
Antonskyy
Fri, 03/05/2021 - 00:49
Permalink
Fixed in 3.9.3
Hi Sebastien,
Yep, we had that issue on Moodle too which was fixed in MDL-69736 so should work okay if you upgrade to Moodle 3.9.3, 3.10 or higher. If you can't upgrade, the fix is just a few lines of code in one of the H5P core library files - post back if you need help with that. Moodle app on iOS is still glitchy on that front so opened another tracker issue MOBILE-3700.
Cheers,
Anton
BeyondLimitsEDU
Tue, 03/09/2021 - 08:09
Permalink
Help Requested
I won't be able to upgrade until May. I will be grateful for the code patch so I can update my core files. I am running Moodle 3.9.1.
Antonskyy
Tue, 03/09/2021 - 15:23
Permalink
Patch
You'll need to insert the following if statement after line 356 (that's $settings['moodleComponent'] = $this->component;) in /h5p/classes/player.php
Here's what it should look like (see lines 357-359)
Hope this helps!
Anton
BeyondLimitsEDU
Tue, 03/09/2021 - 19:28
Permalink
Still Having Problems
Thank you for the patch. I have entered it as shown. However, I am still not seeing the Submit button show up when testing in my student test account. I have tested in both Chrome and Edge.
Is there another setting that I may be missing?
I am running the following:
I do have H5P (mod_hvp) 1.21.0 installed. Could this be conflicting with the core H5P?
Thanks again for all the help! I greatly appreciate it.
Brigitte
Moodle Version 3.9.1
BeyondLimitsEDU
Tue, 03/09/2021 - 19:33
Permalink
Thank you! I have added the
Thank you! I have added the code as directed, but am still not seeing the submit button. I have tested using a student test account as well as my admin account in both Chrome and Edge browsers.
I also switched themes to rule out a theme problem.
I do have hvp_mod 1.21.0 installed. Could this being creating an issue?
Thanks again for all your help!
Brigitte
Antonskyy
Wed, 03/10/2021 - 03:29
Permalink
Tricky one..
Sorry to hear that, Brigitte. It's odd as it worked fine in our case but circumstances differ, I guess. Not sure how H5P plugin and H5P core sit together (any experts reading this please do step in).
We upgraded from 3.9.0 to 3.9.2 and removed the H5P plugin at the same time. None of our existing H5P content seemed to be affected and we carried on with creating new content within the content bank.
You're right though - the plugin might be overriding the core in your case. I'd suggest copying your prod instance to a staging or local environment and seeing if removong the H5P plugin solves the problem without affecting existing functionality. It's quite a bit of extra work but being cautious never hurt.
Cheers,
Anton
BeyondLimitsEDU
Wed, 03/10/2021 - 19:35
Permalink
Hi Anton,Thanks for getting
Hi Anton,
Thanks for getting back to me. I had a chance to test my theory and removed the mod-H5P plugin. This did not solve the issue.
Thanks for helping.
Brigitte