My H5P quizzes are not loading at my staging website, I use all the same settings. Only difference is WPLMS 4.4 and all that comes with it.. I want to activate the WPLMS h5P plugin but when activating it shows a fatal error. No further info is given. Any idea how to get my integrated H5P quizes back and active? Thanks!
I also have the plugin H5P and H5P mods, second one is created by you guys couple years back to fix another issue... And I have WPLMS h5P custom another plugin created to fix an issue... So that's already 3 active plugins to make H5P work with WPLMS... These haven't caused any issues on my 3.9 live website.
I can activate WPLMS h5p and the H5P and the mods one, then only I need to activate the custom h5p plugin. When I do that I also get a fatal error. Then it gives more info: Fatal error: Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php:62) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php on line 48
In a two-year old ticket I read that quizes only work when the unit is set as video. Is that really true? That would mean I have to change 400 quizzes!!!!!! I set them all the quizes. So I now have to add a unit, move the content and set the unit as a video? That's really crazy.
Ok. That means that the added functions/visuals created with the custom h5p plugin need to be later added to my migrated website. I'll make a not of that..
Q2: When I click RETAKE COURSE here, it loads the same page. Is it possible to directly bring me inside the course? Saves me two clicks and about 10 seconds..
Q3: There is quite some loading time on some of the pages now. You think that will be solved once I turn the staging website to the live environment?
Q4: Can I move the previous/next button like it was in 3.9, see here. And thus delete the button that says OEFENEN. And can I delete the 'leave rating'?
Q5: Another unnecessary click is when you go to the next quiz. I've already clicked OEFENEN (name of next quiz) at the bottom and then I have to click this button to actually start the quiz. Why not skip this stip? How can we get that done?
Q6: After completing a quiz it says how many retakes I have left. Can I delet this info? It's unnecessary when it's unlimited..
Q7: Last question, is it possible to style these buttons? So that they are the same and in line with all other buttons at the site?
As you can tell I'm getting hyped for what WPLMS 4.4 has to offer but also a bit nervous of all the work that has to be done before I can present this updated version to my almost 4000 students.
Thanks for all your time and help. I wouldn't mind paying a bit more for all these quick reponses. Think about it.
1. I thought maybe we could hide this by creating a custom course card/layout, not very sure what is what. But anyways, how can we hide it with css. All of this.
2. Can I delete this bit then, just the number of retakes taken/total?
3. Looks great. Really great. Maybe this is something to dive when all is done and everything has been customized/fixed. But I add it to my trello ;)
4. Ah, it looks so ugly. And I feel that it's not intuitive. These buttons should be at the bottom of a quiz, not top right. But ok. I'll ask again later :)
5. There is no configuration where this button is skipped and the quiz is directly visible? Not even with a bit of script/code?
6. Worked! Thanks
7. I can't seem to get both buttons to work. I want them to have the same styling (also hovering) as the course buttons at my live website, like these. I can't change the buttons with Elementor? I though that that's why I now need Elementor. To customize..
Could you explain what that problem was? I don't understand.. I don't want quizzes to be accessable without entering a course. I never wanted that. Or maybe you mean something else. Please explain.
Sorry, don't understand. As administrator MeesterGijs I still can't get to the next quiz when I follow this path. And as student GijsPal I can't even access courses here; I'm still being sent to checkout even after having active membership.
So what if fixed when you say: "H5p quiz on single quiz page also fixed" I don't want quizzes accessable on single page. Only through access in entire course, for which students have to pay. No easy/free access please.
Hello,
My H5P quizzes are not loading at my staging website, I use all the same settings. Only difference is WPLMS 4.4 and all that comes with it.. I want to activate the WPLMS h5P plugin but when activating it shows a fatal error. No further info is given. Any idea how to get my integrated H5P quizes back and active? Thanks!
I also have the plugin H5P and H5P mods, second one is created by you guys couple years back to fix another issue... And I have WPLMS h5P custom another plugin created to fix an issue... So that's already 3 active plugins to make H5P work with WPLMS... These haven't caused any issues on my 3.9 live website.
I can activate WPLMS h5p and the H5P and the mods one, then only I need to activate the custom h5p plugin. When I do that I also get a fatal error. Then it gives more info: Fatal error: Cannot redeclare wplms_h5p_translations() (previously declared in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-plugin/wplms-h5p.php:62) in /www/meestergijs_294/public/wp-content/plugins/wplms-h5p-custom/wplms-h5p.php on line 48
In a two-year old ticket I read that quizes only work when the unit is set as video. Is that really true? That would mean I have to change 400 quizzes!!!!!! I set them all the quizes. So I now have to add a unit, move the content and set the unit as a video? That's really crazy.
Please help.
Gijs
Custom h5p plugin will not work and the h5p quizzes will work only after migrating properly to v4 .
quizzes are working here on this page .
https://prnt.sc/WIZY3eNPu4SA
Ok. That means that the added functions/visuals created with the custom h5p plugin need to be later added to my migrated website. I'll make a not of that..
This is that code:
include_once 'classes/wplms.h5p.class.php';
if(class_exists('Wplms_H5p_Class'))
{
// Installation and uninstallation hooks
register_activation_hook(__FILE__, array('Wplms_H5p_Class', 'activate'));
register_deactivation_hook(__FILE__, array('Wplms_H5p_Class', 'deactivate'));
// instantiate the plugin class
add_action('init',function(){
if ( in_array( 'vibe-customtypes/vibe-customtypes.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) && in_array( 'vibe-course-module/loader.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) && in_array( 'h5p/h5p.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) )) {
$wplms_h5p = Wplms_H5p_Class::init();
}
});
}
add_action('plugins_loaded','wplms_h5p_translations');
function wplms_h5p_translations(){
$locale = apply_filters("plugin_locale", get_locale(), 'wplms-h5p');
$lang_dir = dirname( __FILE__ ) . '/languages/';
$mofile = sprintf( '%1$s-%2$s.mo', 'wplms-h5p', $locale );
$mofile_local = $lang_dir . $mofile;
$mofile_global = WP_LANG_DIR . '/plugins/' . $mofile;
if ( file_exists( $mofile_global ) ) {
load_textdomain( 'wplms-h5p', $mofile_global );
} else {
load_textdomain( 'wplms-h5p', $mofile_local );
}
}
These codes will not work since its the totally new framework for h5p which mostly works on react.
Did you try new h5p quizzes from app page ?
https://staging-meestergijs.kinsta.cloud/app
As an administrator I was able to access a course an do quizzes. Love the visual after completing course, with the confetti :)
Still have some questions.
Q1: Where can I delete this information? My students are mostly between 11-18. It's too much info..
Q2: When I click RETAKE COURSE here, it loads the same page. Is it possible to directly bring me inside the course? Saves me two clicks and about 10 seconds..
Q3: There is quite some loading time on some of the pages now. You think that will be solved once I turn the staging website to the live environment?
Q4: Can I move the previous/next button like it was in 3.9, see here. And thus delete the button that says OEFENEN. And can I delete the 'leave rating'?
Q5: Another unnecessary click is when you go to the next quiz. I've already clicked OEFENEN (name of next quiz) at the bottom and then I have to click this button to actually start the quiz. Why not skip this stip? How can we get that done?
Q6: After completing a quiz it says how many retakes I have left. Can I delet this info? It's unnecessary when it's unlimited..
Q7: Last question, is it possible to style these buttons? So that they are the same and in line with all other buttons at the site?
As you can tell I'm getting hyped for what WPLMS 4.4 has to offer but also a bit nervous of all the work that has to be done before I can present this updated version to my almost 4000 students.
Thanks for all your time and help. I wouldn't mind paying a bit more for all these quick reponses. Think about it.
Gijs
1 . Well this is not available right now but we can hide it using css . .
2 . Well im sorry again this is not possible , you should be seeing the button with start course there .
3 . yes I think it will get better , also we have this feature to boost site speed :
4 . Im sorry this is also not possible as of now .
5 . Im sorry that is also not possible as of now you need to start the quiz . that button is crucial .
6 .
Please try adding this custom css in your wp-admin-> appearance-> customize -> custom css :
.h5pQuiz .quiz_header .quiz_retake strong{display:none;}
7 .
Please try adding this custom css in your wp-admin-> appearance-> customize -> custom css :
a.start_quiz.button.full.is-primary { padding: 2rem !important; margin: 0rem -2rem 0rem -1rem; width: calc(100% + 2rem); }
Hi
1. I thought maybe we could hide this by creating a custom course card/layout, not very sure what is what. But anyways, how can we hide it with css. All of this.
2. Can I delete this bit then, just the number of retakes taken/total?
3. Looks great. Really great. Maybe this is something to dive when all is done and everything has been customized/fixed. But I add it to my trello ;)
4. Ah, it looks so ugly. And I feel that it's not intuitive. These buttons should be at the bottom of a quiz, not top right. But ok. I'll ask again later :)
5. There is no configuration where this button is skipped and the quiz is directly visible? Not even with a bit of script/code?
6. Worked! Thanks
7. I can't seem to get both buttons to work. I want them to have the same styling (also hovering) as the course buttons at my live website, like these. I can't change the buttons with Elementor? I though that that's why I now need Elementor. To customize..
1. , 2
Please share your site url and admin creds in private reply
.course_blocks .course_label,.course_title_wrapper,.course_retakes {display:none !important;} .course_meta_data { margin-top: 1rem !important; }5 . sorry not possible .
7 . allready shared custom css for this : https://imgur.com/a/onJyW0r
is there anything else do you need .
ITs already hidden :
https://prnt.sc/B7LqKkf-x7d1
Correct, how come? Ah, whatever. Looks great now.
Thanks, Alex. For all your responses. It's really helping move from 3.9 to 4.4
Let's close this one. :)
H5p quiz on single quiz page also fixed.
Could you explain what that problem was? I don't understand.. I don't want quizzes to be accessable without entering a course. I never wanted that. Or maybe you mean something else. Please explain.
Gijs
Previously quizzes were not working here : https://staging-meestergijs.kinsta.cloud/quiz/chunks-2/
now its working.
Sorry, don't understand. As administrator MeesterGijs I still can't get to the next quiz when I follow this path. And as student GijsPal I can't even access courses here; I'm still being sent to checkout even after having active membership.
So what if fixed when you say: "H5p quiz on single quiz page also fixed" I don't want quizzes accessable on single page. Only through access in entire course, for which students have to pay. No easy/free access please.
Please enable full course status from on course buttom from wp-admin -> lm s-> settings .
Also also goto wp-adin-> wplms -> course manager -> de-select the take this course page there .
Full course status is enabled: https://imgur.com/a/b2LCwgV
I disabled take this course page. And now it just reloads the course page; for example: https://staging-meestergijs.kinsta.cloud/item/all-every-each/#component=course
So the course images here or the course buttons still don't direct student to app environment.
its working https://somup.com/c3Q12sU31l
Yeah! Let's close this one Alex.
Thank you so much.