[WPLMS LEGACY] Disable Finished Course for Private Course ONLY

Home Forums Legacy Support Support queries Other issues [WPLMS LEGACY] Disable Finished Course for Private Course ONLY

Viewing 4 posts - 31 through 34 (of 34 total)
  • Author
    Posts
  • #362429
    squallhajime
    Spectator
    This reply has been marked as private.
    #362459
    Ada
    Participant
    Hi, there was a slight error of extra space here .more_course form :nth-child(2) in wplms-customizer.php . that is why the code was not working. but this code will hide finish course button also for free courses . So please specify your use-case do you want to hide this button only for course in which you have not set any accessibility setting ? Or for the courses for which you have not created a product like free courses or pmpro courses also? Based on that I'll need to modify the code.
    #362473
    squallhajime
    Spectator
    Dear Ada, Thank you for your support. I believe if we do not create and associate a Product to a Course. The Course will appear as a PRIVATE COURSE. On top of that, the Course will only appear as FREE COURSE if we turned on "Free Course" option at each course setting. Correct me if i am wrong. Basically, what we need is just to disable the "Finish Course" button for all "PRIVATE COURSE" only. To prevent PRIVATE COURSE's student from accidentally click on "Finish Course" to end the course before the total duration of the course. So i guess courses for which do not have a created product would achieve the purpose, since we do not have free courses.
    #362597
    Ada
    Participant
    Hi, Yes you are right if you have not set product neither enabled free course switch then it will be private course. Okay so if you do not have any free courses on your site the this code will work fine for you. But just for your information- If you enable free courses on your site then for that course finish course button will be hidden. Please confirm can we close this topic?
Viewing 4 posts - 31 through 34 (of 34 total)
  • The topic ‘[WPLMS LEGACY] Disable Finished Course for Private Course ONLY’ is closed to new replies.