<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: BuddyPress hack: remove non-friend updates from the activity stream</title>
	<atom:link href="http://blog.etiviti.com/2010/03/buddypress-hack-remove-non-friend-updates-from-the-activity-stream/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.etiviti.com/2010/03/buddypress-hack-remove-non-friend-updates-from-the-activity-stream/</link>
	<description>livin on C8 H10 N4 O2 and hops</description>
	<lastBuildDate>Mon, 21 Mar 2011 15:14:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: kanowah</title>
		<link>http://blog.etiviti.com/2010/03/buddypress-hack-remove-non-friend-updates-from-the-activity-stream/comment-page-1/#comment-1841</link>
		<dc:creator>kanowah</dc:creator>
		<pubDate>Mon, 21 Mar 2011 15:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=299#comment-1841</guid>
		<description>hey good news just find this line 
if ( $bp-&gt;loggedin_user-&gt;id == $potential_friend_id )
return false;

change it to

if ( $bp-&gt;loggedin_user-&gt;id == $potential_friend_id )
return true;

this will help you to show friend and your own activity</description>
		<content:encoded><![CDATA[<p>hey good news just find this line<br />
if ( $bp-&gt;loggedin_user-&gt;id == $potential_friend_id )<br />
return false;</p>
<p>change it to</p>
<p>if ( $bp-&gt;loggedin_user-&gt;id == $potential_friend_id )<br />
return true;</p>
<p>this will help you to show friend and your own activity</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shayne</title>
		<link>http://blog.etiviti.com/2010/03/buddypress-hack-remove-non-friend-updates-from-the-activity-stream/comment-page-1/#comment-1832</link>
		<dc:creator>shayne</dc:creator>
		<pubDate>Tue, 08 Feb 2011 00:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=299#comment-1832</guid>
		<description>I have the Friends only Activity Streamplugin installed. But how did you guys manage to make it not filter out my own activities? Help would be much appreciated. I have tried adding the line &quot;$activity-&gt;user_id != $bp-&gt;loggedin_user-&gt;id&quot; to the plugin, but it doesnt allow my activity to be shown.</description>
		<content:encoded><![CDATA[<p>I have the Friends only Activity Streamplugin installed. But how did you guys manage to make it not filter out my own activities? Help would be much appreciated. I have tried adding the line &#8220;$activity-&gt;user_id != $bp-&gt;loggedin_user-&gt;id&#8221; to the plugin, but it doesnt allow my activity to be shown.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fede3456</title>
		<link>http://blog.etiviti.com/2010/03/buddypress-hack-remove-non-friend-updates-from-the-activity-stream/comment-page-1/#comment-1747</link>
		<dc:creator>fede3456</dc:creator>
		<pubDate>Thu, 10 Jun 2010 22:45:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=299#comment-1747</guid>
		<description>I&#039;ve made the corrections and it works perfectly fine now. Thanks!! I had combined your corrected code with the plugin at WPMU but in a wrong way.

Keep up the good work, my friend!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve made the corrections and it works perfectly fine now. Thanks!! I had combined your corrected code with the plugin at WPMU but in a wrong way.</p>
<p>Keep up the good work, my friend!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.etiviti.com/2010/03/buddypress-hack-remove-non-friend-updates-from-the-activity-stream/comment-page-1/#comment-1742</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 07 Jun 2010 20:54:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=299#comment-1742</guid>
		<description>make sure your not using the wpmu plugin but the code above. I added in the conditional fix so that is displays own updates.  (also a followers check if someone is using that plugin)

But this is just an example, so feel free to change up those checks to something that suites your own needs. (line 10)</description>
		<content:encoded><![CDATA[<p>make sure your not using the wpmu plugin but the code above. I added in the conditional fix so that is displays own updates.  (also a followers check if someone is using that plugin)</p>
<p>But this is just an example, so feel free to change up those checks to something that suites your own needs. (line 10)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fede3456</title>
		<link>http://blog.etiviti.com/2010/03/buddypress-hack-remove-non-friend-updates-from-the-activity-stream/comment-page-1/#comment-1741</link>
		<dc:creator>fede3456</dc:creator>
		<pubDate>Sat, 05 Jun 2010 20:21:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=299#comment-1741</guid>
		<description>hi there. it still happens to me that it filters user&#039;s own posts (and their friends comments con them), even though I uploaded the fix. Maybe I&#039;m doing something wrong? ensalto.com/2com is the URL if you want to check it out. Thanks</description>
		<content:encoded><![CDATA[<p>hi there. it still happens to me that it filters user&#8217;s own posts (and their friends comments con them), even though I uploaded the fix. Maybe I&#8217;m doing something wrong? ensalto.com/2com is the URL if you want to check it out. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.etiviti.com/2010/03/buddypress-hack-remove-non-friend-updates-from-the-activity-stream/comment-page-1/#comment-1735</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 01 Jun 2010 16:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=299#comment-1735</guid>
		<description>i replaced line 9 with the fix (also include blogs)</description>
		<content:encoded><![CDATA[<p>i replaced line 9 with the fix (also include blogs)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Celso Soares</title>
		<link>http://blog.etiviti.com/2010/03/buddypress-hack-remove-non-friend-updates-from-the-activity-stream/comment-page-1/#comment-1676</link>
		<dc:creator>Celso Soares</dc:creator>
		<pubDate>Mon, 12 Apr 2010 11:55:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=299#comment-1676</guid>
		<description>Thanks for this,

It doesn&#039;t show the user&#039;s own update, only friend&#039;s updates. Can you add a line in the conditional to show the user&#039;s own updates please? That would be awesome!</description>
		<content:encoded><![CDATA[<p>Thanks for this,</p>
<p>It doesn&#8217;t show the user&#8217;s own update, only friend&#8217;s updates. Can you add a line in the conditional to show the user&#8217;s own updates please? That would be awesome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Create a Better Community Experience With the New BuddyPress Friends-Only Activity Stream Plugin - WordPress MU and BuddyPress plugins, themes, support, tips and how to&#39;s</title>
		<link>http://blog.etiviti.com/2010/03/buddypress-hack-remove-non-friend-updates-from-the-activity-stream/comment-page-1/#comment-1310</link>
		<dc:creator>Create a Better Community Experience With the New BuddyPress Friends-Only Activity Stream Plugin - WordPress MU and BuddyPress plugins, themes, support, tips and how to&#39;s</dc:creator>
		<pubDate>Thu, 11 Mar 2010 16:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=299#comment-1310</guid>
		<description>[...] 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 [...]</description>
		<content:encoded><![CDATA[<p>[...] 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 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

