Re: How can I set “Show NewBlogPosts” as default on acitivity-stream?
I’m still trying to find a solution.
I think there are two things that have to be done:
1. Chose “Show Blog Posts” in the selection table to be set first.
2. Tell the code that there should be shown the filtered activity stream instead of the whole one.
I found the solution for 1.:
I created a folder “activity” in my child theme and copied the index.php from the bp-default-theme activity-folder inside. Then I changed in index.php the following line:
<option value="new_blog_post"><?php _e( 'Show Blog Posts', 'buddypress' ) ?></option>
and have this instead of it now:
<option value="new_blog_post" selected><?php _e( 'Show Blog Posts', 'buddypress' ) ?></option>
Now, the Blog-Post option is shown first in the selection, BUT there are still all activities without filter on the page. So step 2 has also to be done and I don’t know where.
I would appreciate any help.