<?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 new member registration from activity stream</title>
	<atom:link href="http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-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: admin</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1704</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 27 May 2010 11:56:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1704</guid>
		<description>I have released a new plugin that will block any activity type from being saved to the database.

BuddyPress Block Activity Stream Types
http://blog.etiviti.com/2010/05/buddypress-block-activity-stream-types-plugin/</description>
		<content:encoded><![CDATA[<p>I have released a new plugin that will block any activity type from being saved to the database.</p>
<p>BuddyPress Block Activity Stream Types<br />
<a href="http://blog.etiviti.com/2010/05/buddypress-block-activity-stream-types-plugin/" rel="nofollow">http://blog.etiviti.com/2010/05/buddypress-block-activity-stream-types-plugin/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: New #BuddyPress Block Activity Stream Types plugin &#124; the rich! ramblings</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1703</link>
		<dc:creator>New #BuddyPress Block Activity Stream Types plugin &#124; the rich! ramblings</dc:creator>
		<pubDate>Thu, 27 May 2010 11:56:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1703</guid>
		<description>[...] This plugin is a simple way to block certain activity stream items from being recorded in the database; this could be new member registrations, joining a group, friendship created and so forth.[...]</description>
		<content:encoded><![CDATA[<p>[...] This plugin is a simple way to block certain activity stream items from being recorded in the database; this could be new member registrations, joining a group, friendship created and so forth.[...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kunal jain</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1404</link>
		<dc:creator>kunal jain</dc:creator>
		<pubDate>Wed, 17 Mar 2010 10:38:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1404</guid>
		<description>I tried the plugin but that didnt do anything.  Adding the code in bp-custom worked fine. Thanks.</description>
		<content:encoded><![CDATA[<p>I tried the plugin but that didnt do anything.  Adding the code in bp-custom worked fine. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blog de Desenvolvimento</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1395</link>
		<dc:creator>Blog de Desenvolvimento</dc:creator>
		<pubDate>Tue, 16 Mar 2010 17:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1395</guid>
		<description>[...] Group Wiki  Opa! que legal!  BuddyPress hack: remove new member registration from activity stream http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/ ouviram as preces: [...]</description>
		<content:encoded><![CDATA[<p>[...] Group Wiki  Opa! que legal!  BuddyPress hack: remove new member registration from activity stream <a href="http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/" rel="nofollow">http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/</a> ouviram as preces: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WordPress Arena: A Blog for WordPress Developers, Designers and Bloggers</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1298</link>
		<dc:creator>WordPress Arena: A Blog for WordPress Developers, Designers and Bloggers</dc:creator>
		<pubDate>Wed, 10 Mar 2010 13:33:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1298</guid>
		<description>[...] BuddyPressHack: Remove New Member Registration From Activity [...]</description>
		<content:encoded><![CDATA[<p>[...] BuddyPressHack: Remove New Member Registration From Activity [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rich!</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1274</link>
		<dc:creator>rich!</dc:creator>
		<pubDate>Mon, 08 Mar 2010 14:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1274</guid>
		<description>I posted a link to a simple plugin version</description>
		<content:encoded><![CDATA[<p>I posted a link to a simple plugin version</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arno Nel</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1253</link>
		<dc:creator>Arno Nel</dc:creator>
		<pubDate>Sun, 07 Mar 2010 16:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1253</guid>
		<description>would you mind emailing me the functions.php file? would really appreciate it</description>
		<content:encoded><![CDATA[<p>would you mind emailing me the functions.php file? would really appreciate it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rich!</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1251</link>
		<dc:creator>rich!</dc:creator>
		<pubDate>Sun, 07 Mar 2010 14:17:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1251</guid>
		<description>I just realized the code above with my blog template is converting into curly single/double quotes - so that is causing the issue.</description>
		<content:encoded><![CDATA[<p>I just realized the code above with my blog template is converting into curly single/double quotes &#8211; so that is causing the issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arno Nel</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1237</link>
		<dc:creator>Arno Nel</dc:creator>
		<pubDate>Sat, 06 Mar 2010 21:05:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1237</guid>
		<description>dude. this isnt working for me. everything ive tried doesnt work. i would prefer to do it in functions.php

would you mind creating the file that works and emailing to me?</description>
		<content:encoded><![CDATA[<p>dude. this isnt working for me. everything ive tried doesnt work. i would prefer to do it in functions.php</p>
<p>would you mind creating the file that works and emailing to me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rich!</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1229</link>
		<dc:creator>rich!</dc:creator>
		<pubDate>Sat, 06 Mar 2010 14:26:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1229</guid>
		<description>Correct - these are just simple hacks that require some theme editing as well. for this one, you want to remove the &quot;Show New Members&quot; drop down filter (noted above)

i have requested a trac ticket on BuddyPress to include some filters/hooks. if this is done, i&#039;ll package everything up into a nice activity management plugin (block types, disable activity-meta functions, etc). i already see the need for managing what info plugins are inserting into the activity stream.</description>
		<content:encoded><![CDATA[<p>Correct &#8211; these are just simple hacks that require some theme editing as well. for this one, you want to remove the &#8220;Show New Members&#8221; drop down filter (noted above)</p>
<p>i have requested a trac ticket on BuddyPress to include some filters/hooks. if this is done, i&#8217;ll package everything up into a nice activity management plugin (block types, disable activity-meta functions, etc). i already see the need for managing what info plugins are inserting into the activity stream.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arno Nel</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1228</link>
		<dc:creator>Arno Nel</dc:creator>
		<pubDate>Sat, 06 Mar 2010 14:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1228</guid>
		<description>great....
so, the same for your other hacks, i can just put them in bp-custom.php

why dont you create the file and share all your hacks in one neat package? just an idea :) hehehe

last question, once i have the plugin, i still need to make the change to the child theme right?

ie:


--&gt;
</description>
		<content:encoded><![CDATA[<p>great&#8230;.<br />
so, the same for your other hacks, i can just put them in bp-custom.php</p>
<p>why dont you create the file and share all your hacks in one neat package? just an idea <img src='http://blog.etiviti.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  hehehe</p>
<p>last question, once i have the plugin, i still need to make the change to the child theme right?</p>
<p>ie:</p>
<p>&#8211;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rich!</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1227</link>
		<dc:creator>rich!</dc:creator>
		<pubDate>Sat, 06 Mar 2010 13:59:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1227</guid>
		<description>if the bp-custom.php file no need to activate it - autoloads.</description>
		<content:encoded><![CDATA[<p>if the bp-custom.php file no need to activate it &#8211; autoloads.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arno Nel</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1226</link>
		<dc:creator>Arno Nel</dc:creator>
		<pubDate>Sat, 06 Mar 2010 13:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1226</guid>
		<description>Thanks Rich, so... to confirm:

1. Create a blank php file
2. copy/paste the following in:

function my_denied_activity_new_member( $a, $activities ) {

//if admin we want to know
if ( is_site_admin() )
return $activities;

foreach ( $activities-&gt;activities as $key =&gt; $activity ) {
//new_member is the type name (component is â€˜profileâ€™)
if ( $activity-&gt;type == â€˜new_memberâ€™ ) {
unset( $activities-&gt;activities[$key] );

$activities-&gt;activity_count = $activities-&gt;activity_count-1;
$activities-&gt;total_activity_count = $activities-&gt;total_activity_count-1;
$activities-&gt;pag_num = $activities-&gt;pag_num -1;
}

/* Renumber the array keys to account for missing items */
$activities_new = array_values( $activities-&gt;activities );
$activities-&gt;activities = $activities_new;

return $activities;
}
add_action( â€˜bp_has_activitiesâ€™, â€˜my_denied_activity_new_memberâ€™, 10, 2 );

3. upload to wp-content/plugins
4. activate

right?</description>
		<content:encoded><![CDATA[<p>Thanks Rich, so&#8230; to confirm:</p>
<p>1. Create a blank php file<br />
2. copy/paste the following in:</p>
<p>function my_denied_activity_new_member( $a, $activities ) {</p>
<p>//if admin we want to know<br />
if ( is_site_admin() )<br />
return $activities;</p>
<p>foreach ( $activities-&gt;activities as $key =&gt; $activity ) {<br />
//new_member is the type name (component is â€˜profileâ€™)<br />
if ( $activity-&gt;type == â€˜new_memberâ€™ ) {<br />
unset( $activities-&gt;activities[$key] );</p>
<p>$activities-&gt;activity_count = $activities-&gt;activity_count-1;<br />
$activities-&gt;total_activity_count = $activities-&gt;total_activity_count-1;<br />
$activities-&gt;pag_num = $activities-&gt;pag_num -1;<br />
}</p>
<p>/* Renumber the array keys to account for missing items */<br />
$activities_new = array_values( $activities-&gt;activities );<br />
$activities-&gt;activities = $activities_new;</p>
<p>return $activities;<br />
}<br />
add_action( â€˜bp_has_activitiesâ€™, â€˜my_denied_activity_new_memberâ€™, 10, 2 );</p>
<p>3. upload to wp-content/plugins<br />
4. activate</p>
<p>right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rich!</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1224</link>
		<dc:creator>rich!</dc:creator>
		<pubDate>Sat, 06 Mar 2010 13:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1224</guid>
		<description>in that case - i would create a file called bp-custom.php and place it in the /wp-content/plugins/ directory or create your own skeleton plugin</description>
		<content:encoded><![CDATA[<p>in that case &#8211; i would create a file called bp-custom.php and place it in the /wp-content/plugins/ directory or create your own skeleton plugin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arno Nel</title>
		<link>http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/comment-page-1/#comment-1221</link>
		<dc:creator>Arno Nel</dc:creator>
		<pubDate>Sat, 06 Mar 2010 10:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.etiviti.com/?p=282#comment-1221</guid>
		<description>Hi there

Im a bit of a noob, so need a little more help if possible...

I have a child theme, based on default theme. no real changes in my child theme...

Are you saying i should create a blank functions.php in the child theme and add your Function: &quot;function my_denied_activity_new_member( $a, $activities ) &quot;

?</description>
		<content:encoded><![CDATA[<p>Hi there</p>
<p>Im a bit of a noob, so need a little more help if possible&#8230;</p>
<p>I have a child theme, based on default theme. no real changes in my child theme&#8230;</p>
<p>Are you saying i should create a blank functions.php in the child theme and add your Function: &#8220;function my_denied_activity_new_member( $a, $activities ) &#8221;</p>
<p>?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

