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
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.
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
@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
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?