Moodle / H5P Activity Completion
I am finding that when a Moodle user completes a Moodle quiz or activity, another Moodle page can be automatically unlocked.
However when a user completes an H5P activity, the next page is not automatically unlocked. The user needs to click on another page for Moodle to realise that the previous activity has been completed.
If I have a Moodle page with a 'Restrict Access' 'Student Must Match the following' - Activity Completion - Exercise 6 - Must be completed with a pass grade.
If Exercise 6 is an H5P activity, when the user completes the ativity, the restricted page is not unlocked automatically. The user needs to click another previously unlocked page for Moodle to realise that the Activity was completed.
Please let me know if that makes enough sense or if I should elaborate.
Tue, 11/13/2018 - 01:26
Hi GameTraining,Can you
Can you please elaborate on what settings determines a page/content locked and what/how it is unlocked. Is this somehow dependent on "activity completion" which H5P activities provide.
You mentioned that this can be unlocked by using a Moodle quiz or activity automatically. Does this reload the page or are there some AJAX requests unlocking the next page ?
Mon, 02/04/2019 - 01:16
Hi there,Sorry for my delayed
Sorry for my delayed reply.
Here is an example:
I have an h5P Quiz (Question Set) with 3 questions.
Grade to pass: 10
Maximum Grade: 10
Require View - Student must complete activity to complete it - Checked
Require Grade - Student must receive a grade to complete this activity - Checked
On the following section we are using:
Student [must] match the following
Activity completion [Section 1] must be completed with a pass grade.
This is what is happening. The student completes the Section 1 activity with a perfect score 10/10 and Section 2 does not appear in the left hand main navigation menu. However as soon as the student clicks the Section 1 link in the main navigation menu, the Section 2 link suddenly appears.
However in any activities which do not use the H5p plugin, when a quiz for example is completed, the next section link instantly appears on the main navigation menu.
It would be wonderful if after completing an H5p activity the next section was able to dynamically update the main navigation menu in the same way the standard Moodle activities can. I'm sure it can and I assume I'm doing something wrong.
Any help would be great thanks.
Tue, 02/05/2019 - 11:16
Hi, Thanks for elaborating on
Hi, Thanks for elaborating on this.
Currently H5P just tells Moodle what score it has received, it does not refresh the page or send special AJAX requests to Moodle, which I assume is required in order to refresh the navigation menu, so in order to have this it would have to be implemented.
Feel free to create an issue in the open JIRA issue tracker or on GitHub.