Good question. If there’s a way to omit that from feeds, I’d try it out too.
To not show the friendships I deleted in index.php of activity-folder in the theme:
<?php if ( bp_is_active( ‘friends’ ) ) : ?> <option value=”friendship_accepted,friendship_created”><?php _e( ‘Show Friendship Connections’, ‘buddypress’ ) ?></option> <?php endif; ?>
BUT:
I don’t know how to only show blog posts. I think it will not work to delete all Options but NewBlogPosts, because this only gives the links and not what is shown as default option.
thanks nickrita!
Would it be possible to do this with a child theme?
Yes, ONLY do it in a child theme, NEVER change the orginal bp-theme.
You can make a folder “activity” in your child theme, copy the original index.php from original-bp-theme/activity/ in the child-theme-folder and then edit the index.php.
Here’s the solution to only show the blog posts:
https://buddypress.org/forums/topic/how-can-i-set-show-newblogposts-as-default-on-acitivity-stream
But then only blog posts are shown and nothing else.
I have no solution to the problem, how to show the blogposts as default and the rest by filter.
Yea, I also tried <?php if ( bp_has_activities('object=blog') ) : ?>
This does exactly what I want… if the user is logged out.
As, while I have removed the filter dropdown anyways, that is no issue, but it also makes a mess of the other filters for logged in users.. (My Friends, My Groups etc etc)
They all just give the same result (all blog posts)
Honestly I find it a little puzzling that this is not implemented in the backend.