Home › Forums › Legacy Support › Support queries › Other issues › Problem with the course marks
- This topic has 8 replies, 3 voices, and was last updated 3 years, 10 months ago by Veronica.
Viewing 9 posts - 1 through 9 (of 9 total)
-
AuthorPosts
-
May 22, 2020 at 10:09 am #261806InterMediaKTParticipantHello, I face a problem with the mark for a course in my learing platform. I create a course with 2 Units and 1 survey type quiz and the evaluation method is automatic. When someone finish the course the result is something like e.g. 296/100!! See the image: http://prntscr.com/sln9pn I've noticed that if I exlude the survey type quiz from the course, the evaluation is go back to normal like 100/100. How to solve it, in order when a student take this course could have a specific mark according to the survey type quiz like, 95/100. Thank you in advance!May 23, 2020 at 10:56 am #262161Anshuman SahuKeymasterOk for the survey quiz please check for each question must have set the marks total of the each number of options : for example if there are 5 options than question marks should be set : 5 + 4 + 3 + 2 + 1 = 15 . and add this code in your wplms-customizer.php file in wplms customizer plugin : add_filter('wplms_correct_quiz_answer',function($marks,$quiz_id,$user_marked_answer,$question){ $type = get_post_meta($question,'vibe_question_type',true); if($type == 'survey'){ return 1; } return $marks; },10,4);May 25, 2020 at 2:24 pm #262637InterMediaKTParticipant@Alex, Thank you for this php code. But it seems that it calculate only the survey now. Now, when I take this course and complete all questions with 5/5 (5 options/question marks) inside the survey - quiz, the automatic evaluation give us 33/100, becuase I have 2 units and a quiz inside this course. Now it is only evaluate the quiz and not the others units. How I could have a summarized evaluation for all the units of the course?May 26, 2020 at 10:38 am #262850InterMediaKTParticipant@Alex, Thank you for this php code. But it seems that it calculate only the survey now. Now, when I take this course and complete all questions with 5/5 (5 options/question marks) inside the survey - quiz, the automatic evaluation give us 33/100, becuase I have 2 units and a quiz inside this course. Now it is only evaluate the quiz and not the others units. How I could have a summarized evaluation for all the units of the course?May 26, 2020 at 1:42 pm #262950Anshuman SahuKeymasterPlease check all questions in your quiz , thier type should be set to survey . Im sorry I told marks setting to be wrong . you have to set the number of option as marks in each question . If you have 5 options then question marks should be 5 .May 27, 2020 at 11:04 am #263208InterMediaKTParticipantThank you @Alex! Now is working! And the score is more than 33/100 acording to the survey answers!May 28, 2020 at 10:57 am #263665VeronicaModeratoris it solve now? have you got the explanation to clear out your doubts?May 28, 2020 at 11:15 am #263692InterMediaKTParticipantYes! Thank you! We can close the topic.May 29, 2020 at 10:57 am #264026VeronicaModeratorthanks for confirmation. marking it as resolved topic closed
-
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)
- The topic ‘Problem with the course marks’ is closed to new replies.