SCORM 1.2 Package Not Giving Score (0/100)

Home Forums Legacy Support Support queries Update Issues SCORM 1.2 Package Not Giving Score (0/100)

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #319659
    oviedogators
    Participant
    Hello, I am trying to use a HTML5 zip package but the LMS is showing a score of 0/100 for each submission. We tested the course in "SCORM Reloader" and "Cloud.SCORM.com" LMS. We are able to get the Score and course completion status there. Can someone please take a look? Admin credentials and screenshots are in the next reply.
    #319661
    oviedogators
    Participant
    This reply has been marked as private.
    #320159
    Anshuman Sahu
    Keymaster
    please try adding this given code in your wplms-customizer.php file in wplms customizer plugin :
    add_filter('wplms_course_student_marks',function($u_marks,$id,$user_id){
        $upload_course = get_post_meta($id,'vibe_course_package',true);
        if(!empty($upload_course )){
          
            return 100;
        }
        return $u_marks;
    },10,3);
    #320195
    oviedogators
    Participant
    Hello and thanks for the response. This code does send data back to the LMS but it always sends 100/100 score even if the student receives a lower grade or fails. Please help. Thank you!
    #320397
    Anshuman Sahu
    Keymaster
    Well the marks in scorm only gets set when the scrom package itself sends this information to scorm api . If it does not then default marks without above code sets to 0 , The above code changes that default score to 100 . updated code to check whether scorm marks are set or not :
    add_filter('wplms_course_student_marks',function($u_marks,$id,$user_id){
        $upload_course = get_post_meta($id,'vibe_course_package',true);
        if(!empty($upload_course )){
            $marks  = get_post_meta($id,$user_id,true);
            if(empty($marks)){
                return 100;
            }else{
                return $marks;
            }
            
        }
        return $u_marks;
    },10,3);
    #320402
    oviedogators
    Participant
    Thank you Alex. The course is still returning 100/100. How can I make sure that the marks are being sent to the API? What should I tell the course developers to fix? Thank you
    #320567
    Anshuman Sahu
    Keymaster
    Well we have learned that if the course package is built using articulate then it should have quiz in it and package type should be passed/failed . then it sends out the marks information for scorm lms api . Similarly its the package creation software for which you have to learn how to send out the marks information .
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘SCORM 1.2 Package Not Giving Score (0/100)’ is closed to new replies.