All the credit for this plugin goes to Rich Fuller and is entirely based on his tutorial for hacking BuddyPress to remove non-friend updates from the activity stream. I simply packaged it up and made it a plugin, because I believe that it is an extremely useful modification to BuddyPress from a community-building perspective, and I wanted it to be easily available to whoever wants it.
Removing non-friend updates from the activity stream makes sense for a number of reasons. It builds meaningful relationships between community members who have chosen to be friends. Instead of seeing all updates for all users of the community, the user will be better able to keep up with his friends by seeing only their updates, which are probably of greater interest to him. This will enrich the user’s experience on your site far more than if you throw updates from all members at him. For a very active BuddyPress community, all updates can be simply too much information to process and can cause the user to devalue your site.
The Friends-Only Activity Stream plugin will limit the activity stream for general users to postings from their friends only. The admin user will see all activities, regardless of friendship. This plugin removes activity stream postings from non-friends all together with the exception of the admin and public groups. Right now WPMU.org is the only place you can download it. It should also be available in the WordPress.org repo soon. Simply install it, activate it, and it works! Many thanks to Rich Fuller for his work on this handy hack.
Simply insert google maps into posts, sidebars and pages - show directions, streetview, provide image overlays and do it all from a simple button and comprehensive widget.
Would you like to add Facebook comments, registration, 'Like' buttons and autoposting to your WP site? Well, The Ultimate Facebook plugin has got that all covered!
Out of all the WordPress ecommerce plugins available, MarketPress has got to be the winner - easy to configure, powerful functionality, multiple gateways and more. A simply brilliant plugin!
It's now incredibly easy to start your own Q&A site using nothing more than WordPress - The Q&A plugin simply and brilliantly transforms any site, or page, into a perfect support or Q&A environment.
Fully integrated with the SEOMoz API, complete with automatic links, sitemaps and SEO optimization of your WordPress setup - this is the only plugin you need to help you rank your site number 1 on Google - nothing else compares.
Now there's no need to pay for a third party service to sign up, manage and send beautiful email newsletters to your subscriber base - this plugin has got the lot.
To get a wiki up and running you used to need to install Mediawiki and toil away for days configuring it... not any more! This plugin gives you *all* the functionality you want from a wiki, in WordPress!!!
Hi! at the homepage, if you setted to display the activity stream instead of the latest blog posts, you’ll see everyone’s updates. The filter you are talking about is at the user’s profile page (at least in the latest versions of BP) ;)
So this plugin is great then to show only the user’s friends updates :)
Thanx again. Would be great if you could share some thoughts on re-directing to activity stream upon login. There was a plugin that sends you to profile, but that does not make a whole lot of sense to go back to your profile.
It’s happening to me the same as Celso. It ONLY shows friends updates, but not the own ones. This includes comments on its, so when a user updates his state and gets comments on it, he can’t read them.
Hi, tried to install the plugin and have same problem as mentioned above by Celso & Federico.
I undertstand one can get it working with some modifications, can you please help with a hack?
I also need activity not to show to non-friends and have own & freinds posts on the same page / stream (using the plugin is unfortunatelly blocking own posts)
I know this is an old post but it still works with 1.5.5 . This plugin works Amazing and I have been looking for something like this for awhile. Hope you are still developing it and add it to the WordPress plugin page.
By default on installing the Friends only activity stream plugin, you’re unable to see non-friends’ as well as your own activity which is a bug. To fix this so that you can see your own activity but block non-friends’ activity, do the following: http://customwebdesignseo.com/groups/buddypress/snippets/16/
Is there any way to create a dedicated activity stream just for groups?
As far as I know, you can have the general activity, and then some streams for groups, personal, etc. The one fro Groups shows only the activity of all those groups you are following, but is there a way to create a stream that would show all groups activity only independent of weather you are following them or not. Just to make sure I am explaining myself, it would be something like this on the url: example.com/activity/groups, rather than just example/memeber/john/activity/groups. The idea behind this question is to be able to block groups activity on the general activity stream example.com/activity, and then have in another page, the groups activity.
Many thanks!
Rafa
Hi, I’m having a problem with this plugin. When a user post he can’t see his own post but only the post of his friends… I’m the only one to have that problem ?
@bphelp Plugin works good, now problem I see is anyone who is not your friend, when you view their profile, I see no posts, which that is fine and the way I like it, but I see a “Load More” button still. How can I hide the load more button from peoples profiles who are not my friend or who have no previous activity?
@enqinet
Sorry for the late response. I have been kinda busy lately so Its taken me awhile to respond. I will work on the code that will hopefully do away with the load more when there is no activities and provide a message noting such. I will also wrap the code in a function that will also do away with the load more if your not friends and provides a message to indicate so. I will not say when I will get it done because I do this in my spare time. Just check in periodically and I will post the link when I update the plugin to reflect the changes when I can get it done and working properly. Anyone with help can contribute and fork it on https://github.com/bphelp/activity-privacy-component
so I encourage you to do so. Remember I am not the author, and I take no credit in this. I just added a bit of code to what Rich Fuller and Sarah Gooding already had in place. Thanks!
@enqinet
I have decided to abandon any further development on this plugin as there is now an awesome plugin out by @megainfo on the BuddyPress forums that is far more superior called BuddyPress Activity Privacy. It does what this plugin could never do, it gives the users a choice as to who gets to see an activity post and so much more. So out with the old and in with the new, get this awesome plugin here: http://wordpress.org/extend/plugins/buddypress-activity-privacy/
ahh brilliant plugin thanks!
This way people dont have to see the spam signups :P
awesome! guess i’ll keep on posting the nifty little tweaks and hacks :P
I’m confused. The default activity stream has a link to sort the stream by “Friends” updates only. What does this do differently?
@Ted
Hi! at the homepage, if you setted to display the activity stream instead of the latest blog posts, you’ll see everyone’s updates. The filter you are talking about is at the user’s profile page (at least in the latest versions of BP) ;)
So this plugin is great then to show only the user’s friends updates :)
Thanx again. Would be great if you could share some thoughts on re-directing to activity stream upon login. There was a plugin that sends you to profile, but that does not make a whole lot of sense to go back to your profile.
Excellent, can it be user-activated ? I mean, having a checkbox on each user’s profile so THEY are the ones who decide to enable it or not ?
It’s not showing the user’s own updates though, on the activity page… only shows friend’s updates :(
or maybe this is only happening to me?
Any ideas?
love those plugins, thank you!
Hello.
It’s happening to me the same as Celso. It ONLY shows friends updates, but not the own ones. This includes comments on its, so when a user updates his state and gets comments on it, he can’t read them.
Anyone has a solution?
Great hack, anyway.
Thanks!
Hi, tried to install the plugin and have same problem as mentioned above by Celso & Federico.
I undertstand one can get it working with some modifications, can you please help with a hack?
I also need activity not to show to non-friends and have own & freinds posts on the same page / stream (using the plugin is unfortunatelly blocking own posts)
Thank you!
I know this is an old post but it still works with 1.5.5 . This plugin works Amazing and I have been looking for something like this for awhile. Hope you are still developing it and add it to the WordPress plugin page.
I’m using it on my new social network site at http://sn.urlti.me
Buddypress Friends Activity Stream Plugin Review
Please read this before you try this plugin: http://customwebdesignseo.com/groups/buddypress/
By default on installing the Friends only activity stream plugin, you’re unable to see non-friends’ as well as your own activity which is a bug. To fix this so that you can see your own activity but block non-friends’ activity, do the following: http://customwebdesignseo.com/groups/buddypress/snippets/16/
Tried this on Buddypress 1.6 but i my activity is still showing all non-friends activity and mine.
How can show updates in private / hidden groups as well?
to Celso
missing:
&& $activity->user_id !=$bp->loggedin_user->id)
on line 55
Is there any way to create a dedicated activity stream just for groups?
As far as I know, you can have the general activity, and then some streams for groups, personal, etc. The one fro Groups shows only the activity of all those groups you are following, but is there a way to create a stream that would show all groups activity only independent of weather you are following them or not. Just to make sure I am explaining myself, it would be something like this on the url: example.com/activity/groups, rather than just example/memeber/john/activity/groups. The idea behind this question is to be able to block groups activity on the general activity stream example.com/activity, and then have in another page, the groups activity.
Many thanks!
Rafa
This plugin still works with a few minor changes. Get it here:
https://github.com/bphelp/activity-privacy-component/archive/master.zip
Thanks @pollyplummer and Rich Fuller for the plugin!
Hi, I’m having a problem with this plugin. When a user post he can’t see his own post but only the post of his friends… I’m the only one to have that problem ?
@mililaw
Use the link I provided to the plugin. It lets you see you and your friends activity.
https://github.com/bphelp/activity-privacy-component/archive/master.zip
@bphelp Plugin works good, now problem I see is anyone who is not your friend, when you view their profile, I see no posts, which that is fine and the way I like it, but I see a “Load More” button still. How can I hide the load more button from peoples profiles who are not my friend or who have no previous activity?
Thanks in advance
@enqinet
Sorry for the late response. I have been kinda busy lately so Its taken me awhile to respond. I will work on the code that will hopefully do away with the load more when there is no activities and provide a message noting such. I will also wrap the code in a function that will also do away with the load more if your not friends and provides a message to indicate so. I will not say when I will get it done because I do this in my spare time. Just check in periodically and I will post the link when I update the plugin to reflect the changes when I can get it done and working properly. Anyone with help can contribute and fork it on https://github.com/bphelp/activity-privacy-component
so I encourage you to do so. Remember I am not the author, and I take no credit in this. I just added a bit of code to what Rich Fuller and Sarah Gooding already had in place. Thanks!
@enqinet
I have decided to abandon any further development on this plugin as there is now an awesome plugin out by @megainfo on the BuddyPress forums that is far more superior called BuddyPress Activity Privacy. It does what this plugin could never do, it gives the users a choice as to who gets to see an activity post and so much more. So out with the old and in with the new, get this awesome plugin here:
http://wordpress.org/extend/plugins/buddypress-activity-privacy/