Setting activity registered member et al to Friends Only
-
Hi @megainfo
Great plugin thanks – I’m using WP 3.5.2 and BP 1.8.1 and I’ve used the code you provided in a previous thread and as below to change the default visibility to “friends only” and all is good; except these three activity updates:
1. “user” became a registered member;
2. “user” changed their profile picture;
3. “user” and “user” are now friendsstill appear to all users, rather than just the “user”‘s friends.
Please can you tell me how I can make these three updates “friends only” also?
The code I used is:
add_filter('bp_profile_activity_visibility_levels_filter', 'bp_make_logged_in_as_default_privacy_level', 10, 1); add_filter('groups_activity_visibility_levels', 'bp_make_logged_in_as_default_privacy_level', 10, 1); function bp_make_logged_in_as_default_privacy_level( $visibility_levels ) { $visibility_levels['public']['default'] = false; $visibility_levels['loggedin']['default'] = true; return $visibility_levels; }
Many thanks
G
https://www.ads-software.com/plugins/buddypress-activity-privacy/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Setting activity registered member et al to Friends Only’ is closed to new replies.