BuddyPress Activity Privacy
[resolved] Setting activity registered member et al to Friends Only (2 posts)

  1. granville
    Posted 2 years ago #

    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 friends

    still 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



  2. meg@info
    Plugin Author

    Posted 2 years ago #

    Hi @granville,

    I was add in the future release of the plugin a admin options section to manage ( make default a privacy, enable&disable privacy and sort privacies).

    I will update the plugin soon.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BuddyPress Activity Privacy
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic