WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. granville
    Member
    Posted 10 months 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

    G

    http://wordpress.org/plugins/buddypress-activity-privacy/

  2. meg@info
    Member
    Plugin Author

    Posted 9 months 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.

    Regards,

Reply

You must log in to post.

About this Plugin

About this Topic