Register/Login/Apply for course links

Home Forums Legacy Support Support queries How-to & Troubleshooting Register/Login/Apply for course links

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #136103
    ljdl
    Participant
    Hi there, I'd like all links to the Register page to send the user to an external link - a third party booking system. I've tried installing and setting up a plugin called Page Links To, however it's not working at all. Can you recommend a solution?
    #136127
    H.K. Latiyan
    Participant
    Hi, I am not clear which links you are referring to which would redirect users to an external link. Is it only for non-logged in users or logged in users also. Please share more details on this with some screenshots.
    #136133
    ljdl
    Participant
    This reply has been marked as private.
    #136220
    H.K. Latiyan
    Participant
    Hi, For the apply for course button or any course button you can link it to the external link refer this tutorial: https://vibethemes.com/documentation/wplms/knowledge-base/connect-take-this-course-button-to-external-page-2/ For the register page add the below code in your wplms-customizer.php file present in your wplms customizer plugin. add_action('template_redirect',function(){   global $post;   $register_page_id = $id = vibe_get_bp_page_id('register');   if( $post->ID == $register_page_id ){     $page = 'http://vibethemes.com';     wp_redirect($page);     exit;   } },1);   NOTE: => In the above code please change the http://vibethemes.com to your external link. => Make sure the buddypress register page is connected in wp-admin->settings->buddypress->pages->register. Now this page will not open, and everytime any user tries to open this page the user will be redirected to the page set in the code.  
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Register/Login/Apply for course links’ is closed to new replies.