Sell Quiz advance payment & Start it for one day

Home Forums Legacy Support Support queries How-to & Troubleshooting Sell Quiz advance payment & Start it for one day

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #301396
    Diana
    Participant
    This reply has been marked as private.
    #301635
    Makarand Mane
    Spectator
    This is temporary fix I have added.
    add_filter( 'bp_course_quiz_results_from_activity_meta', '__return_false' );  //prevents to enter in IF part & execution will go to else
    add_filter( 'vibe_marks_roundoff', 'cmp_marks_roundoff', 20, 3 ); //Hook vibe_marks_roundoff available to else part 
    function cmp_marks_roundoff( $total_marks, $sum, $marks ){
        return $sum+$marks;
    }
    @alex Can you please add in next update same hook 'vibe_marks_roundoff' in If part on line no 2911 to filter below. $sum += intval($question['marks']); Also you can add option to enable & disable round off. its too simple
    #301924
    Diana
    Participant
    Yes, you are right that we can add a switch. But right now the team is working on 4.0 features and on other stuff so I can't make any commitment here that we will add this feature. But I will convey your message to the team Now, closing the topic
Viewing 3 posts - 16 through 18 (of 18 total)
  • The topic ‘Sell Quiz advance payment & Start it for one day’ is closed to new replies.