• Resolved granville

    (@granville)


    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

    https://www.ads-software.com/plugins/buddypress-activity-privacy/

Viewing 1 replies (of 1 total)
  • Plugin Author meg@info

    (@megainfo)

    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,

Viewing 1 replies (of 1 total)
  • The topic ‘Setting activity registered member et al to Friends Only’ is closed to new replies.