Auto evaluation and assigments submission

Home Forums Legacy Support Support queries How-to & Troubleshooting Auto evaluation and assigments submission

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #147380
    chinolz
    Spectator
    Similar problem like here in this post https://wplms.io/support/forums/topic/finished-the-assignments-to-submit-the-course/ Assigments lock : Disabled (must be disabled since users can choose to do them some other time) Assigment evaluation: manually Course set to: Auto evaluation Quizes : Auto evaluated When user finish all units, passed all quizes, and submits all assigments (however instuctor didnt evaluate them in time - because evaluation is manual) The user is able to click finish course. This will result in user failing the course since the assignments are not yet evaluated. But he is still able to submit the course How can we prevent this from happening? E.g some hook to check if all submitted assignments are evaluated add_filter('wplms_finish_course_check') That all assignments must be fully evaluated in order for user to submit the course (locking the assignments is not an option)
    #147382
    chinolz
    Spectator
    PERFECT SCENARIO: assignment not submitted => user clicks "Finish course" => system checks for assignment grade (not present) => system blocks "course finish" assignment submitted, graded => user clicks "Finish course" => system checks for assignment grade (present) => system allows "finish course" assignment submitted, not graded => user clicks "Finish course" => system checks for assignment grade (not present) => system blocks "finish course
    #147474
    H.K. Latiyan
    Participant
    Hi, The last code provided in the topic you shared will work for you. In that code it's checked if the marks are set for that assignment for the user or not.
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Auto evaluation and assigments submission’ is closed to new replies.