Mandatory course review not finishing course

Home Forums Legacy Support Support queries How-to & Troubleshooting Mandatory course review not finishing course

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #197386
    gsjaak
    Spectator
    Hi! I am implementing this tip: https://wplms.io/support/knowledge-base/mandatory-course-review-before-course-finish/ It works nice as it urges people to give a review on course submission. However, after placing a review, it redirects to the course page and it does NOT finish the course. Could you append the code that after submitting a review the course is marked as finished for this person after he/she posts a review. kind regards
    #197513
    logan
    Member
    Hello, i have updated the code here: https://wplms.io/support/knowledge-base/mandatory-course-review-before-course-finish/ Replace by this one. the review comes after finishing the course. Refer: https://screencast-o-matic.com/watch/cqnql70Vwx  
    #197626
    gsjaak
    Spectator
    Thanks for getting back. There is a syntax error in the code (it misses an "}", i guess at the end). I tried the snippet, but how is this different from the default working? When I click on finish course in the course, the course is finished never mind that I didn't write a review. The review form that is written in the snippet is never triggered. It is the default screen you get after finishing the course.. It should be: (1) Click Finish Course (2) Write a course review (3) post course review (4) System marks course as finished (5) Redirect to course finished page (which says: you finished the course and got a certificate, basically the one you see now with this snippet).  
    #197684
    logan
    Member
    Ok please try out this modified code (tried and tested ): https://gist.github.com/99madhvendra/0f9b12d631fd5440d84a33fb55beb2ca
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Mandatory course review not finishing course’ is closed to new replies.