Hi,
I use autoblog/autopost to post to my gategories on my wordpress/buddypress site, but the daily posts are clogging my activity stream page.
Anyone knows a way to restrict certain category posts from displaying in the activity stream.
Thanks
Faster, better and easier!
Hi,
I use autoblog/autopost to post to my gategories on my wordpress/buddypress site, but the daily posts are clogging my activity stream page.
Anyone knows a way to restrict certain category posts from displaying in the activity stream.
Thanks
There can be two ways.
1. remove the bp_blogs_record_post from save_post filter and write your own record activity which deals in a better matter(like excluding posts from specific categories).
2. use the filter "bp_blogs_new_blog_post" and delete the activity items for the posts in a specific category. It will happen just after the activity item was created, so no one should be able to see that activity.
Which route will you prefer ?
Hi Brajesh,
Thanks for the quick response. I want to display some category post in the activity stream, and exclude some of them.
An example would be:
I have a daily game post from a widget on the site that post a game every day on my site in the category "games".
I have updated news on the site that I get from an rss feed. Those news post go in the category "news"
I would like to keep displaying the posts from category "games" in my activity stream and NOT display the posts from category "news"
I'm not sure which way will be better. I trust your judgement.
Thanks
which ever one is easier
Hi,
I know you told there are two ways that can be done, but I don't know my way around (which code to add or remove)
Can you please provide me with more info?
Thanks
@koumanouye
Sorry for holding back this topic. I will post the whole code tomorrow.
Thanks
Brajesh
You must log in to post.