Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Quiz – How can I reduce the amount of clicking?
Tagged: quiz, quiz click, quiz popup, Submit Quiz
- This topic has 7 replies, 3 voices, and was last updated 6 years, 1 month ago by Diana.
Viewing 8 posts - 1 through 8 (of 8 total)
-
AuthorPosts
-
March 7, 2018 at 6:52 pm #149257jmu289ParticipantI've received some complaints recently about the number of "clicks" needed to submit a quiz. I have a couple questions about how I can make this a better user experience:
- I recently noticed the "show results after submission", this removes one click where the user needs to click check results. Is there any way to apply this to all of my quizzes? Or do I have to go through and individually edit the settings of each quiz? I have hundreds of quizzes, I'm hoping I can set all quizzes to this setting with some type of "apply all" function.
- Start quiz - I click a quiz, then click "start quiz", then a pop-up says "You're about to start the Quiz. Please click confirm to begin the quiz.". Anyway to cut all of this down? So that I can just click the unit and the quiz automatically begins?
- Submit quiz - I click submit quiz then a pop-up says "Are you sure you want to submit the quiz. Submitting the quiz will freeze all your answers, you can not change them. Please confirm." - is there any way to turn this off? So that submit quiz automatically submits without asking?
March 8, 2018 at 6:17 am #149300Mark MorganSpectatorHello, 2 & 3. The pop up for start quiz and submit quiz is hard coded in wplms and it can not be disabled. 1. The setting "show results after submission" can be set to "show" for all your quizzes by adding following php code in your wplms-customizer plugin -> wplms-customizer.php file. Php code: add_action('plugins_loaded',function(){ $obj = BP_Course_Action::init(); remove_action('wplms_after_quiz_message',array($obj,'show_quiz_results_after_quiz_message'),10,2); add_action('wplms_after_quiz_message','show_quiz_results_after_quiz_message',10,2); }); function show_quiz_results_after_quiz_message($quiz_id,$user_id){ if(!is_user_logged_in()) return ''; if(empty($quiz_id)) return ''; //if(function_exists('vibe_validate') && vibe_validate($eanbled)){ if(empty($user_id)){ $user_id = get_current_user_id(); } if(!empty($quiz_id) && !empty($user_id)){ $return = bp_course_quiz_results($quiz_id,$user_id); $course_id = get_post_meta($quiz_id,'vibe_quiz_course',true); if(!empty($course_id)){ $return .= bp_course_quiz_retake_form($quiz_id,$user_id,$course_id); }else{ $return .= bp_course_quiz_retake_form($quiz_id,$user_id); } $return .= '<style>.quiz_result h3.heading span,.quiz_results_popup {display:none !important;}</style>'; } //} echo $return; }April 4, 2018 at 6:59 pm #152234jmu289ParticipantThanks! So WPLMS does not offer and PHP or CSS to remove pop-up "You're about to start the Quiz. Please click confirm to begin the quiz." and "Are you sure you want to submit the quiz. Submitting the quiz will freeze all your answers, you can not change them. Please confirm."?April 5, 2018 at 5:54 am #152262Mark MorganSpectatorThe popups your are asking to remove are hard coded in theme. If we changed the code to remove the popups then it will appear again when you update the theme. If you still wish to remove this popups then after update of theme we will not provide the support for this again and again as this is the part of customization.April 5, 2018 at 12:55 pm #152324jmu289ParticipantMakes sense, thank you for the explanation!April 6, 2018 at 4:25 am #152383DianaParticipant@jmu, Can we close this topic now?April 6, 2018 at 3:18 pm #152480jmu289ParticipantYes, thanks!April 7, 2018 at 4:38 am #152511DianaParticipant@jmu29, Thanks for confirmation... -
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)
- The topic ‘Quiz – How can I reduce the amount of clicking?’ is closed to new replies.