I need help urgently for curriculum tab login popup

Home Forums Legacy Support Support queries How-to & Troubleshooting I need help urgently for curriculum tab login popup

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #215719
    virkvitund
    Spectator
    I want to setup curriculum tab only for login user and if user is not login and he clicks on curriculum tab show them login popup. I don't hide the “Curriculum” tab totally ,I want to show login popup for non login user on “Curriculum” tab
    #215823
    logan
    Member
    Hello, share your admin credentials so that i can test some code on your dom. jQuery(document).ready(function(){ if($('body').find('.logged-out')){ jQuery('#id1').on('click',function(){ jQuery('a.vbplogin').trigger('click'); }); } });
    #216354
    virkvitund
    Spectator
    This reply has been marked as private.
    #216477
    logan
    Member
    This reply has been marked as private.
    #216771
    virkvitund
    Spectator
    This reply has been marked as private.
    #216894
    logan
    Member
    It works fine for me. i need to check this on your site to replicate. if you are a developer you must know that above codes are simple script and written to click on login button as you do this by your mouse click. there is no redirect thing. <script> jQuery(document).ready(function($){ if($('body').find('.logged-out')){ jQuery('.single-course li#curriculum').on('click',function(){ jQuery('a.vbplogin').trigger('click'); }); } }); </script>
    #217129
    virkvitund
    Spectator
    Ok.I will sort above issue but when we login through login popup it every time redirect to homepage instead of corresponding page is there setting or hook which I can control this redirection.
    #217191
    logan
    Member
    hello, there is a setting in wp-admin >> lms >> setting. refer: http://prntscr.com/oazf3y
    #217215
    virkvitund
    Spectator
    This setting is not working for me.I am login using login popup and with "Student" account. and also  "if($('body').find('.logged-out')){"  above code not able to entire in curriculum tab even I am login into the website or not login.
    #217216
    virkvitund
    Spectator
    I am using latest versions on themes and plugins.
    #217358
    logan
    Member
    Pal :) I really don't understand anything. share your credentials and also let me know what do you want to achieve.
    Tip: For better support always share a screenshot: Please provide a proper screenshot, use https://prnt.sc/ to upload and share URL of the screenshot. If you want to send us a video of the issue, use https://screencast-o-matic.com/ to upload and share the URL of the video.
Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘I need help urgently for curriculum tab login popup’ is closed to new replies.