@foresme
1) Activity Privacy: https://wordpress.org/plugins/buddypress-activity-privacy/
2) Profile Privacy: copy over this file https://buddypress.trac.wordpress.org/browser/tags/2.0.1/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php into your active theme folder following this structure wp-content/themes/yourthemename/buddypress/members/single/profile/profile-loop.php
– at the very top of that file, insert:
<?php if ( is_user_logged_in()) : ?>
– at the very end of that file, insert:
<?php else : ?>
<?php echo "<div style='width: 100%; padding: 20px; border: 1px solid #eee; text-align: center; font-style:bold; font-size: 1.3em;'>You have to log in to view this member's profile.</div>"; ?>
<?php endif; ?>
(updated version of danbp’s reply in this post)
@mercime,
Thank you for your suggestions! You’re a star. I have a membership plugin which prevents non-members from being able to view member profiles or activity streams.
The issue however, is Google. Google is still displaying info from activity streams and profiles as excerpts in the google listings, e.g. https://www.google.co.nz/?gws_rd=cr&ei=WpTDU7bLKYqWkwWk8oEQ#q=reauthoring+anton+keijzer (although the page is protected as private).
Is there a way to prevent google from listing this content?
@foresme
What membership plugin are you using? Have you tried:
https://wordpress.org/plugins/private-bp-pages/
Full disclosure I am the plugin author.
@bphelp
Hello! I’m using the Membership plugin by WPMU.
Will the private bp pages plugin hide member activity from Google listings?
Thank you π
@foresme
Yes and it also blocks RSS feeds as well from Google. It won’t remove the things Google already indexed but it should prevent any further indexing of your sites activity etc. Just make sure to read the F.A.Q. before activating the plugin.