<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>devbox@COMPUTEC &#187; plugin</title>
	<atom:link href="http://devbox.computec.de/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://devbox.computec.de</link>
	<description>The Computec development blog</description>
	<lastBuildDate>Tue, 24 Aug 2010 08:45:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='devbox.computec.de' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>BuddyPress &#8211; Activity comments plugin</title>
		<link>http://devbox.computec.de/2009/09/buddypress-activity-comments-plugin/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=buddypress-activity-comments-plugin</link>
		<comments>http://devbox.computec.de/2009/09/buddypress-activity-comments-plugin/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 00:16:30 +0000</pubDate>
		<dc:creator>Sandra Petronic</dc:creator>
				<category><![CDATA[BuddyPress]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[activity]]></category>
		<category><![CDATA[activity comments]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://devbox.computec.de/?p=281</guid>
		<description><![CDATA[This plugin will enable posting comments on activity stream items, similar to Facebook. By default, comments are limited to 150 characters.

Only logged in users can leave comments on activities and delete that comments. Also, if user is "owner" of the activity stream he/she will be able to delete all unwanted comments on that activity no matter who posted a comment. Admins can delete any comments.]]></description>
			<content:encoded><![CDATA[<p>This plugin will enable posting comments on activity stream items, similar to Facebook. By default, comments are limited to 150 characters.</p>
<p>Only logged in users can leave comments on activities and delete that comments. Also, if user is "owner" of the activity stream he/she will be able to delete all unwanted comments on that activity no matter who posted a comment. Admins can delete any comments.<br />
<span id="more-281"></span></p>
<p>Plugin requires BuddyPress 1.1-beta at least. </p>
<p>If you find some bugs or have suggestions how to make plugin better, please let me know.<br />
</p>
<p><strong>Screenshoots:</strong></p>
<p>Activity comments form:<br />
<img src="http://devbox.computec.de/wp-content/uploads/2009/09/activity_comment_1.jpg" alt="Activity comments form" /><br />
<br />
Activity comments post:<br />
<img src="http://devbox.computec.de/wp-content/uploads/2009/09/activity_comment_2.jpg" alt="Activity comments post" /></p>
<p><strong>Installation notes:</strong></p>
<ul>
<li> Download plugin: <a href="http://devbox.computec.de/wp-content/uploads/2009/09/BP_CPT_Activity_Comments_plugin_v1.0-beta.zip">BuddyPress CPT Activity Comments plugin v1.0-beta</a>
</li>
</ul>
<ul>
<li>Go to Plugin admin section and activate it</li>
</ul>
<ul>
<li>
Move theme files "/wp-content/plugins/buddypress_cpt_activity_comments/bp-themes/cpt_activity_comments" to your active theme folder.<br />
If your active theme is BuddyPress default then move cpt_activity_comments folder to "/wp-content/themes/bp-default".
</li>
</ul>
<p>Thanks for using the plugin.</p>



Share and Enjoy:


	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;partner=sociable" title="Print"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;title=BuddyPress%20-%20Activity%20comments%20plugin&amp;bodytext=This%20plugin%20will%20enable%20posting%20comments%20on%20activity%20stream%20items%2C%20similar%20to%20Facebook.%20By%20default%2C%20comments%20are%20limited%20to%20150%20characters.%0D%0A%0D%0AOnly%20logged%20in%20users%20can%20leave%20comments%20on%20activities%20and%20delete%20that%20comments.%20Also%2C%20if%20user%20is%20%22owner%22%20of%20the%20activity%20stream%20he%2Fshe%20will%20be%20able%20to%20delete%20all%20unwanted%20comments%20on%20that%20activity%20no%20matter%20who%20posted%20a%20comment.%20Admins%20can%20delete%20any%20comments." title="Digg"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;title=BuddyPress%20-%20Activity%20comments%20plugin&amp;notes=This%20plugin%20will%20enable%20posting%20comments%20on%20activity%20stream%20items%2C%20similar%20to%20Facebook.%20By%20default%2C%20comments%20are%20limited%20to%20150%20characters.%0D%0A%0D%0AOnly%20logged%20in%20users%20can%20leave%20comments%20on%20activities%20and%20delete%20that%20comments.%20Also%2C%20if%20user%20is%20%22owner%22%20of%20the%20activity%20stream%20he%2Fshe%20will%20be%20able%20to%20delete%20all%20unwanted%20comments%20on%20that%20activity%20no%20matter%20who%20posted%20a%20comment.%20Admins%20can%20delete%20any%20comments." title="del.icio.us"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;t=BuddyPress%20-%20Activity%20comments%20plugin" title="Facebook"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;title=BuddyPress%20-%20Activity%20comments%20plugin&amp;annotation=This%20plugin%20will%20enable%20posting%20comments%20on%20activity%20stream%20items%2C%20similar%20to%20Facebook.%20By%20default%2C%20comments%20are%20limited%20to%20150%20characters.%0D%0A%0D%0AOnly%20logged%20in%20users%20can%20leave%20comments%20on%20activities%20and%20delete%20that%20comments.%20Also%2C%20if%20user%20is%20%22owner%22%20of%20the%20activity%20stream%20he%2Fshe%20will%20be%20able%20to%20delete%20all%20unwanted%20comments%20on%20that%20activity%20no%20matter%20who%20posted%20a%20comment.%20Admins%20can%20delete%20any%20comments." title="Google Bookmarks"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;title=BuddyPress%20-%20Activity%20comments%20plugin&amp;source=devbox%40COMPUTEC+The+Computec+development+blog&amp;summary=This%20plugin%20will%20enable%20posting%20comments%20on%20activity%20stream%20items%2C%20similar%20to%20Facebook.%20By%20default%2C%20comments%20are%20limited%20to%20150%20characters.%0D%0A%0D%0AOnly%20logged%20in%20users%20can%20leave%20comments%20on%20activities%20and%20delete%20that%20comments.%20Also%2C%20if%20user%20is%20%22owner%22%20of%20the%20activity%20stream%20he%2Fshe%20will%20be%20able%20to%20delete%20all%20unwanted%20comments%20on%20that%20activity%20no%20matter%20who%20posted%20a%20comment.%20Admins%20can%20delete%20any%20comments." title="LinkedIn"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mister-wong.de/addurl/?bm_url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;bm_description=BuddyPress%20-%20Activity%20comments%20plugin&amp;plugin=soc" title="MisterWong.DE"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong.DE" alt="MisterWong.DE" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.netvibes.com/share?title=BuddyPress%20-%20Activity%20comments%20plugin&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F" title="Netvibes"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;title=BuddyPress%20-%20Activity%20comments%20plugin" title="Reddit"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=BuddyPress%20-%20Activity%20comments%20plugin&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F" title="Slashdot"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;title=BuddyPress%20-%20Activity%20comments%20plugin" title="StumbleUpon"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F" title="Technorati"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=BuddyPress%20-%20Activity%20comments%20plugin%20-%20http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F" title="Twitter"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;t=BuddyPress%20-%20Activity%20comments%20plugin&opener=bm&amp;ei=UTF-8&amp;d=This%20plugin%20will%20enable%20posting%20comments%20on%20activity%20stream%20items%2C%20similar%20to%20Facebook.%20By%20default%2C%20comments%20are%20limited%20to%20150%20characters.%0D%0A%0D%0AOnly%20logged%20in%20users%20can%20leave%20comments%20on%20activities%20and%20delete%20that%20comments.%20Also%2C%20if%20user%20is%20%22owner%22%20of%20the%20activity%20stream%20he%2Fshe%20will%20be%20able%20to%20delete%20all%20unwanted%20comments%20on%20that%20activity%20no%20matter%20who%20posted%20a%20comment.%20Admins%20can%20delete%20any%20comments." title="Yahoo! Bookmarks"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://linkarena.com/bookmarks/addlink/?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;title=BuddyPress%20-%20Activity%20comments%20plugin" title="LinkArena"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/linkarena.png" title="LinkArena" alt="LinkArena" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;title=BuddyPress%20-%20Activity%20comments%20plugin" title="Live"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;t=BuddyPress%20-%20Activity%20comments%20plugin" title="MySpace"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;submitHeadline=BuddyPress%20-%20Activity%20comments%20plugin&amp;submitSummary=This%20plugin%20will%20enable%20posting%20comments%20on%20activity%20stream%20items%2C%20similar%20to%20Facebook.%20By%20default%2C%20comments%20are%20limited%20to%20150%20characters.%0D%0A%0D%0AOnly%20logged%20in%20users%20can%20leave%20comments%20on%20activities%20and%20delete%20that%20comments.%20Also%2C%20if%20user%20is%20%22owner%22%20of%20the%20activity%20stream%20he%2Fshe%20will%20be%20able%20to%20delete%20all%20unwanted%20comments%20on%20that%20activity%20no%20matter%20who%20posted%20a%20comment.%20Admins%20can%20delete%20any%20comments.&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://yigg.de/neu?exturl=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;exttitle=BuddyPress%20-%20Activity%20comments%20plugin" title="Yigg"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/yiggit.png" title="Yigg" alt="Yigg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;title=BuddyPress%20-%20Activity%20comments%20plugin" title="blogmarks"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;title=BuddyPress%20-%20Activity%20comments%20plugin" title="Faves"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=BuddyPress%20-%20Activity%20comments%20plugin&amp;link=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F" title="FriendFeed"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F09%2Fbuddypress-activity-comments-plugin%2F&amp;bm_description=BuddyPress%20-%20Activity%20comments%20plugin&amp;plugin=soc" title="MisterWong"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://devbox.computec.de/2009/09/buddypress-activity-comments-plugin/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>BuddyPress &#8211; Xprofile Privacy plugin</title>
		<link>http://devbox.computec.de/2009/06/buddypress-xprofile-privacy-plugin/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=buddypress-xprofile-privacy-plugin</link>
		<comments>http://devbox.computec.de/2009/06/buddypress-xprofile-privacy-plugin/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 08:54:08 +0000</pubDate>
		<dc:creator>Sandra Petronic</dc:creator>
				<category><![CDATA[BuddyPress]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[xprofile privacy]]></category>

		<guid isPermaLink="false">http://devbox.computec.de/?p=40</guid>
		<description><![CDATA[Xprofile Privacy plugin will give your users option to choose which profile data they want to share. Profile data can be public, viewable only to friends or be completely private. User can set their privacy while editing profile or within Settings section in Profile Privacy part.]]></description>
			<content:encoded><![CDATA[<p>BuddyPress currently doesn't support any kind of privacy control over profile data. Members of BuddyPress team are working on Privacy Component which will be part of some of the future releases, but until then this plugin can be helpful.</p>
<p>Xprofile Privacy plugin will give your users option to choose which profile data they want to share. Profile data can be public, viewable only to friends or be completely private. Users can set their privacy while editing profile or within Settings section in Profile Privacy part.<br />
<span id="more-40"></span><br />
Here are some screenshots:</p>
<ul>
<li>User profile edit:<a href="http://devbox.computec.de/wp-content/uploads/2009/06/xprofile_privacy_edit.jpg"><br />
<img class="wp-image-60 alignnone" title="xprofile_privacy_edit" src="http://devbox.computec.de/wp-content/uploads/2009/06/xprofile_privacy_edit.jpg" alt="xprofile_privacy_edit" width="500" /></a></li>
</ul>
<ul>
<li>User settings &gt; Profile Privacy:<br />
<a href="http://devbox.computec.de/wp-content/uploads/2009/06/xprofile_privacy_settings1.jpg"><img class="alignnone size-full wp-image-75" title="xprofile_privacy_settings" src="http://devbox.computec.de/wp-content/uploads/2009/06/xprofile_privacy_settings1.jpg" alt="xprofile_privacy_settings" width="500" /></a><br />
* only non empty profile fields will be displayed</li>
</ul>
<ul>
<li>Profile page (viewed by the owner):<br />
<a href="http://devbox.computec.de/wp-content/uploads/2009/06/xprofile_privacy_profile_private.jpg"><img class="alignnone size-full wp-image-65" title="xprofile_privacy_profile_private" src="http://devbox.computec.de/wp-content/uploads/2009/06/xprofile_privacy_profile_private.jpg" alt="xprofile_privacy_profile_private" width="500" /></a>
</li>
</ul>
<ul>
<li>Profile page (viewed by the friend):<br />
<a href="http://devbox.computec.de/wp-content/uploads/2009/06/xprofile_privacy_profile_friend.jpg"><img class="alignnone size-full wp-image-66" title="xprofile_privacy_profile_friend" src="http://devbox.computec.de/wp-content/uploads/2009/06/xprofile_privacy_profile_friend.jpg" alt="xprofile_privacy_profile_friend" width="500" /></a></li>
</ul>
<ul>
<li> Profile page (viewed by not logged user or not a friend):<br />
<a href="http://devbox.computec.de/wp-content/uploads/2009/06/xprofile_privacy_profile_public.jpg"><img class="alignnone size-full wp-image-67" title="xprofile_privacy_profile_public" src="http://devbox.computec.de/wp-content/uploads/2009/06/xprofile_privacy_profile_public.jpg" alt="xprofile_privacy_profile_public" width="500" /></a></li>
</ul>
<p style="font-size: 14px; font-weight: bold;">Installation steps:</p>
<ul>
<li>Download plugin: <a title="CPT BuddyPress Xprofile Privacy Plugin 0.1.1" href="http://devbox.computec.de/wp-content/uploads/2009/07/CPT_BuddyPress_Xprofile_Privacy_plugin_v0.1.1.zip">CPT BuddyPress Xprofile Privacy Plugin 0.1.1</a></li>
</ul>
<ul>
<li>Go to Plugin admin section and active it</li>
</ul>
<ul>
<li><strong>IMPORTANT</strong>: In order to hide profile data that are not public when profile page is displayed, you will have to change one line in your BP members theme file:
<p style="margin-bottom: 10px;">

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">profile<span style="color: #000000; font-weight: bold;">/</span>profile_loop.php</pre></div></div>

<p>If you are using default BuddyPress theme, then the file is:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">wp-content<span style="color: #000000; font-weight: bold;">/</span>bp-themes<span style="color: #000000; font-weight: bold;">/</span>bpmember<span style="color: #000000; font-weight: bold;">/</span>profile<span style="color: #000000; font-weight: bold;">/</span>profile_loop.php</pre></div></div>

<p>Replace the line:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>4
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>?php <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span> bp_profile_group_has_fields<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span> : ?<span style="color: #000000; font-weight: bold;">&gt;</span></pre></td></tr></table></div>

<p>with</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>4
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>?php <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span> bp_profile_group_has_fields<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> cpt_bp_xprofile_privacy_allowed_fields<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span> : ?<span style="color: #000000; font-weight: bold;">&gt;</span></pre></td></tr></table></div>

</li>
<li>If you want  to enable your users to set their privacy when editing profile data you will have to change one more file, this time BuddyPress core file.
<p style="margin-bottom: 10px;">
<p>In the file</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> bp-xprofile<span style="color: #000000; font-weight: bold;">/</span>bp-xprofile-classes.php</pre></div></div>

<p>find method</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">BP_XProfile_Field<span style="color: #339933;">::</span><span style="color: #004000;">get_edit_html</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p>and at the end of the method, just before return $html, add this line:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$html</span> <span style="color: #339933;">=</span> apply_filters<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'bp_xprofile_field_edit_html'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$html</span><span style="color: #339933;">,</span> <span style="color: #000088;">$this</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p style="margin-bottom: 10px;">
<p>I will post a ticket to ask BuddyPress team to add this hook into core, but for now this change is necessary. <img src='http://devbox.computec.de/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </li>
</ul>
<p style="margin-bottom: 30px;">



Share and Enjoy:


	<a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;partner=sociable" title="Print"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;title=BuddyPress%20-%20Xprofile%20Privacy%20plugin&amp;bodytext=Xprofile%20Privacy%20plugin%20will%20give%20your%20users%20option%20to%20choose%20which%20profile%20data%20they%20want%20to%20share.%20Profile%20data%20can%20be%20public%2C%20viewable%20only%20to%20friends%20or%20be%20completely%20private.%20User%20can%20set%20their%20privacy%20while%20editing%20profile%20or%20within%20Settings%20section%20in%20Profile%20Privacy%20part." title="Digg"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;title=BuddyPress%20-%20Xprofile%20Privacy%20plugin&amp;notes=Xprofile%20Privacy%20plugin%20will%20give%20your%20users%20option%20to%20choose%20which%20profile%20data%20they%20want%20to%20share.%20Profile%20data%20can%20be%20public%2C%20viewable%20only%20to%20friends%20or%20be%20completely%20private.%20User%20can%20set%20their%20privacy%20while%20editing%20profile%20or%20within%20Settings%20section%20in%20Profile%20Privacy%20part." title="del.icio.us"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;t=BuddyPress%20-%20Xprofile%20Privacy%20plugin" title="Facebook"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;title=BuddyPress%20-%20Xprofile%20Privacy%20plugin&amp;annotation=Xprofile%20Privacy%20plugin%20will%20give%20your%20users%20option%20to%20choose%20which%20profile%20data%20they%20want%20to%20share.%20Profile%20data%20can%20be%20public%2C%20viewable%20only%20to%20friends%20or%20be%20completely%20private.%20User%20can%20set%20their%20privacy%20while%20editing%20profile%20or%20within%20Settings%20section%20in%20Profile%20Privacy%20part." title="Google Bookmarks"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;title=BuddyPress%20-%20Xprofile%20Privacy%20plugin&amp;source=devbox%40COMPUTEC+The+Computec+development+blog&amp;summary=Xprofile%20Privacy%20plugin%20will%20give%20your%20users%20option%20to%20choose%20which%20profile%20data%20they%20want%20to%20share.%20Profile%20data%20can%20be%20public%2C%20viewable%20only%20to%20friends%20or%20be%20completely%20private.%20User%20can%20set%20their%20privacy%20while%20editing%20profile%20or%20within%20Settings%20section%20in%20Profile%20Privacy%20part." title="LinkedIn"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mister-wong.de/addurl/?bm_url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;bm_description=BuddyPress%20-%20Xprofile%20Privacy%20plugin&amp;plugin=soc" title="MisterWong.DE"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong.DE" alt="MisterWong.DE" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.netvibes.com/share?title=BuddyPress%20-%20Xprofile%20Privacy%20plugin&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F" title="Netvibes"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;title=BuddyPress%20-%20Xprofile%20Privacy%20plugin" title="Reddit"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://slashdot.org/bookmark.pl?title=BuddyPress%20-%20Xprofile%20Privacy%20plugin&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F" title="Slashdot"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;title=BuddyPress%20-%20Xprofile%20Privacy%20plugin" title="StumbleUpon"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://technorati.com/faves?add=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F" title="Technorati"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://twitter.com/home?status=BuddyPress%20-%20Xprofile%20Privacy%20plugin%20-%20http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F" title="Twitter"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;t=BuddyPress%20-%20Xprofile%20Privacy%20plugin&opener=bm&amp;ei=UTF-8&amp;d=Xprofile%20Privacy%20plugin%20will%20give%20your%20users%20option%20to%20choose%20which%20profile%20data%20they%20want%20to%20share.%20Profile%20data%20can%20be%20public%2C%20viewable%20only%20to%20friends%20or%20be%20completely%20private.%20User%20can%20set%20their%20privacy%20while%20editing%20profile%20or%20within%20Settings%20section%20in%20Profile%20Privacy%20part." title="Yahoo! Bookmarks"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://linkarena.com/bookmarks/addlink/?url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;title=BuddyPress%20-%20Xprofile%20Privacy%20plugin" title="LinkArena"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/linkarena.png" title="LinkArena" alt="LinkArena" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;title=BuddyPress%20-%20Xprofile%20Privacy%20plugin" title="Live"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;t=BuddyPress%20-%20Xprofile%20Privacy%20plugin" title="MySpace"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;submitHeadline=BuddyPress%20-%20Xprofile%20Privacy%20plugin&amp;submitSummary=Xprofile%20Privacy%20plugin%20will%20give%20your%20users%20option%20to%20choose%20which%20profile%20data%20they%20want%20to%20share.%20Profile%20data%20can%20be%20public%2C%20viewable%20only%20to%20friends%20or%20be%20completely%20private.%20User%20can%20set%20their%20privacy%20while%20editing%20profile%20or%20within%20Settings%20section%20in%20Profile%20Privacy%20part.&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://yigg.de/neu?exturl=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;exttitle=BuddyPress%20-%20Xprofile%20Privacy%20plugin" title="Yigg"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/yiggit.png" title="Yigg" alt="Yigg" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;title=BuddyPress%20-%20Xprofile%20Privacy%20plugin" title="blogmarks"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/blogmarks.png" title="blogmarks" alt="blogmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;title=BuddyPress%20-%20Xprofile%20Privacy%20plugin" title="Faves"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.friendfeed.com/share?title=BuddyPress%20-%20Xprofile%20Privacy%20plugin&amp;link=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F" title="FriendFeed"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fdevbox.computec.de%2F2009%2F06%2Fbuddypress-xprofile-privacy-plugin%2F&amp;bm_description=BuddyPress%20-%20Xprofile%20Privacy%20plugin&amp;plugin=soc" title="MisterWong"><img src="http://devbox.computec.de/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://devbox.computec.de/2009/06/buddypress-xprofile-privacy-plugin/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
	</channel>
</rss>
