Ended Course – Hide start button

Home Forums Legacy Support Support queries How-to & Troubleshooting Ended Course – Hide start button

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #352010
    Marco
    Spectator
    Hello, I have course that are only for 1 day and I would like to know how: 1 - disable/hide course button or how to change the text on button after the course is ended, for example: a course start on 15 of April and is only for 1 day, the day after, on 16 of April, people dosen,t see the text "TAKE THIS COURSE" but they see something like "COURSE ENDED". I don't like do disable accessibility without choose any option (price or free course) because the "TAKE THIS COURSE" button will become"PRIVATE COURSE". 2 - disable course access for student subscribed to a course after a certain number of days the course is ended. Thank you for any suggestion! Marco
    #352085
    Diana
    Participant
    Point 1: When the course is finished, the text will change itself on course button, on the basis of start date, limiting course access, we don't have this functionality No idea whether this will work or not: https://wplms.io/support/knowledge-base/setting-a-course-end-date/ But using this tip, you can create a metabox which will store the end date information of the course and then not let the users to access course material Point 2: Yes, if course duration is set as "2 days" and user is enrolled in that course, then after 2 days the course will be expired for that user
    #352927
    Marco
    Spectator
    Dear Diana I think the code is not working with free course. In the front end doesn't save the end date. I found this https://wplms.io/support/knowledge-base/force-course-expiry-for-all-users-to-a-set-date-and-time/ but is only for backend but a student can take the free course even if the end date is passed. Any solution? Thank you, Marco
    #352990
    Diana
    Participant
    This tip is very old, And now in frontend we are using different technology. You can try this tip if it is working or not, but you have to manage this end date functionality from backend only
    #353576
    Marco
    Spectator
    Dear Diana, I tryed but the tip doesn't work, and if I set and end date student still access to course. The only solution is manually extend the subscriptions using negative values, so I can set the course as expired. But is possible to check all the students from frontend in v4? Actually there is no option and is really a waste of time to check manually every student! Thank you, Marco
    #353740
    Diana
    Participant
    http://prntscr.com/11stpmh When you check any course from frontend, in this way it shows the expired status And when this user will try to access the course after logging in to his account, the button of course will show "Expired"
    #353787
    Marco
    Spectator
    Dear Diana, this css a good workaround, but is possible to check to select all student with one click? So I could select all student and for example change the subscription to course! Thank you, Marco
    #353929
    Diana
    Participant
    You can try this: https://wplms.io/support/knowledge-base/extending-subscription-of-all-users-in-a-course/
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Ended Course – Hide start button’ is closed to new replies.