Redirect Student to All Courses after Login?

Home Forums Legacy Support Support queries Setup issues Redirect Student to All Courses after Login?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #75671
    qclearninglab
    Spectator
    <div class="bbp-reply-content clearfix"> Hi, OK - unless i'm totally spacing...I could have sworn there was the option to redirect to the All Courses page for students after login. But I'm just seeing Home, Profile, Dashboard, Same, Default, My Courses as options. How can I redirect to All Courses? I tried including this code in the Customerizer - but it didn't do anything. Thanks for the anticipated help!!!     add_filter('login_redirect','wplms_custom_login_redirection',999,3); function wplms_custom_login_redirection($redirect_url,$request_url,$user){ $url = 'http://97b.92b.myftpupload.com/all-courses/'; return $url; } </div>
    #75731
    H.K. Latiyan
    Participant
    Please try using this tip to add custom link/page in the login redirect setting: https://wplms.io/support/knowledge-base/adding-custom-links-in-studentinstructor-login-redirect/  
    #75862
    qclearninglab
    Spectator
    This reply has been marked as private.
    #75956
    H.K. Latiyan
    Participant
    You have added the php code in custom css. This is not the css but it is the php code, so you need to remove the code from here and add the code as instructed in the tip. The php code must be added in the wplms-customizer.php file (present in the wplms customizer plugin) OR in the functions.php file of your child theme (if using a child theme for customization purpose).
    #76026
    qclearninglab
    Spectator
    Thank you. Respectfully, how does one know the difference? When I open the WPLMS Customizer there is a button. And all other code ever provided is instructed to go to the Customizer. I really wish you would think about how most of us who are learning to code this stuff are not developers. If we were, we wouldn't be turning to you. Could you please make all steps more obvious? Click here. Then there. Then enter this. The tip doesn't say exactly where to put the code. It says use the WPLMS Customizer. The one I am familiar with which I am often directed to is the one for addressing theme issues. How am I to know that this code is for something other or different. And again, when you to to the WPLMS Customizer page, there's the button making it seem like that is the natural place to click. Can an you please share this feedback with Alex. We have been corresponding about the importance of documentation practices such as this that follow more traditional technical documentation protocols. If you begin to adopt them, you will be able to decrease your tickets significantly. Thank you.
    #76040
    H.K. Latiyan
    Participant
    The php codes are added in the wplms customizer plugin. Go to wp-admin->plugins->editor->select wplms customizer plugin->wplms-customizer.php file, refer: http://prntscr.com/cxihsu At the bottom of the file you can add the code. NOTE: You have to add the exact code, if there is any mistake in adding the code then your site will give a fatal error and the site will not work. In such case you have to login through ftp and remove the added code to make your website up and running.
    #76309
    qclearninglab
    Spectator
    Thank you for this clarification!  :)
    #76392
    H.K. Latiyan
    Participant
    Thanks for confirming, so closing the topic.
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Redirect Student to All Courses after Login?’ is closed to new replies.