Hi,
The private updates on group should not be visible to anyone other than the profile owner. It means something is wrong, you should check other plugins.
btw, yes, you can remove the activity section from profile. put the following code in your theme’s functions.php
`
global $bp;
bp_core_remove_nav_item($bp->activity->id);
`
But this will make the profile inaccessible, as activity is set as the default profile component. so you may want to put the following code in bp-custom.php
`
define(“BP_DEFAULT_COMPONENT”, “profile”);
`
hope that helps.
Thank you so very much for your help.
The first bit does as expected and removes the profile all together. It’s a temporary fix until I can locate the source of the problem, but not a good permanent fix. Defining the default component as profile I’m guessing is intended to set the default profile component differently so that it becomes accessible. I’m not having any luck with that. Attempts to access the profile default to the home page. Any thoughts about it?
I can see that one of the problems I have is with the group wiki plugin. Posts to the group wikis and their responses show up in the activity stream. I think I can just block those and manage that problem, but the other entry that shows in the activity stream, I’m pretty sure is from core buddy press functionality. Replies to entries made to the “Home” form (displayed in the activity stream) also show up in the user’s profile and are visible to users who are not members of the group when they are not logged into the website. When they are logged in this problem disappears. Any thoughts?
Hi,
The reason it is happening perhaps hide_sitewide is not set to 1 for private activity. Most probably a conflict with some plugin as you already mention above. Can you check the database activity table to confirm that ?
Have you put the code
`
define(“BP_DEFAULT_COMPONENT”, “profile”);
`
In wp-content/plugins/bp-custom.php, It will make the profile accessible if put in bp-custom.php. yes,it simply change the default profile component(landing page on profile) from activity to xprofile.
I got `define(“BP_DEFAULT_COMPONENT”, “profile”);` in the right place and it is now working to keep the activity stream from displaying in the profiles. Thank you.
Checked the activity table in the DB and for all entries of the type activity_comment, hide_sitewide is set to 0.
A grep of the plugins turns up no obvious usages of hide_sitewide that are problematic. I’m thinking it’s going to be hidden in some usage of hide_sitewide set to `$sitewide`. This is going to take a while to find, I’m thinking. Any thoughts about where to look first?