How to Display Login Pop-up

Home Forums Legacy Support Support queries How-to & Troubleshooting How to Display Login Pop-up

Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #241611
    fauis
    Spectator
    Hi, When non logged-in users click the course material (https://imghostr.com/S5F5Q42K), I want to make the login pop-up appear. Can anyone tell me how to do this? Thanks
    #241810
    logan
    Member
    please share something useful: https://share.getcloudapp.com/2NurGGyy i did not understand your querry.
    #242807
    fauis
    Spectator
    Hi, Sorry, it appears the image has been removed. For example, here in my TOEFL ITP course: https://digix.id/course/toefl-itp/ I have a listening quiz in my curriculum: https://imghostr.com/mQqc2A41f  (see the blue circle mark) I want to make when users are not logged-in, and they click this quiz, the log in pop up will appear. Maybe somewhat similar with udemy: https://imghostr.com/qjBwT5sh1 When I'm not logged-in, and I click the enroll now button, the register form appear.
    #242980
    logan
    Member
    Hello, there is a setting in wp-admin >> lms >> settings >> enable login pop up. refer: https://share.getcloudapp.com/12u1qQoe when they click this button then it will show the pop up box. refer: https://share.getcloudapp.com/L1ugx8Q9
    #244184
    fauis
    Spectator
    Hi, Can I also make the login popup appear when I click the course material here: https://imghostr.com/mQqc2A41f  ?
    #244276
    Diana
    Participant
    @fauis, No, we don't have a setting for that. And, if a user is not logged in then the course curriculum units will not be shown as a link. So we can't achieve this functionality even if I try to achieve it using JQuery
    #244363
    fauis
    Spectator
    Hi, I try to solve this problem by displaying some message for not logged-in users using php. I add this php code in course description : <?php if (is_user_logged_in() ) { echo " "; }else{ echo " Please login to access the course "; } ?> but the text didn't appear. Did I miss something?
    #244364
    fauis
    Spectator
    This reply has been marked as private.
    #244442
    fauis
    Spectator
    Hi, You can ignore this message, I've found another workaround gracias
    #244514
    Diana
    Participant
    @fauis, Okay, closing this topic then
Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘How to Display Login Pop-up’ is closed to new replies.