Home › Forums › Legacy Support › Support queries › Other issues › Auto Evaluation Sometimes Working, sometimes not
Tagged: autoevaluation, quiz
- This topic has 107 replies, 6 voices, and was last updated 4 years ago by Veronica.
-
AuthorPosts
-
October 16, 2020 at 11:34 am #318837MrVibeKeymasterOh no, there is so less time, I would have recommended to switch to v4. Can you ask your users to save the quiz, saving the quiz means that you have a manual method to capture and evaluate in case things do not work out. Write in the quiz description about this.
- Is this happenning when multiple users submit the quiz ?
October 16, 2020 at 11:34 am #318838paitchadzeParticipantThis reply has been marked as private.October 16, 2020 at 11:36 am #318840paitchadzeParticipantmanual won't work as there is too much time. Changing to V4 is going to take lots of time in my opinion. and its not happening when multiple users submit. it can be even 1 user.October 16, 2020 at 11:37 am #318841MrVibeKeymasterCan you get any data on whcih browser they're using ? Must not use in in Cognito mode , the quiz saves the result in the localstorage as well. If react quiz is disabled it might be a good idea to enable them. React quiz posts 1 request at the end of the quiz to the database Single quiz posts 1 request for each question to save the question first into comments and then a cumultative score.October 16, 2020 at 11:39 am #318844paitchadzeParticipantThis reply has been marked as private.October 16, 2020 at 11:42 am #318846MrVibeKeymasterSo in WP admin - Tools -SQL Exectuioner, I see :select * from $bp_activity WHERE user_id = 275 AND secondary_item_id =842
https://prnt.sc/v0ivnj and the result is blank. https://prnt.sc/v0iw4y -- Recommending React Quiz to resolve this issue.October 16, 2020 at 11:43 am #318847MrVibeKeymasterIf data is saved in comments there is another way to force generate the quiz result. Sharing that in 2 minutes.October 16, 2020 at 11:44 am #318848MrVibeKeymasterok yes, then the user views the quiz result. Add a ?force=1 parameter in the browser for the quiz result permalink.October 16, 2020 at 11:45 am #318849paitchadzeParticipantThis reply has been marked as private.October 16, 2020 at 11:46 am #318850MrVibeKeymasterfor react quiz add this line in .htacces , see link : https://wplms.io/support/knowledge-base/quizzes-on-react/October 16, 2020 at 11:47 am #318851paitchadzeParticipantAdd a ?force=1 parameter in the browser for the quiz result permalink. where can I add quiz result permalink?October 16, 2020 at 11:48 am #318852MrVibeKeymasterThe quiz data is a huge overhead we are caching the data in the activity. So once the data is cached in the activity, it would show form the activity. There is another option to add a code fix to stop this caching of data altogether, since you have smaller quizzes this can work. so in bp-course-tempalte.php we locate this line of code: if(!empty($results) && !isset($_GET['force']) && $from_activity_meta){ $quiz_status = bp_course_get_user_quiz_status($user_id,$quiz_id); and change it to , basically forcing quiz to re-create entire data for the result if(!empty($results) && 0 && $from_activity_meta){ $quiz_status = bp_course_get_user_quiz_status($user_id,$quiz_id);October 16, 2020 at 11:51 am #318853MrVibeKeymasterThis is the results screen for students : https://prnt.sc/v0j2fu Click on quiz is the permalink , so you see something like this in url : https://elearning.isfed.ge/members/vibeadmin/course/course-results/?action=1681 -- to force regenerate result : https://elearning.isfed.ge/members/vibeadmin/course/course-results/?action=1681&force=1October 16, 2020 at 11:52 am #318856paitchadzeParticipantThis reply has been marked as private.October 16, 2020 at 11:54 am #318857paitchadzeParticipantI shall send that link to users? because I cannot enter there. -
AuthorPosts
- The topic ‘Auto Evaluation Sometimes Working, sometimes not’ is closed to new replies.