As the plugin provides [ Profile Visibility Lock ] setting for members to set the profile visibility level, the plugin needs to override the BuddyPress default members home template, but if you are using a theme that already overrides BuddyPress templates than you may not be able to see the desired structure of members page which your theme uses as the plugin uses buddypress core template file. To solve the issue you may need to copy the structure from your theme/buddypress/members/single/home.php to plugins overrired file. Please follow the following steps to accomplish the task.
- Search in your theme directory that if there is a file present at the path BuddyPress/members/single/home.php file.
- If the file is present in parent theme copy the home.php file content and place it inside the buddypress-private-community-pro/templates/members/single/home.php.
- Once you copy theme's file to the plugin's file, add $blpro_prof_visib = apply_filters( 'blpro_profile_visility_home_override', $visib = true ); after do_action( 'bp_before_member_body' );.
- Now, you are supposed to find and replace following content.
Find following content in the home.php file :
- if ( bp_is_user_front() ) :
- bp_displayed_user_front_template_part();
- elseif ( bp_is_user_activity() ) :
- bp_get_template_part( 'members/single/activity' );
- elseif ( bp_is_user_blogs() ) :
- bp_get_template_part( 'members/single/blogs' );
- elseif ( bp_is_user_friends() ) :
- bp_get_template_part( 'members/single/friends' );
- elseif ( bp_is_user_groups() ) :
- bp_get_template_part( 'members/single/groups' );
- elseif ( bp_is_user_messages() ) :
- bp_get_template_part( 'members/single/messages' );
- elseif ( bp_is_user_profile() ) :
- bp_get_template_part( 'members/single/profile' );
- elseif ( bp_is_user_forums() ) :
- bp_get_template_part( 'members/single/forums' );
- elseif ( bp_is_user_notifications() ) :
- bp_get_template_part( 'members/single/notifications' );
- elseif ( bp_is_user_settings() ) :
- bp_get_template_part( 'members/single/settings' );
- // If nothing sticks, load a generic template
- else :
- bp_get_template_part( 'members/single/plugins' );
- endif;
Wrap above content with an if condition like below:
- if ( $blpro_prof_visib ) {
- if ( bp_is_user_front() ) :
- bp_displayed_user_front_template_part();
- elseif ( bp_is_user_activity() ) :
- bp_get_template_part( 'members/single/activity' );
- elseif ( bp_is_user_blogs() ) :
- bp_get_template_part( 'members/single/blogs' );
- elseif ( bp_is_user_friends() ) :
- bp_get_template_part( 'members/single/friends' );
- elseif ( bp_is_user_groups() ) :
- bp_get_template_part( 'members/single/groups' );
- elseif ( bp_is_user_messages() ) :
- bp_get_template_part( 'members/single/messages' );
- elseif ( bp_is_user_profile() ) :
- bp_get_template_part( 'members/single/profile' );
- elseif ( bp_is_user_forums() ) :
- bp_get_template_part( 'members/single/forums' );
- elseif ( bp_is_user_notifications() ) :
- bp_get_template_part( 'members/single/notifications' );
- elseif ( bp_is_user_settings() ) :
- bp_get_template_part( 'members/single/settings' );
- // If nothing sticks, load a generic template
- else :
- bp_get_template_part( 'members/single/plugins' );
- endif;
- }
Once you replace the content you will be able to see the results generated by the plugin. Suppose if a member A has set Profile Visibility to friends only then a member B who is not friend of A will see message like below if he/she tries to access member A's profile.

Related Articles
Logged-out User Setting
This plugin provides following setting for logged-out users. Lock BuddyPress Components Enable this option, if you wish to restrict the access of BuddyPress Components for logged-out users. Once you'll enable the 'Lock BuddyPress Components' option, ...
Profile Fieldsets Option
Initially, the plugin provides three profile groups set. Education Professional Experience Contact Details Site admin can add, edit, delete the groups. All the groups related setting is provided under Groups Settings section. Plugin's admin setings : ...
Backend Option Setting
PeepSo bbPress Tab Setting Navigate to PeepSo > Configuration > PeepSo bbPress Addon. Here you can enable or disable bbPress tab. If the tab is enabled then it will show in PeepSo user Profile Section. bbPress Activity Setting 1. bbPress New Forum ...
Backend Option Setting
PeepSo LearnDash Tab Setting: Here you can enable or disable tabs related to user's courses, instructing courses and certificates. If the tab is enabled then it will show in PeepSo user Profile Section. Learndash Activity Setting: 1. Course ...
Front-End Option Setting
bbPress Activity Settings Visit Front-End on user profile page. Navigate to About > Preferences. Scroll down and locate bbPress Activity Setting. Settings displays under preferences according to user forum role. 1. Add activity when new forum created ...