Skip to:
Content
Pages
Categories
Search
Top
Bottom

Prevent not logged in users to view the forum at all


  • IAveryI
    Participant

    @iaveryi

    Hello there lovely Community&Devs,

    Since i update bbPress last weekend. Not logged in users are able to view the forums.
    Id like to prevent that but havent found an option via the Dashboard.

    Can someone point me in the right direction/to the right file so i can prevent not logged in users from viewing the forum.

    Thanks in advance,

    Avery

Viewing 3 replies - 1 through 3 (of 3 total)
  • With bbPress the only way to do this is with “private” or “hidden” forums

    • Public – Anyone can see these forums
    • Private – Only logged in registered users can see these forums
    • Hidden – Only Moderators/Admins can see these forums

    Are you using private forums?

    If not maybe your using a membership type plugin to prevent users who are not logged in from seeing the forums?


    Anonymous User 11014282
    Inactive

    @anonymized-11014282

    Follow This link. Just a simple snippet.

    https://vvcares.com/w/wordpress-hide-pages-for-non-logged-in-users/

    The snippet will do:
    IF the user is not logged-in..
    AND the page name is ‘members’ OR ‘activity’ OR bp-profile-page..
    THEN it will redirect to REGISTER page.


    skpc1
    Participant

    @skpc1

    HOW TO REDIRECT USERS, WORDPRESS BUDDYPRESS HIDE PAGE FROM NON-MEMBERS, NON-LOGGEDIN USERS..

    How to hiding / redirect users page from non logged in users ?

    Here the simple step to protect your WordPress BuddyPress member only pages. Add this simple snippet into your theme’s ‘functions.php’ file. That’s it..

    The below snippet sample will redirect the visitor if the visitor is not logged in & trying to visit the sensitive BuddyPress pages.

    Will redirect non-logged-in users trying to access private content to your front page or home page
    Ref: https://vvcares.com/blog/post/wordpress-buddypress-hide-page-from-non-members

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar