How to configure for present tab "FORUM" only logged users?

Home Forums Legacy Support Support queries Setup issues How to configure for present tab "FORUM" only logged users?

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #85421
    cerebrumbr
    Spectator
    Hi, In this page. https://www.sagaciousacademy.com.br/course/mautic-curso-portugues-brasil/ When clicked in tab "FORUM" is redirect to blank page. https://www.sagaciousacademy.com.br/forums/forum/mautic/ How to configure for present tab "FORUM" only logged users? Cheers, Marcelo Amorim
    #85435
    H.K. Latiyan
    Participant
    Please make sure the forum is connected to the course. You can try using the course forum privacy (enable it from wp-admin->lms->settings->enable course forum privacy). By enabling this setting only the course students can access the forum but not the others.
    #85600
    cerebrumbr
    Spectator
    This reply has been marked as private.
    #85624
    H.K. Latiyan
    Participant
    Yes the tab will be visible, but the users will not be able to access the forum as the course forum privacy is enabled.  
    #85717
    cerebrumbr
    Spectator
    Hi, Present blank page when clicked in tab forum is not user-friendly. Is user-friendly when clicked in tab forum open alert with message. You do not have permission to access this forum. Please fix this problem in the next release. Thanks!!!
    #85787
    H.K. Latiyan
    Participant
    Thanks for the suggestion, we'll try to improve it in our updates. -------- You can also paste the bellow code in your wplms-customizer.php file present in your wp-admin->plugins->editor-> wplms customizer plugin->wplms-customizer.php add_filter('wplms_course_nav_menu',function ($defaults){   if(!is_user_logged_in()){       unset($defaults['forum']);       return $defaults;   }   return $defaults; },9); This will remove the forum tab for non logged in users.
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to configure for present tab "FORUM" only logged users?’ is closed to new replies.