Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • Jen
    Participant

    @brightestspark

    – Can you see the groups in question in the Dashboard? Dashboard > Groups
    Yes I can

    – Are you logged in as an administrator or a normal user?
    Administrator

    – Is the logged-in user a member of the groups in question?
    Yes I am

    – Can you see the groups when you go to example.com/members/yourmembername/groups?
    No

    But I can see on my activity feed that I joined the hidden group and can access the group link from there. eg. example.com/groups/hiddengroupname, but that’s the only way I can access it.


    Jen
    Participant

    @brightestspark

    Having exactly the same issue. Any ideas?

    Running WP 3.9.1 and BuddyPress 2.0.1


    Jen
    Participant

    @brightestspark

    Hi I’m wanting to just hide member profile pages, but keep all other BuddyPress pages public. I tried this code in my bp-custom.php, but it doesn’t work. Any ideas?

    /* Prevent logged out users from accessing bp profile pages */
    function nonreg_visitor_redirect() {
    global $bp;
    if ( bp_is_profile_component() {
    if(!is_user_logged_in()) { //just a visitor and not logged in
    wp_redirect( get_option('siteurl') . '/register' );
    }
    }
    }
    add_filter('get_header','nonreg_visitor_redirect',1);
Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar