<?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>Buddy Dev &#187; Buddypress</title>
	<atom:link href="http://buddydev.com/category/buddypress/feed/" rel="self" type="application/rss+xml" />
	<link>http://buddydev.com</link>
	<description>Just another Buddydev.com weblog</description>
	<lastBuildDate>Sun, 29 Jan 2012 15:42:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Exclude Users from Members directory on a BuddyPress based social network</title>
		<link>http://buddydev.com/buddypress/exclude-users-from-members-directory-on-a-buddypress-based-social-network/</link>
		<comments>http://buddydev.com/buddypress/exclude-users-from-members-directory-on-a-buddypress-based-social-network/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 15:42:51 +0000</pubDate>
		<dc:creator>Brajesh Singh</dc:creator>
				<category><![CDATA[Buddypress]]></category>
		<category><![CDATA[Buddypress Tricks]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[exclude]]></category>
		<category><![CDATA[members]]></category>

		<guid isPermaLink="false">http://buddydev.com/?p=2998</guid>
		<description><![CDATA[Hi All, I hope you all are busy building the next awesome social network. It has been a long time since I wrote my last post. I was busy setting up an office here in Mohali,Punjab. Everything is setup now, and I am almost back to regular work. Today, we will see how to exclude ...


Related posts:<ol><li><a href='http://buddydev.com/buddypress/introducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network/' rel='bookmark' title='Permanent Link: Introducing Facebook Like User Activity Stream(Home activity feed) for BuddyPress Based Social Network'>Introducing Facebook Like User Activity Stream(Home activity feed) for BuddyPress Based Social Network</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-friends-suggestions-widget-help-your-users-to-build-their-network-faster/' rel='bookmark' title='Permanent Link: BuddyPress Friends suggestions Widget:- Help your Users to Build Their Network faster'>BuddyPress Friends suggestions Widget:- Help your Users to Build Their Network faster</a></li>
<li><a href='http://buddydev.com/buddypress/allow-users-to-select-a-blog-theme-while-signing-upcreating-a-blog-on-your-buddypress-powered-social-network/' rel='bookmark' title='Permanent Link: Allow Users to select a blog theme while signing up/creating a blog on your buddypress powered social network'>Allow Users to select a blog theme while signing up/creating a blog on your buddypress powered social network</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=buddydev&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Hi All,</p>
<p>I hope you all are busy building the next awesome social network.</p>
<p>It has been a long time since I wrote my last post. I was busy setting up an office here in Mohali,Punjab. Everything is setup now, and I am almost back to regular work.</p>
<p>Today, we will see how to exclude some members from  the members directory of BuddyPress. I have seen this question numerous times  and finally I thought to put a small tutorial. It is quick and easy tutorial, so Let us begin.</p>
<p>We will need to hook to<code> '<em>bp_ajax_querystring</em>' filter.<br />
</code></p>
<p>The following code will allow to exclude the users from the members directory. They will be still listed in the friends list of other users with whom they are friends with.</p>
<pre class="brush: php; title: ;">

add_action('bp_ajax_querystring','bpdev_exclude_users',20,2);
function bpdev_exclude_users($qs=false,$object=false){
 //list of users to exclude

 $excluded_user='1,2,3';//comma separated ids of users whom you want to exclude

 if($object!='members')//hide for members only
 return $qs;

 $args=wp_parse_args($qs);

 //check if we are listing friends?, do not exclude in this case
 if(!empty($args['user_id']))
 return $qs;

 if(!empty($args['exclude']))
 $args['exclude']=$args['exclude'].','.$excluded_user;
 else
 $args['exclude']=$excluded_user;

 $qs=build_query($args);

 return $qs;

}
</pre>
<p>You can put the above code in functions.php of your theme or in bp-custom.php.</p>
<p>Everything is fine and the users will be gone from the list. Now, comes a decision point. do you want them to be searchable ? The above code will hide them from the search too.</p>
<p>So, let us improve on our code .</p>
<pre class="brush: php; title: ;">

add_action('bp_ajax_querystring','bpdev_exclude_users',20,2);
function bpdev_exclude_users($qs=false,$object=false){
 //list of users to exclude

 $excluded_user='1,2,3';//comma separated ids of users whom you want to exclude

 if($object!='members')//hide for members only
 return $qs;

 $args=wp_parse_args($qs);

 //check if we are searching  or we are listing friends?, do not exclude in this case
 if(!empty($args['user_id'])||!empty($args['search_terms']))
 return $qs;

 if(!empty($args['exclude']))
 $args['exclude']=$args['exclude'].','.$excluded_user;
 else
 $args['exclude']=$excluded_user;

 $qs=build_query($args);

 return $qs;

}
</pre>
<p>That&#8217;s it. All we are doing is checking if the query string is for listing members and we modify it to exclude the users.</p>
<p>I hope the code will help a couple of you.</p>
<p>Looking forward to hear your feedbacks <img src='http://buddydev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<!-- PHP 5.x -->


Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F&amp;partner=sociable" title="Print"><img src="http://buddydev.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F&amp;title=Exclude%20Users%20from%20Members%20directory%20on%20a%20BuddyPress%20based%20social%20network&amp;bodytext=Hi%20All%2C%0D%0A%0D%0AI%20hope%20you%20all%20are%20busy%20building%20the%20next%20awesome%20social%20network.%0D%0A%0D%0AIt%20has%20been%20a%20long%20time%20since%20I%20wrote%20my%20last%20post.%20I%20was%20busy%20setting%20up%20an%20office%20here%20in%20Mohali%2CPunjab.%20Everything%20is%20setup%20now%2C%20and%20I%20am%20almost%20back%20to%20regular%20work.%0D" title="Digg"><img src="http://buddydev.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F" title="Sphinn"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F&amp;title=Exclude%20Users%20from%20Members%20directory%20on%20a%20BuddyPress%20based%20social%20network&amp;notes=Hi%20All%2C%0D%0A%0D%0AI%20hope%20you%20all%20are%20busy%20building%20the%20next%20awesome%20social%20network.%0D%0A%0D%0AIt%20has%20been%20a%20long%20time%20since%20I%20wrote%20my%20last%20post.%20I%20was%20busy%20setting%20up%20an%20office%20here%20in%20Mohali%2CPunjab.%20Everything%20is%20setup%20now%2C%20and%20I%20am%20almost%20back%20to%20regular%20work.%0D" title="del.icio.us"><img src="http://buddydev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F&amp;t=Exclude%20Users%20from%20Members%20directory%20on%20a%20BuddyPress%20based%20social%20network" title="Facebook"><img src="http://buddydev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F&amp;title=Exclude%20Users%20from%20Members%20directory%20on%20a%20BuddyPress%20based%20social%20network&amp;annotation=Hi%20All%2C%0D%0A%0D%0AI%20hope%20you%20all%20are%20busy%20building%20the%20next%20awesome%20social%20network.%0D%0A%0D%0AIt%20has%20been%20a%20long%20time%20since%20I%20wrote%20my%20last%20post.%20I%20was%20busy%20setting%20up%20an%20office%20here%20in%20Mohali%2CPunjab.%20Everything%20is%20setup%20now%2C%20and%20I%20am%20almost%20back%20to%20regular%20work.%0D" title="Google Bookmarks"><img src="http://buddydev.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F&amp;Title=Exclude%20Users%20from%20Members%20directory%20on%20a%20BuddyPress%20based%20social%20network" title="BlinkList"><img src="http://buddydev.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F&amp;title=Exclude%20Users%20from%20Members%20directory%20on%20a%20BuddyPress%20based%20social%20network" title="DZone"><img src="http://buddydev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Exclude%20Users%20from%20Members%20directory%20on%20a%20BuddyPress%20based%20social%20network&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F" title="FriendFeed"><img src="http://buddydev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.indianpad.com/submit.php?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F" title="IndianPad"><img src="http://buddydev.com/wp-content/plugins/sociable/images/indianpad.png" title="IndianPad" alt="IndianPad" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F&amp;t=Exclude%20Users%20from%20Members%20directory%20on%20a%20BuddyPress%20based%20social%20network" title="MySpace"><img src="http://buddydev.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F&amp;title=Exclude%20Users%20from%20Members%20directory%20on%20a%20BuddyPress%20based%20social%20network&amp;popup=no" title="Netvouz"><img src="http://buddydev.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F&amp;title=Exclude%20Users%20from%20Members%20directory%20on%20a%20BuddyPress%20based%20social%20network" title="Reddit"><img src="http://buddydev.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.sphere.com/search?q=sphereit:http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F&amp;title=Exclude%20Users%20from%20Members%20directory%20on%20a%20BuddyPress%20based%20social%20network" title="SphereIt"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphere.png" title="SphereIt" alt="SphereIt" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F&amp;title=Exclude%20Users%20from%20Members%20directory%20on%20a%20BuddyPress%20based%20social%20network" title="StumbleUpon"><img src="http://buddydev.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fexclude-users-from-members-directory-on-a-buddypress-based-social-network%2F" title="Technorati"><img src="http://buddydev.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>

<p>Related posts:<ol><li><a href='http://buddydev.com/buddypress/introducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network/' rel='bookmark' title='Permanent Link: Introducing Facebook Like User Activity Stream(Home activity feed) for BuddyPress Based Social Network'>Introducing Facebook Like User Activity Stream(Home activity feed) for BuddyPress Based Social Network</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-friends-suggestions-widget-help-your-users-to-build-their-network-faster/' rel='bookmark' title='Permanent Link: BuddyPress Friends suggestions Widget:- Help your Users to Build Their Network faster'>BuddyPress Friends suggestions Widget:- Help your Users to Build Their Network faster</a></li>
<li><a href='http://buddydev.com/buddypress/allow-users-to-select-a-blog-theme-while-signing-upcreating-a-blog-on-your-buddypress-powered-social-network/' rel='bookmark' title='Permanent Link: Allow Users to select a blog theme while signing up/creating a blog on your buddypress powered social network'>Allow Users to select a blog theme while signing up/creating a blog on your buddypress powered social network</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buddydev.com/buddypress/exclude-users-from-members-directory-on-a-buddypress-based-social-network/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>BuddyPress Global/Sitewide Unified search update for BuddyPress 1.5+</title>
		<link>http://buddydev.com/buddypress/buddypress-globalsitewide-unified-search-update-for-buddypress-1-5/</link>
		<comments>http://buddydev.com/buddypress/buddypress-globalsitewide-unified-search-update-for-buddypress-1-5/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 22:28:41 +0000</pubDate>
		<dc:creator>Brajesh Singh</dc:creator>
				<category><![CDATA[Buddypress]]></category>
		<category><![CDATA[Buddypress Tricks]]></category>
		<category><![CDATA[global search]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[unified search]]></category>

		<guid isPermaLink="false">http://buddydev.com/?p=2921</guid>
		<description><![CDATA[It&#8217;s a delayed post and I will like to express my sincere apologies to everyone whom I could not reply individually about the Unified Search. Here I am going to put everything you ever asked about unified search in this post. For those of you who haven&#8217;t seen my last post please check the original post here. ...


Related posts:<ol><li><a href='http://buddydev.com/buddypress/creating-the-sitewide-globalunified-search-page-for-your-buddypress-theme/' rel='bookmark' title='Permanent Link: Creating The sitewide global/unified search Page for your Buddypress Theme'>Creating The sitewide global/unified search Page for your Buddypress Theme</a></li>
<li><a href='http://buddydev.com/buddypress/introducing-global-sitewide-forums-plugin-for-buddypress/' rel='bookmark' title='Permanent Link: Introducing Global sitewide forums plugin for Buddypress'>Introducing Global sitewide forums plugin for Buddypress</a></li>
<li><a href='http://buddydev.com/buddypress/supporting-cubepoints-for-global-forums/' rel='bookmark' title='Permanent Link: Supporting Cubepoints for Global forums'>Supporting Cubepoints for Global forums</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=buddydev&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>It&#8217;s a delayed post and I will like to express my sincere apologies to everyone whom I could not reply individually about the Unified Search. Here I am going to put everything you ever asked about unified search in this post.<br />
For those of you who haven&#8217;t seen my last post please check the original post here. This post is all about making unifiead search work with BuddyPress 1.5+. It is a long post, so please  have a cup of coffee and let us get started.</p>
<h3>List of things we will cover below:-</h3>
<ul>
<li><a href="#installing-plugin">Installing Global Unified search Plugin</a></li>
<li><a href="#basic-setup">Basic setup for the theme</a></li>
<li><a href="#showing-results">Showing search results for</a>:-
<ul>
<li><a href="#members-search">Members search</a></li>
<li><a href="#groups-search">Groups search</a></li>
<li><a href="#activity-search">Activity search</a></li>
<li><a href="#posts-search">Blog Posts search</a></li>
<li><a href="#blogs-search">Blog search</a></li>
<li><a href="#forums-search">Group Forum search(BBPress 1.0 which you use for group forums)</a></li>
<li><a href="#bbpress-topic-search">BBPress 2.0 based forums topic search</a></li>
</ul>
</li>
</ul>
<p>Lets get started now.</p>
<h3 id="installing-plugin">Step1:- Installing the BP Global Unified search plugin</h3>
<p>Install BP Global Unified search plugin.</p>
<p><strong>Download:-</strong><a href="http://buddydev.com/plugins/bp-global-unified-search/">BP Global Unified search</a></p>
<p>Once you Install and activate this plugin, BuddyPress will give you a notice that you need to create a page and associate it with Search Page.<br />
Here is a screenshot showing the notice<br />
<a href="http://buddydev.com/files/2011/12/search-component.png" rel="lightbox[2921]" title="search-component"><img class="aligncenter size-medium wp-image-2924" title="search-component" src="http://buddydev.com/files/2011/12/search-component-300x41.png" alt="" width="300" height="41" /></a></p>
<p>Please create a WordPress page and associate the page with search page component in BuddyPress-&gt;Pages screen.<br />
If you are done with this, let us proceed to the coding part now.</p>
<p><strong>Please note that all the code below should go to your active theme/functions.php until and unless mentioned</strong>.</p>
<h3 id="basic-setup">Step2:- Basic setup for theme</h3>
<p>Remove the BuddyPress dropwn filters for members/groups/posts etc</p>
<pre class="brush: php; title: ;">
//Remove Buddypress search drowpdown for selecting members etc
add_filter('bp_search_form_type_select', 'bpmag_remove_search_dropdown'  );
function bpmag_remove_search_dropdown($select_html){
    return '';
}
</pre>
<h3>Step 3: Fixing the redirect/page not found for search page</h3>
<p>Stop BuddyPress from redirecting to members/other component(by default on search, you are redirected to members directory). Let us stop that behavior.</p>
<pre class="brush: php; title: ;">
//force buddypress to not process the search/redirect
remove_action( 'bp_init', 'bp_core_action_search_site', 7 );
</pre>
<h3>Step4: Now, let us handle the search page ourself</h3>
<pre class="brush: php; title: ;">
//let us handle the unified page ourself
add_action( 'init', 'bp_buddydev_search', 10 );// custom handler for the search
function bp_buddydev_search(){
global $bp;
	if ( bp_is_current_component(BP_SEARCH_SLUG) )//if thids is search page
		bp_core_load_template( apply_filters( 'bp_core_template_search_template', 'search-single' ) );//load the single searh template
}
</pre>
<h3>Step5: Tweaking the Query string for search</h3>
<p>We will append the search term to BuddyPress query string.</p>
<pre class="brush: php; title: ;">
add_action('advance-search','bpmag_show_search_results',1);//highest priority
/* we just need to filter the query and change search_term=The search text*/
function bpmag_show_search_results(){
    //filter the ajaxquerystring
     add_filter('bp_ajax_querystring','bpmag_global_search_qs',100,2);
}

 //modify the query string with the search term
function bpmag_global_search_qs(){
	return 'search_terms='.$_REQUEST['search-terms'];
}

//a utility function
function bpmag_is_advance_search(){
global $bp;
if(bp_is_current_component( BP_SEARCH_SLUG))
	return true;
return false;
}
</pre>
<p>Now we are done with the basic setup. It is time to show the search reults.</p>
<h3>Step 6: Create a  search-single.php in your theme</h3>
<p>In the content area(if you are using default theme, then inside the div &#8220;padder&#8221;) put the following line</p>
<pre class="brush: php; title: ;">
&lt;?php do_action(&quot;advance-search&quot;);?&gt;
</pre>
<h3 id="showing-results">Step7: showing the results</h3>
<p>It is time to show the results. Please note, you can change which component&#8217;s search is shown first by changing the priority in the  add_action below. Basically, we will check for the active component and just add their search result using the add_action, let us start with members.</p>
<p><span id="members-search"><strong>Members search</strong></span></p>
<pre class="brush: php; title: ;">
//show the search results for member*/
function bpmag_show_member_search(){
    ?&gt;
   &lt;div class=&quot;members-search-result search-result&quot;&gt;
   &lt;h2 class=&quot;content-title&quot;&gt;&lt;?php _e('Members Results',&quot;bpmag&quot;);?&gt;&lt;/h2&gt;
  &lt;?php locate_template( array( 'members/members-loop.php' ), true ) ;  ?&gt;
  &lt;?php global $members_template;
	if($members_template-&gt;total_member_count&gt;1):?&gt;
   &lt;a href=&quot;&lt;?php echo bp_get_root_domain().'/'.  bp_get_members_slug().'/?s='.$_REQUEST['search-terms']?&gt;&quot; &gt;&lt;?php _e(sprintf('View all %d matched Members',$members_template-&gt;total_member_count),&quot;bpmag&quot;);?&gt;&lt;/a&gt;
	&lt;?php 	endif; ?&gt;
    &lt;/div&gt;
&lt;?php
 }
//Hook Member results to search page
add_action('advance-search','bpmag_show_member_search',10); //the priority defines where in page this result will show up(the order of member search in other searchs)
</pre>
<p>Similarly, we will add the support for other components.<br />
<span id="groups-search"><strong></strong></span></p>
<p><span id="groups-search"><strong>Adding Group Search</strong></span></p>
<pre class="brush: php; title: ;">

//Group search
function bpmag_show_groups_search(){
    ?&gt;
&lt;div class=&quot;groups-search-result search-result&quot;&gt;
 	&lt;h2 class=&quot;content-title&quot;&gt;&lt;?php _e('Group Search','bpmag');?&gt;&lt;/h2&gt;
	&lt;?php locate_template( array('groups/groups-loop.php' ), true ) ;  ?&gt;

        &lt;a href=&quot;&lt;?php echo bp_get_root_domain().'/'.  bp_get_groups_slug().'/?s='.$_REQUEST['search-terms']?&gt;&quot; &gt;&lt;?php _e(&quot;View All matched Groups&quot;,&quot;bpmag&quot;);?&gt;&lt;/a&gt;
&lt;/div&gt;
	&lt;?php
 //endif;
  }

//Hook Groups results to search page
 if(bp_is_active( 'groups' ))
    add_action('advance-search','bpmag_show_groups_search',15);
</pre>
<p><span id="activity-search"><strong>Searching Activity Updates</strong></span></p>
<pre class="brush: php; title: ;">

 /**activity update search*/
 //Activity search
function bpmag_show_activity_search(){
    ?&gt;
&lt;div class=&quot;activity-search-result search-result&quot;&gt;
 	&lt;h2 class=&quot;content-title&quot;&gt;&lt;?php _e('Activity Updates','bpmag');?&gt;&lt;/h2&gt;
	&lt;?php locate_template( array('activity/activity-loop.php' ), true ) ;  ?&gt;

        &lt;a href=&quot;&lt;?php echo bp_get_root_domain().'/'.  bp_get_activity_slug().'/?s='.$_REQUEST['search-terms']?&gt;&quot; &gt;&lt;?php _e(&quot;View all matched updates&quot;,&quot;bpmag&quot;);?&gt;&lt;/a&gt;
&lt;/div&gt;
	&lt;?php
 //endif;
  }

//Hook Activity results to search page
 if(bp_is_active( 'activity' ))
    add_action('advance-search','bpmag_show_activity_search',20);
</pre>
<p><span id="posts-search"><strong>Showing Blog post search</strong></span></p>
<pre class="brush: php; title: ;">

/**
 *
 * Show blog posts in search
 */
function bpmag_show_site_blog_search(){
    ?&gt;
 &lt;div class=&quot;blog-search-result search-result&quot;&gt;

  &lt;h2 class=&quot;content-title&quot;&gt;&lt;?php _e('Blog Search','bpmag');?&gt;&lt;/h2&gt;

   &lt;?php locate_template( array( 'search-loop.php' ), true ) ;  ?&gt;
   &lt;a href=&quot;&lt;?php echo bp_get_root_domain().'/?s='.$_REQUEST['search-terms']?&gt;&quot; &gt;&lt;?php _e(&quot;View All matched Posts&quot;,&quot;bpmag&quot;);?&gt;&lt;/a&gt;
&lt;/div&gt;
   &lt;?php
  }

//Hook Blog Post results to search page
 add_action('advance-search',&quot;bpmag_show_site_blog_search&quot;,25);
</pre>
<p><span id="blogs-search"><strong>Showing Blogs search(for Multisite)</strong></span></p>
<pre class="brush: php; title: ;">
//show blogs search result

function bpmag_show_blogs_search(){

    ?&gt;
  &lt;div class=&quot;blogs-search-result search-result&quot;&gt;
  &lt;h2 class=&quot;content-title&quot;&gt;&lt;?php _e('Blogs Search',&quot;bpmag&quot;);?&gt;&lt;/h2&gt;
  &lt;?php locate_template( array( 'blogs/blogs-loop.php' ), true ) ;  ?&gt;
  &lt;a href=&quot;&lt;?php echo bp_get_root_domain().'/'. bp_get_blogs_slug().'/?s='.$_REQUEST['search-terms']?&gt;&quot; &gt;&lt;?php _e(&quot;View All matched Blogs&quot;,&quot;bpmag&quot;);?&gt;&lt;/a&gt;
 &lt;/div&gt;
  &lt;?php
  }

//Hook Blogs results to search page if blogs comonent is active
 if(bp_is_active( 'blogs' ))
    add_action('advance-search','bpmag_show_blogs_search',30);
</pre>
<p><span id="forums-search"><strong>Showing Forum(the Groups forum) topics in the search</strong></span></p>
<pre class="brush: php; title: ;">

//show forums search
function bpmag_show_forums_search(){
    ?&gt;
 &lt;div class=&quot;forums-search-result search-result&quot;&gt;
   &lt;h2 class=&quot;content-title&quot;&gt;&lt;?php _e(&quot;Forums Search&quot;,&quot;bpmag&quot;);?&gt;&lt;/h2&gt;
  &lt;?php locate_template( array( 'forums/forums-loop.php' ), true ) ;  ?&gt;
   &lt;a href=&quot;&lt;?php echo bp_get_root_domain().'/'.  bp_get_forums_slug().'/?s='.$_REQUEST['search-terms']?&gt;&quot; &gt;&lt;?php _e(&quot;View All matched forum posts&quot;,&quot;bpmag&quot;);?&gt;&lt;/a&gt;
&lt;/div&gt;
  &lt;?php
  }

//Hook Forums results to search page
if ( bp_is_active( 'forums' ) &amp;&amp; bp_forums_is_installed_correctly() &amp;&amp; bp_forums_has_directory() )
 add_action('advance-search',&quot;bpmag_show_forums_search&quot;,35);
</pre>
<p>Extra bonus for following this tutorial till now:-<br />
<span id="bbpress-topic-search"><strong>Showing Results for BBPress 2.0 plugin</strong></span></p>
<pre class="brush: php; title: ;">
function bpmag_show_bbpress_topic_search(){
     $_REQUEST['ts']=$_REQUEST['search-terms'];//put it for bbpress topic search
    ?&gt;
  &lt;div class=&quot;bbp-topic-search-result search-result&quot;&gt;
  &lt;h2 class=&quot;content-title&quot;&gt;&lt;?php _e('Global Topic Search',&quot;bpmag&quot;);?&gt;&lt;/h2&gt;
  &lt;?php bbp_get_template_part('bbpress/content','archive-topic') ;  ?&gt;
  &lt;?php
  global $bbp;
    $page = bbp_get_page_by_path( $bbp-&gt;root_slug );

  ?&gt;
  &lt;a href=&quot;&lt;?php echo get_permalink($page).'?ts='.$_REQUEST['search-terms']?&gt;&quot; &gt;&lt;?php _e(&quot;View All matched topics&quot;,&quot;bpmag&quot;);?&gt;&lt;/a&gt;
 &lt;/div&gt;
  &lt;?php
  }

//Hook Blogs results to search page if blogs comonent is active
 if(function_exists( 'bbp_has_topics' ))
    add_action('advance-search','bpmag_show_bbpress_topic_search',40);
</pre>
<p>btw, if you find this tutorial a long one, you can simply copy the template/functions.php from bp-global-unified-search and paste it in your theme&#8217;s functions.php. Also, I have put a sample search-loop.php in the bp-global-unified-search/template directory. So, you can use it directly or adapt to your theme.</p>
<p>I hope you will like it. Looking forward to hear your suggestions and feedback for further improvement.</p>
<!-- PHP 5.x -->


Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F&amp;partner=sociable" title="Print"><img src="http://buddydev.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F&amp;title=BuddyPress%20Global%2FSitewide%20Unified%20search%20update%20for%20BuddyPress%201.5%2B&amp;bodytext=It%27s%20a%20delayed%20post%20and%20I%20will%20like%20to%20express%20my%20sincere%20apologies%20to%20everyone%20whom%20I%20could%20not%20reply%20individually%20about%20the%20Unified%20Search.%20Here%20I%20am%20going%20to%20put%C2%A0everything%C2%A0you%20ever%20asked%20about%20unified%20search%20in%20this%20post.%0D%0AFor%20those%20of%20you%20who%20" title="Digg"><img src="http://buddydev.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F" title="Sphinn"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F&amp;title=BuddyPress%20Global%2FSitewide%20Unified%20search%20update%20for%20BuddyPress%201.5%2B&amp;notes=It%27s%20a%20delayed%20post%20and%20I%20will%20like%20to%20express%20my%20sincere%20apologies%20to%20everyone%20whom%20I%20could%20not%20reply%20individually%20about%20the%20Unified%20Search.%20Here%20I%20am%20going%20to%20put%C2%A0everything%C2%A0you%20ever%20asked%20about%20unified%20search%20in%20this%20post.%0D%0AFor%20those%20of%20you%20who%20" title="del.icio.us"><img src="http://buddydev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F&amp;t=BuddyPress%20Global%2FSitewide%20Unified%20search%20update%20for%20BuddyPress%201.5%2B" title="Facebook"><img src="http://buddydev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F&amp;title=BuddyPress%20Global%2FSitewide%20Unified%20search%20update%20for%20BuddyPress%201.5%2B&amp;annotation=It%27s%20a%20delayed%20post%20and%20I%20will%20like%20to%20express%20my%20sincere%20apologies%20to%20everyone%20whom%20I%20could%20not%20reply%20individually%20about%20the%20Unified%20Search.%20Here%20I%20am%20going%20to%20put%C2%A0everything%C2%A0you%20ever%20asked%20about%20unified%20search%20in%20this%20post.%0D%0AFor%20those%20of%20you%20who%20" title="Google Bookmarks"><img src="http://buddydev.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F&amp;Title=BuddyPress%20Global%2FSitewide%20Unified%20search%20update%20for%20BuddyPress%201.5%2B" title="BlinkList"><img src="http://buddydev.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F&amp;title=BuddyPress%20Global%2FSitewide%20Unified%20search%20update%20for%20BuddyPress%201.5%2B" title="DZone"><img src="http://buddydev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=BuddyPress%20Global%2FSitewide%20Unified%20search%20update%20for%20BuddyPress%201.5%2B&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F" title="FriendFeed"><img src="http://buddydev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.indianpad.com/submit.php?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F" title="IndianPad"><img src="http://buddydev.com/wp-content/plugins/sociable/images/indianpad.png" title="IndianPad" alt="IndianPad" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F&amp;t=BuddyPress%20Global%2FSitewide%20Unified%20search%20update%20for%20BuddyPress%201.5%2B" title="MySpace"><img src="http://buddydev.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F&amp;title=BuddyPress%20Global%2FSitewide%20Unified%20search%20update%20for%20BuddyPress%201.5%2B&amp;popup=no" title="Netvouz"><img src="http://buddydev.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F&amp;title=BuddyPress%20Global%2FSitewide%20Unified%20search%20update%20for%20BuddyPress%201.5%2B" title="Reddit"><img src="http://buddydev.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.sphere.com/search?q=sphereit:http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F&amp;title=BuddyPress%20Global%2FSitewide%20Unified%20search%20update%20for%20BuddyPress%201.5%2B" title="SphereIt"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphere.png" title="SphereIt" alt="SphereIt" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F&amp;title=BuddyPress%20Global%2FSitewide%20Unified%20search%20update%20for%20BuddyPress%201.5%2B" title="StumbleUpon"><img src="http://buddydev.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-globalsitewide-unified-search-update-for-buddypress-1-5%2F" title="Technorati"><img src="http://buddydev.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>

<p>Related posts:<ol><li><a href='http://buddydev.com/buddypress/creating-the-sitewide-globalunified-search-page-for-your-buddypress-theme/' rel='bookmark' title='Permanent Link: Creating The sitewide global/unified search Page for your Buddypress Theme'>Creating The sitewide global/unified search Page for your Buddypress Theme</a></li>
<li><a href='http://buddydev.com/buddypress/introducing-global-sitewide-forums-plugin-for-buddypress/' rel='bookmark' title='Permanent Link: Introducing Global sitewide forums plugin for Buddypress'>Introducing Global sitewide forums plugin for Buddypress</a></li>
<li><a href='http://buddydev.com/buddypress/supporting-cubepoints-for-global-forums/' rel='bookmark' title='Permanent Link: Supporting Cubepoints for Global forums'>Supporting Cubepoints for Global forums</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buddydev.com/buddypress/buddypress-globalsitewide-unified-search-update-for-buddypress-1-5/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
		<item>
		<title>BuddyPress Simple Front End Post: A plugin to allow front end posting for the users</title>
		<link>http://buddydev.com/buddypress/buddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users/</link>
		<comments>http://buddydev.com/buddypress/buddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 18:13:49 +0000</pubDate>
		<dc:creator>Brajesh Singh</dc:creator>
				<category><![CDATA[Buddypress]]></category>
		<category><![CDATA[Buddypress Free Plugins]]></category>

		<guid isPermaLink="false">http://buddydev.com/?p=2894</guid>
		<description><![CDATA[BuddyPress Simple Front End post plugin allows developer to create unlimited post forms for the front end posting. The current release includes support for custom posts type and categories but not the custom taxonomies. I will include custom taxonomy support in future. I created this plugin to use with Blog categories with groups plugin as ...


Related posts:<ol><li><a href='http://buddydev.com/buddypress/introducing-buddypress-simple-google-map-plugin/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Simple Google Map Plugin'>Introducing BuddyPress Simple Google Map Plugin</a></li>
<li><a href='http://buddydev.com/buddypress/blog-categories-for-groups-plugin/' rel='bookmark' title='Permanent Link: Blog Categories for Groups Plugin'>Blog Categories for Groups Plugin</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation/' rel='bookmark' title='Permanent Link: BuddyPress Ajax Registration Plugin: Allow users to quickly register on any page of your website and increase participation'>BuddyPress Ajax Registration Plugin: Allow users to quickly register on any page of your website and increase participation</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=buddydev&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>BuddyPress Simple Front End post plugin allows developer to create unlimited post forms for the front end posting. The current release includes support for custom posts type and categories but not the custom taxonomies. I will include custom taxonomy support in future.</p>
<p>I created this plugin to use with Blog categories with groups plugin as I could not find a nice solution for the purpose. Currently this plugin is aimed as developers. It has a simple api to create forms and to use them in theme. All the  nasty works are handled by the plugin, so a developer does not need to dive into the code. Instead just use two lines of code to create a custom post form for any purpose they like.</p>
<p>Here is a screenshot of it being used with Blog Categories for groups plugin</p>
<p><a href="http://buddydev.com/files/2011/12/using-with-blog-categories.png" rel="lightbox[2894]" title="using-with-blog-categories"><img class="aligncenter size-medium wp-image-2896" title="using-with-blog-categories" src="http://buddydev.com/files/2011/12/using-with-blog-categories-300x132.png" alt="" width="300" height="132" /></a></p>
<h3>Features:-</h3>
<ul>
<li>Allows to create  any number of customized post forms</li>
<li>supports custom post type</li>
<li>supports including a list of categories</li>
<li>has a very simple to use API for developers(I will show an example below)</li>
<li>It is very very Light weight</li>
</ul>
<h3>How to Use It:-</h3>
<p>The basic philosophy is to allow developers to create an Instance of  &#8217;BPSimpleBlogPostEditForm&#8217; class for each of their form. This class handles the view and behavior both. Once you create an instance, you will need to register it to the &#8216;BPSimpleBlogPostEditor&#8217; class(which is implemented as singleton pattern). Ok, so that seems nasty, right? No worries, you don&#8217;t need to delve into that. There are two api functions which will do it for you. You just need to pass the form name(which should be a unique name, it can contain spaces etc) and the basic sdettings of the form(like post type, allowed categories, who can write, who will be attributed as the author of the post and the post status).</p>
<p><strong>Registering a Form Instance:-</strong></p>
<p>To create and register a post form(with settings), you will need to use the following code</p>
<pre class="brush: php; title: ;">

$form=bp_new_simple_blog_post_form($form_name,$settings);
</pre>
<p>The above code creates an instanace of &#8216;BPSimpleBlogPostEditForm&#8217; class and registers it to the editor. You can create any number of forms you want. The above code must be called on/before<strong> bp_init action priority 10</strong>.</p>
<p>Here is a working example with the details of allowed parameters.</p>
<pre class="brush: php; title: ;">

add_action('bp_init','my_post_form',4);//register a form
//it will register a fomr
function my_post_form(){
$settings=array('post_type'=&gt;'post',//which post type
'post_author'=&gt;  bp_loggedin_user_id(),//who will be the author of the submitted post
'post_status'=&gt;'draft',//how the post should be saved, change it to 'publish' if you want to make the post published automatically
'current_user_can_post'=&gt;  is_user_logged_in(),//who can post
'show_categories'=&gt;true,//whether to show categories list or not, make sure to keep it true
'allowed_categories'=&gt;array(1,2,3,4)//array of allowed categories which should be shown, use  get_all_category_ids() if you want to allow all categories
);

$form=bp_new_simple_blog_post_form('my form',$settings);//create a Form Instance and register it

}
</pre>
<p>You can modify any  parameter as you like. Even you can set it to allow non logged in users to submit post and save it to another user account.</p>
<p>The above code will register a new form with name &#8216;my form&#8217; and you can retrieve it later at any point and show the form anywhere using the following code. We need to register the form on/before bp_init priority 10 to allow the controller to have access to this form. If you register the form after bp_init action, the controller will be unaware of the form&#8217;s existance and can not handle the save action.</p>
<p>Once a form is registered, you can show it anywhere you like using the following function.</p>
<pre class="brush: php; title: ;">

//now let us  find the form and render it

$form=bp_get_simple_blog_post_form('my form');

if($form) //if this is a valid form
  $form-&gt;show();//it will show the form
</pre>
<p>You can use above code anywhere in your template to render the form.</p>
<p>Though registering the form on/before bp_init action may seem like a bad choice to some of you, It allows for server side validation of the credentials/authentication and thus helps from any misuse of the form.</p>
<p>It is a free plugin, please feel free to download it and use it on your custom projects. The Blog Categoris for groups plugin version 1.0.4 supports this plugin. You will simply need to activate this plugin and the plugin will work as the form handler for Bp Blog Categories.</p>
<p>Download Link:<a href="http://buddydev.com/plugins/bp-simple-front-end-post/">http://buddydev.com/plugins/bp-simple-front-end-post/</a></p>
<p>Code Repository: <a href="https://github.com/sbrajesh/bp-simple-front-end-post">https://github.com/sbrajesh/bp-simple-front-end-post</a></p>
<p>Looking forward to hear your suggestions for the improvement of this plugin <img src='http://buddydev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<!-- PHP 5.x -->


Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F&amp;partner=sociable" title="Print"><img src="http://buddydev.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F&amp;title=BuddyPress%20Simple%20Front%20End%20Post%3A%20A%20plugin%20to%20allow%20front%20end%20posting%20for%20the%20users&amp;bodytext=BuddyPress%20Simple%20Front%20End%20post%20plugin%20allows%20developer%20to%20create%20unlimited%20post%20forms%20for%20the%20front%20end%20posting.%20The%20current%20release%20includes%20support%20for%20custom%20posts%20type%20and%20categories%20but%20not%20the%20custom%20taxonomies.%20I%20will%20include%20custom%20taxonomy" title="Digg"><img src="http://buddydev.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F" title="Sphinn"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F&amp;title=BuddyPress%20Simple%20Front%20End%20Post%3A%20A%20plugin%20to%20allow%20front%20end%20posting%20for%20the%20users&amp;notes=BuddyPress%20Simple%20Front%20End%20post%20plugin%20allows%20developer%20to%20create%20unlimited%20post%20forms%20for%20the%20front%20end%20posting.%20The%20current%20release%20includes%20support%20for%20custom%20posts%20type%20and%20categories%20but%20not%20the%20custom%20taxonomies.%20I%20will%20include%20custom%20taxonomy" title="del.icio.us"><img src="http://buddydev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F&amp;t=BuddyPress%20Simple%20Front%20End%20Post%3A%20A%20plugin%20to%20allow%20front%20end%20posting%20for%20the%20users" title="Facebook"><img src="http://buddydev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F&amp;title=BuddyPress%20Simple%20Front%20End%20Post%3A%20A%20plugin%20to%20allow%20front%20end%20posting%20for%20the%20users&amp;annotation=BuddyPress%20Simple%20Front%20End%20post%20plugin%20allows%20developer%20to%20create%20unlimited%20post%20forms%20for%20the%20front%20end%20posting.%20The%20current%20release%20includes%20support%20for%20custom%20posts%20type%20and%20categories%20but%20not%20the%20custom%20taxonomies.%20I%20will%20include%20custom%20taxonomy" title="Google Bookmarks"><img src="http://buddydev.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F&amp;Title=BuddyPress%20Simple%20Front%20End%20Post%3A%20A%20plugin%20to%20allow%20front%20end%20posting%20for%20the%20users" title="BlinkList"><img src="http://buddydev.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F&amp;title=BuddyPress%20Simple%20Front%20End%20Post%3A%20A%20plugin%20to%20allow%20front%20end%20posting%20for%20the%20users" title="DZone"><img src="http://buddydev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=BuddyPress%20Simple%20Front%20End%20Post%3A%20A%20plugin%20to%20allow%20front%20end%20posting%20for%20the%20users&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F" title="FriendFeed"><img src="http://buddydev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.indianpad.com/submit.php?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F" title="IndianPad"><img src="http://buddydev.com/wp-content/plugins/sociable/images/indianpad.png" title="IndianPad" alt="IndianPad" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F&amp;t=BuddyPress%20Simple%20Front%20End%20Post%3A%20A%20plugin%20to%20allow%20front%20end%20posting%20for%20the%20users" title="MySpace"><img src="http://buddydev.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F&amp;title=BuddyPress%20Simple%20Front%20End%20Post%3A%20A%20plugin%20to%20allow%20front%20end%20posting%20for%20the%20users&amp;popup=no" title="Netvouz"><img src="http://buddydev.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F&amp;title=BuddyPress%20Simple%20Front%20End%20Post%3A%20A%20plugin%20to%20allow%20front%20end%20posting%20for%20the%20users" title="Reddit"><img src="http://buddydev.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.sphere.com/search?q=sphereit:http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F&amp;title=BuddyPress%20Simple%20Front%20End%20Post%3A%20A%20plugin%20to%20allow%20front%20end%20posting%20for%20the%20users" title="SphereIt"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphere.png" title="SphereIt" alt="SphereIt" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F&amp;title=BuddyPress%20Simple%20Front%20End%20Post%3A%20A%20plugin%20to%20allow%20front%20end%20posting%20for%20the%20users" title="StumbleUpon"><img src="http://buddydev.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users%2F" title="Technorati"><img src="http://buddydev.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>

<p>Related posts:<ol><li><a href='http://buddydev.com/buddypress/introducing-buddypress-simple-google-map-plugin/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Simple Google Map Plugin'>Introducing BuddyPress Simple Google Map Plugin</a></li>
<li><a href='http://buddydev.com/buddypress/blog-categories-for-groups-plugin/' rel='bookmark' title='Permanent Link: Blog Categories for Groups Plugin'>Blog Categories for Groups Plugin</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation/' rel='bookmark' title='Permanent Link: BuddyPress Ajax Registration Plugin: Allow users to quickly register on any page of your website and increase participation'>BuddyPress Ajax Registration Plugin: Allow users to quickly register on any page of your website and increase participation</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buddydev.com/buddypress/buddypress-simple-front-end-post-a-plugin-to-allow-front-end-posting-for-the-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing BP Testimonials</title>
		<link>http://buddydev.com/buddypress/introducing-bp-testimonials/</link>
		<comments>http://buddydev.com/buddypress/introducing-bp-testimonials/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 20:31:32 +0000</pubDate>
		<dc:creator>Brajesh Singh</dc:creator>
				<category><![CDATA[Buddypress]]></category>
		<category><![CDATA[Buddypress Premium Plugins]]></category>

		<guid isPermaLink="false">http://buddydev.com/?p=2859</guid>
		<description><![CDATA[BP Testimonials is a plugin which allows your users to leave recommendations/testiomonial for other  users on your BuddyPress based social network. Purpose:- Allow users recommending other users Can be used as in Linked In recommendation feature or orkut testimonial feature(Or may be as review) This plugin uses custom post types in optimized way and will ...


Related posts:<ol><li><a href='http://buddydev.com/buddypress/introducing-buddypress-message-privacy-control-plugin/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Message Privacy Plugin'>Introducing BuddyPress Message Privacy Plugin</a></li>
<li><a href='http://buddydev.com/buddypress/introducing-the-first-stable-version-of-global-forums-plugin/' rel='bookmark' title='Permanent Link: Introducing the first stable version of Global Forums Plugin'>Introducing the first stable version of Global Forums Plugin</a></li>
<li><a href='http://buddydev.com/uncategorized/introducing-buddypress-live-notification-plugin-a-facebook-like-notification-plugin-for-buddypress/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Live Notification Plugin: A facebook like notification plugin for BuddyPress'>Introducing BuddyPress Live Notification Plugin: A facebook like notification plugin for BuddyPress</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=buddydev&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>BP Testimonials is a plugin which allows your users to leave recommendations/testiomonial for other  users on your BuddyPress based social network.</p>
<h3>Purpose:-</h3>
<ul>
<li>Allow users recommending other users</li>
<li>Can be used as in Linked In recommendation feature or orkut testimonial feature(Or may be as review)</li>
</ul>
<p>This plugin uses custom post types in optimized way and will be easy on databases.</p>
<h3>Screenshots:-</h3>
<p>User Testimonials</p>
<p><a href="http://buddydev.com/files/2011/11/user-testimonial.png" rel="lightbox[2859]" title="user-testimonial"><img class="aligncenter size-medium wp-image-2860" title="user-testimonial" src="http://buddydev.com/files/2011/11/user-testimonial-300x151.png" alt="" width="300" height="151" /></a>Writing Testimonial</p>
<p><a href="http://buddydev.com/files/2011/11/writing-testimonial.png" rel="lightbox[2859]" title="writing-testimonial"><img class="aligncenter size-medium wp-image-2861" title="writing-testimonial" src="http://buddydev.com/files/2011/11/writing-testimonial-300x188.png" alt="" width="300" height="188" /></a>After writing Testimonial</p>
<p><a href="http://buddydev.com/files/2011/11/after-writing-testimonial.png" rel="lightbox[2859]" title="after-writing-testimonial"><img class="aligncenter size-medium wp-image-2862" title="after-writing-testimonial" src="http://buddydev.com/files/2011/11/after-writing-testimonial-300x157.png" alt="" width="300" height="157" /></a>Pending Testimonial</p>
<p><a href="http://buddydev.com/files/2011/11/pending-testimonial.png" rel="lightbox[2859]" title="pending-testimonial"><img class="aligncenter size-medium wp-image-2863" title="pending-testimonial" src="http://buddydev.com/files/2011/11/pending-testimonial-300x93.png" alt="" width="300" height="93" /></a></p>
<p>Local Notification:</p>
<p><a href="http://buddydev.com/files/2011/11/local-notification.png" rel="lightbox[2859]" title="local-notification"><img class="aligncenter size-medium wp-image-2864" title="local-notification" src="http://buddydev.com/files/2011/11/local-notification-300x227.png" alt="" width="300" height="227" /></a></p>
<p>and the mail notification settings for testimonials</p>
<p><a href="http://buddydev.com/files/2011/11/mail-notification-settings.png" rel="lightbox[2859]" title="mail-notification-settings"><img class="aligncenter size-medium wp-image-2865" title="mail-notification-settings" src="http://buddydev.com/files/2011/11/mail-notification-settings-300x96.png" alt="" width="300" height="96" /></a></p>
<p>I hope the screenshots are enough to convey the working and the features.</p>
<p>Please note this is a premium plugin so you will need to have BuddyDev premium membership to download it.</p>
<h3>Download Link:</h3>
<p><a href="http://buddydev.com/plugins/bp-user-testimonials/">http://buddydev.com/plugins/bp-user-testimonials/</a></p>
<p>Looking forward to hear your thoughts on it.</p>
<!-- PHP 5.x -->


Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F&amp;partner=sociable" title="Print"><img src="http://buddydev.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F&amp;title=Introducing%20BP%20Testimonials&amp;bodytext=BP%20Testimonials%20is%20a%20plugin%20which%20allows%20your%20users%20to%20leave%20recommendations%2Ftestiomonial%20for%20other%20%C2%A0users%20on%20your%20BuddyPress%20based%20social%20network.%0D%0APurpose%3A-%0D%0A%0D%0A%09Allow%20users%20recommending%20other%20users%0D%0A%09Can%20be%20used%20as%20in%20Linked%20In%20recommendation%20feat" title="Digg"><img src="http://buddydev.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F" title="Sphinn"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F&amp;title=Introducing%20BP%20Testimonials&amp;notes=BP%20Testimonials%20is%20a%20plugin%20which%20allows%20your%20users%20to%20leave%20recommendations%2Ftestiomonial%20for%20other%20%C2%A0users%20on%20your%20BuddyPress%20based%20social%20network.%0D%0APurpose%3A-%0D%0A%0D%0A%09Allow%20users%20recommending%20other%20users%0D%0A%09Can%20be%20used%20as%20in%20Linked%20In%20recommendation%20feat" title="del.icio.us"><img src="http://buddydev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F&amp;t=Introducing%20BP%20Testimonials" title="Facebook"><img src="http://buddydev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F&amp;title=Introducing%20BP%20Testimonials&amp;annotation=BP%20Testimonials%20is%20a%20plugin%20which%20allows%20your%20users%20to%20leave%20recommendations%2Ftestiomonial%20for%20other%20%C2%A0users%20on%20your%20BuddyPress%20based%20social%20network.%0D%0APurpose%3A-%0D%0A%0D%0A%09Allow%20users%20recommending%20other%20users%0D%0A%09Can%20be%20used%20as%20in%20Linked%20In%20recommendation%20feat" title="Google Bookmarks"><img src="http://buddydev.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F&amp;Title=Introducing%20BP%20Testimonials" title="BlinkList"><img src="http://buddydev.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F&amp;title=Introducing%20BP%20Testimonials" title="DZone"><img src="http://buddydev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Introducing%20BP%20Testimonials&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F" title="FriendFeed"><img src="http://buddydev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.indianpad.com/submit.php?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F" title="IndianPad"><img src="http://buddydev.com/wp-content/plugins/sociable/images/indianpad.png" title="IndianPad" alt="IndianPad" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F&amp;t=Introducing%20BP%20Testimonials" title="MySpace"><img src="http://buddydev.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F&amp;title=Introducing%20BP%20Testimonials&amp;popup=no" title="Netvouz"><img src="http://buddydev.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F&amp;title=Introducing%20BP%20Testimonials" title="Reddit"><img src="http://buddydev.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.sphere.com/search?q=sphereit:http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F&amp;title=Introducing%20BP%20Testimonials" title="SphereIt"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphere.png" title="SphereIt" alt="SphereIt" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F&amp;title=Introducing%20BP%20Testimonials" title="StumbleUpon"><img src="http://buddydev.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-bp-testimonials%2F" title="Technorati"><img src="http://buddydev.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>

<p>Related posts:<ol><li><a href='http://buddydev.com/buddypress/introducing-buddypress-message-privacy-control-plugin/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Message Privacy Plugin'>Introducing BuddyPress Message Privacy Plugin</a></li>
<li><a href='http://buddydev.com/buddypress/introducing-the-first-stable-version-of-global-forums-plugin/' rel='bookmark' title='Permanent Link: Introducing the first stable version of Global Forums Plugin'>Introducing the first stable version of Global Forums Plugin</a></li>
<li><a href='http://buddydev.com/uncategorized/introducing-buddypress-live-notification-plugin-a-facebook-like-notification-plugin-for-buddypress/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Live Notification Plugin: A facebook like notification plugin for BuddyPress'>Introducing BuddyPress Live Notification Plugin: A facebook like notification plugin for BuddyPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buddydev.com/buddypress/introducing-bp-testimonials/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>BuddyPress Ajax Registration Plugin: Allow users to quickly register on any page of your website and increase participation</title>
		<link>http://buddydev.com/buddypress/buddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation/</link>
		<comments>http://buddydev.com/buddypress/buddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 20:01:18 +0000</pubDate>
		<dc:creator>Brajesh Singh</dc:creator>
				<category><![CDATA[Buddypress]]></category>
		<category><![CDATA[Buddypress Premium Plugins]]></category>
		<category><![CDATA[activation]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[registration]]></category>

		<guid isPermaLink="false">http://buddydev.com/?p=2789</guid>
		<description><![CDATA[BuddyPress Ajax registration plugin allows your users to register quickly on your website. User can register from any page of your website. The plugin not only registers them but also logs them to the website automatically. Features: Easy Registration using Ajax Users can register from any page of the site Automatically logs the new user ...


Related posts:<ol><li><a href='http://buddydev.com/buddypress/introducing-buddypress-facebook-connect-advance-facebook-loginregistration-plugin-for-your-buddypress-based-social-network/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Facebook Connect+: Advance Facebook login/registration Plugin for your BuddyPress based Social Network'>Introducing BuddyPress Facebook Connect+: Advance Facebook login/registration Plugin for your BuddyPress based Social Network</a></li>
<li><a href='http://buddydev.com/buddypress/enhancing-the-new-user-registration-message-on-wordpress-multisite-and-buddypress-to-make-it-more-informative-for-site-admins/' rel='bookmark' title='Permanent Link: Enhancing The new User registration Message On WordPress Multisite and BuddyPress to make it more informative for Site Admins'>Enhancing The new User registration Message On WordPress Multisite and BuddyPress to make it more informative for Site Admins</a></li>
<li><a href='http://buddydev.com/buddypress/allow-your-users-to-change-their-profile-page-background-using-bp-custom-background-for-user-profile-plugin/' rel='bookmark' title='Permanent Link: Allow your users to change their Profile page background using BP Custom Background For User Profile Plugin'>Allow your users to change their Profile page background using BP Custom Background For User Profile Plugin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=buddydev&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>BuddyPress Ajax registration plugin allows your users to register quickly on your website. User can register from any page of your website. The plugin not only registers them but also logs them to the website automatically.</p>
<h3>Features:</h3>
<ul>
<li>Easy Registration using Ajax</li>
<li>Users can register from any page of the site</li>
<li>Automatically logs the new user to website</li>
<li>Will increase the participation of users(As they can register and login on a specific page without any redirects)</li>
<li>Allows you to control which xprofile fields/groups are shown(programatically)</li>
<li>Developers/Designers have full control over layout(Yes, you can theme the popup as  you want and also control the template if you want)</li>
<li>Compatible with BuddyPress on WordPress(standard) as well as WordPress Multisite(Including blog registration)</li>
</ul>
<p>I will like to thank @Greg for the Idea. He mentioned it a couple of time for our global forum plugin and increasing participation in the forum topics a few months ago. I got some time recently and created the plugin.</p>
<p><strong>Credit</strong>: This plugin uses the jQuery modal plugin by <a href="http://www.richardscarrott.co.uk">Richard Scarrott</a></p>
<p>It is a flexible and will allow you to control the layout/look and feel.</p>
<h3>Screenshots:</h3>
<p>Let us see some screenshots first</p>
<p>Here is the registration screen</p>
<p><a href="http://buddydev.com/files/2011/10/registration-modalbox.png" rel="lightbox[2789]" title="registration-modalbox"><img class="aligncenter size-medium wp-image-2791" title="registration-modalbox" src="http://buddydev.com/files/2011/10/registration-modalbox-300x265.png" alt="" width="300" height="265" /></a>If there is an error, the user will be notified immidiately as shown below</p>
<p><a href="http://buddydev.com/files/2011/10/registration-error.png" rel="lightbox[2789]" title="registration-error"><img class="aligncenter size-medium wp-image-2792" title="registration-error" src="http://buddydev.com/files/2011/10/registration-error-295x300.png" alt="" width="295" height="300" /></a></p>
<p>And if the registration is successfull, user sees the welcome message and is then logged in to the current page</p>
<p><a href="http://buddydev.com/files/2011/10/registration-complete.png" rel="lightbox[2789]" title="registration-complete"><img class="aligncenter size-medium wp-image-2793" title="registration-complete" src="http://buddydev.com/files/2011/10/registration-complete-300x136.png" alt="" width="300" height="136" /></a>The message will appear for 1 second(You can control it from the javascript file) and then the page will be refreshed to make the user login.</p>
<p>The plugin automatically filters BuddyPress standard signup links(In the admin bar, sidebar) and activates the modal . So, once you have installed it, you are ready to go.</p>
<p><strong>If you want to show the registration popup box on any other link, just give it a class &#8216;<em>bp-ajaxr</em>&#8216; and the the modal box will automatically work for that.</strong></p>
<h3>Customizing the Layout template:-</h3>
<p>I have included a registration page(register.php) in the plugin. If you want to use your own registration page, you can create a register.php in your theme and It will load automatically.</p>
<h3>Controling which Xprofile fields/groups are shown:-</h3>
<p>Use the filter &#8216;bpajaxr_xprofile_args&#8217; to filter on Xprofile loop arguements. Let us say if you want to show all the fields from xprofile field group 2, you can use it in your functions.php /bp-custom.php as below</p>
<pre class="brush: php; title: ;">

add_filter('bpajaxr_xprofile_args','my_custom_registration_fields');

function my_custom_registration_fields($args=''){

return 'profile_group_id=2&amp;hide_empty_fields=0&amp;hide_empty_groups=0';

}
</pre>
<p>Download: <a href="http://buddydev.com/plugins/bp-ajax-registration/">http://buddydev.com/plugins/bp-ajax-registration/</a></p>
<p>I hope this plugin will help you all. Looking forward to hear your feedback from you <img src='http://buddydev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Note: this is a premium plugin. Also, if you are using  BP Autoactivate Autologin plugin, please download the version 1.2.6 which is compatible with it.</p>
<!-- PHP 5.x -->


Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F&amp;partner=sociable" title="Print"><img src="http://buddydev.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F&amp;title=BuddyPress%20Ajax%20Registration%20Plugin%3A%20Allow%20users%20to%20quickly%20register%20on%20any%20page%20of%20your%20website%20and%20increase%20participation&amp;bodytext=BuddyPress%20Ajax%20registration%20plugin%20allows%20your%20users%20to%20register%20quickly%20on%20your%20website.%20User%20can%20register%20from%20any%20page%20of%20your%20website.%20The%20plugin%20not%20only%20registers%20them%20but%20also%20logs%20them%20to%20the%20website%20automatically.%0D%0AFeatures%3A%0D%0A%0D%0A%09Easy%20Regist" title="Digg"><img src="http://buddydev.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F" title="Sphinn"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F&amp;title=BuddyPress%20Ajax%20Registration%20Plugin%3A%20Allow%20users%20to%20quickly%20register%20on%20any%20page%20of%20your%20website%20and%20increase%20participation&amp;notes=BuddyPress%20Ajax%20registration%20plugin%20allows%20your%20users%20to%20register%20quickly%20on%20your%20website.%20User%20can%20register%20from%20any%20page%20of%20your%20website.%20The%20plugin%20not%20only%20registers%20them%20but%20also%20logs%20them%20to%20the%20website%20automatically.%0D%0AFeatures%3A%0D%0A%0D%0A%09Easy%20Regist" title="del.icio.us"><img src="http://buddydev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F&amp;t=BuddyPress%20Ajax%20Registration%20Plugin%3A%20Allow%20users%20to%20quickly%20register%20on%20any%20page%20of%20your%20website%20and%20increase%20participation" title="Facebook"><img src="http://buddydev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F&amp;title=BuddyPress%20Ajax%20Registration%20Plugin%3A%20Allow%20users%20to%20quickly%20register%20on%20any%20page%20of%20your%20website%20and%20increase%20participation&amp;annotation=BuddyPress%20Ajax%20registration%20plugin%20allows%20your%20users%20to%20register%20quickly%20on%20your%20website.%20User%20can%20register%20from%20any%20page%20of%20your%20website.%20The%20plugin%20not%20only%20registers%20them%20but%20also%20logs%20them%20to%20the%20website%20automatically.%0D%0AFeatures%3A%0D%0A%0D%0A%09Easy%20Regist" title="Google Bookmarks"><img src="http://buddydev.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F&amp;Title=BuddyPress%20Ajax%20Registration%20Plugin%3A%20Allow%20users%20to%20quickly%20register%20on%20any%20page%20of%20your%20website%20and%20increase%20participation" title="BlinkList"><img src="http://buddydev.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F&amp;title=BuddyPress%20Ajax%20Registration%20Plugin%3A%20Allow%20users%20to%20quickly%20register%20on%20any%20page%20of%20your%20website%20and%20increase%20participation" title="DZone"><img src="http://buddydev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=BuddyPress%20Ajax%20Registration%20Plugin%3A%20Allow%20users%20to%20quickly%20register%20on%20any%20page%20of%20your%20website%20and%20increase%20participation&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F" title="FriendFeed"><img src="http://buddydev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.indianpad.com/submit.php?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F" title="IndianPad"><img src="http://buddydev.com/wp-content/plugins/sociable/images/indianpad.png" title="IndianPad" alt="IndianPad" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F&amp;t=BuddyPress%20Ajax%20Registration%20Plugin%3A%20Allow%20users%20to%20quickly%20register%20on%20any%20page%20of%20your%20website%20and%20increase%20participation" title="MySpace"><img src="http://buddydev.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F&amp;title=BuddyPress%20Ajax%20Registration%20Plugin%3A%20Allow%20users%20to%20quickly%20register%20on%20any%20page%20of%20your%20website%20and%20increase%20participation&amp;popup=no" title="Netvouz"><img src="http://buddydev.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F&amp;title=BuddyPress%20Ajax%20Registration%20Plugin%3A%20Allow%20users%20to%20quickly%20register%20on%20any%20page%20of%20your%20website%20and%20increase%20participation" title="Reddit"><img src="http://buddydev.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.sphere.com/search?q=sphereit:http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F&amp;title=BuddyPress%20Ajax%20Registration%20Plugin%3A%20Allow%20users%20to%20quickly%20register%20on%20any%20page%20of%20your%20website%20and%20increase%20participation" title="SphereIt"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphere.png" title="SphereIt" alt="SphereIt" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F&amp;title=BuddyPress%20Ajax%20Registration%20Plugin%3A%20Allow%20users%20to%20quickly%20register%20on%20any%20page%20of%20your%20website%20and%20increase%20participation" title="StumbleUpon"><img src="http://buddydev.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation%2F" title="Technorati"><img src="http://buddydev.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>

<p>Related posts:<ol><li><a href='http://buddydev.com/buddypress/introducing-buddypress-facebook-connect-advance-facebook-loginregistration-plugin-for-your-buddypress-based-social-network/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Facebook Connect+: Advance Facebook login/registration Plugin for your BuddyPress based Social Network'>Introducing BuddyPress Facebook Connect+: Advance Facebook login/registration Plugin for your BuddyPress based Social Network</a></li>
<li><a href='http://buddydev.com/buddypress/enhancing-the-new-user-registration-message-on-wordpress-multisite-and-buddypress-to-make-it-more-informative-for-site-admins/' rel='bookmark' title='Permanent Link: Enhancing The new User registration Message On WordPress Multisite and BuddyPress to make it more informative for Site Admins'>Enhancing The new User registration Message On WordPress Multisite and BuddyPress to make it more informative for Site Admins</a></li>
<li><a href='http://buddydev.com/buddypress/allow-your-users-to-change-their-profile-page-background-using-bp-custom-background-for-user-profile-plugin/' rel='bookmark' title='Permanent Link: Allow your users to change their Profile page background using BP Custom Background For User Profile Plugin'>Allow your users to change their Profile page background using BP Custom Background For User Profile Plugin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buddydev.com/buddypress/buddypress-ajax-registration-plugin-allow-users-to-quickly-register-on-any-page-of-your-website-and-increase-participation/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Facebook Style Activity Commenting with BuddyPress</title>
		<link>http://buddydev.com/buddypress/facebook-style-activity-commenting-with-buddypress/</link>
		<comments>http://buddydev.com/buddypress/facebook-style-activity-commenting-with-buddypress/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 19:54:07 +0000</pubDate>
		<dc:creator>Brajesh Singh</dc:creator>
				<category><![CDATA[Buddypress]]></category>
		<category><![CDATA[Buddypress Tricks]]></category>
		<category><![CDATA[activity]]></category>
		<category><![CDATA[activity comment]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://buddydev.com/?p=2667</guid>
		<description><![CDATA[How many of you use facebook for connecting with Friends and family, I believe almost all Today, I am going to show how to make the BuddyPress Activity Stream activity commenting look/work like facebook activity commenting. I will be doing it by using bp-default theme as an example. you can easily modify it for other ...


Related posts:<ol><li><a href='http://buddydev.com/buddypress/disable-blog-posts-and-new-blog-comments-recordingtracking-in-the-activity-by-buddypress/' rel='bookmark' title='Permanent Link: Disable Blog Posts and new Blog Comments recording/tracking In the activity by BuddyPress'>Disable Blog Posts and new Blog Comments recording/tracking In the activity by BuddyPress</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-activity-comment-notifier-plugin-update/' rel='bookmark' title='Permanent Link: BuddyPress Activity Comment Notifier Plugin Update'>BuddyPress Activity Comment Notifier Plugin Update</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-sitewide-activity-widget-updated/' rel='bookmark' title='Permanent Link: BuddyPress Sitewide Activity widget Updated'>BuddyPress Sitewide Activity widget Updated</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=buddydev&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>How many of you use facebook for connecting with Friends and family, I believe almost all <img src='http://buddydev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Today, I am going to show how to make the BuddyPress Activity Stream activity commenting look/work like facebook activity commenting. I will be doing it by using bp-default theme as an example. you can easily modify it for other themes.</p>
<p>In addition to writing css/js, we will need one jquery plugin to autogrow the text area as a user types.</p>
<p><strong>Github Repo</strong>:<a href="https://github.com/sbrajesh/fb-style-activity-commenting"> https://github.com/sbrajesh/fb-style-activity-commenting</a></p>
<h2>Goals:-</h2>
<ul>
<li>Make activity comment section look like facebook</li>
<li>make activity posting like facebook</li>
</ul>
<h3>External script required:-</h3>
<p><a href="https://github.com/jaz303/jquery-grab-bag/blob/master/javascripts/jquery.autogrow-textarea.js"><br />
jQuery AutoGrow textArea</a>:- We will use it for autogrowing comment text box. The script is a part of jQuery grab bag by <a href="http://onehackoranother.com/">Jason Frame</a></p>
<p>Lets get started. But before that, lets have a look at the final screenshot.</p>
<p><a href="http://buddydev.com/files/2011/09/fb-style-activity-commenting.png" rel="lightbox[2667]" title="fb-style-activity-commenting"><img class="aligncenter size-medium wp-image-2681" title="fb-style-activity-commenting" src="http://buddydev.com/files/2011/09/fb-style-activity-commenting-300x163.png" alt="" width="300" height="163" /></a></p>
<h3>Step 1: No multilevel commenting</h3>
<p>I know it is a bad decision, but this is what facebook does. I am just following the lead.</p>
<p>You can put the following code in functions.php to stop mulitlevel commenting</p>
<pre class="brush: php; title: ;">
add_filter('bp_activity_can_comment_reply','__return_false');
</pre>
<p>Since I don&#8217;t want to temper with core files of bp-default(read it whatever theme you use), We will be including the code to load out comment.js and the autogrow textarea plugin. You should create comment.js in the_inc folder of your theme and also put the autogrow plugin there.</p>
<p>Here is the code you need to put in functions.php</p>
<pre class="brush: php; title: ;">
//include the javascript, change it as you want
add_action(&quot;wp_print_scripts&quot;,&quot;bp_fbstyle_comment_js&quot;);
function bp_fbstyle_comment_js(){
    if(!is_user_logged_in())
        return ;//we do not want to include the js
    wp_enqueue_script(&quot;bpfb-comment-js&quot;, get_stylesheet_directory_uri().&quot;/_inc/comment.js&quot;,array('jquery','dtheme-ajax-js'));
    wp_enqueue_script(&quot;bpfb-comment-autogrow-js&quot;, get_stylesheet_directory_uri().&quot;/_inc/jquery.autogrow-textarea.js&quot;,array('jquery'));
}
</pre>
<p>I am including these from my child theme, you can change the above line to  make sure you are loading it correctly from your theme.</p>
<p>That&#8217;s all we need to do in php. Now, we will write some javascript and css to make it work like facebook activity commenting.</p>
<h3>Step2:  The CSS</h3>
<p>Let us make the activity comment form visible. Onething to note here, facebook puts a visible comment form only for those activities which already have atleast one comment. I am following the same. You can change that behaviour and make it visible for all activities(I will be mentioning how to do that)</p>
<p>I have adjusted the margin of the form appropriately for our page formatting.</p>
<pre class="brush: css; title: ;">
li.has-comments div.activity-comments form.ac-form {
    display:block;
    margin:0 0 5px 0;
}
/*if you want to make it visible for all activity, change the above css selector from 'li.has-comments div.activity-comments form.ac-form' to 'div.activity-comments form.ac-form'. Note, we removed the li.has-comments from the selector*/
</pre>
<p>Now, as the form is visible, we will need to hide the commenter avatar(the logged in user avatar and remove the unnecessary margin/padding)</p>
<pre class="brush: css; title: ;">

.ac-form .ac-reply-avatar{
    display:none;
}

div.activity-comments form div.ac-reply-content{
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 5px;
    height:35px;/* you may need to adjust height according to the one you choose for your textarea*/
}
</pre>
<p>That&#8217;s nice. Now, we will need to fix the height of the textarea to fit one line of text and hide the submit button. After all, we assume pressing enter will post the comment.</p>
<pre class="brush: css; title: ;">
div.activity-comments form textarea {
    height: 13px;
}
div.activity-comments form input[type='submit']{
    display:none;
}
</pre>
<p>So, that&#8217;s the basic css. It will make the comment form visible for the appropriate activity entries.</p>
<p>Now, When a particular text area gains focus, we will add class &#8216;active&#8217; to its parent form. So, we will need to update our active form css when a comment textarea gains focus.<br />
Here is the css for that</p>
<pre class="brush: css; title: ;">
/*on active/focus*/
form.active .ac-reply-avatar{
    float:left;
    display: block;
}
form.active .ac-reply-avatar img.avatar {
    float: left;
    margin: 0 3px 0 0;
     height: 25px;

    width: 25px;
}
/*reset the height of comment box wrapper to make the comment box grow later*/
div.activity-comments form.active div.ac-reply-content{
    height:auto;
}
form.active .ac-textarea{
    margin-bottom: 10px;
    padding: 0px 8px 8px 8px;
    }
    div.activity-comments form.active div.ac-reply-content{
    margin-left: 30px;
    padding-left: 2px;

}
</pre>
<p>So, that is the complete css we will need.</p>
<p>Let us write some javascript code to emulate the fb effect. All these code goes to comment.js</p>
<p>Step 3: The javascript</p>
<p>So, as jQuery says, let us do everything when the dom is ready. All the code blow this section is wrapped inside this block</p>
<pre class="brush: jscript; title: ;">
jQuery(document).ready(function(){

//the actual code

});
</pre>
<p>Now, the initial setup. The BP default theme hides all the activity form using javascript. We will need to make them visible again.</p>
<pre class="brush: jscript; title: ;">

var jq=jQuery;//we do no want to keep the value to mess our layout, and we do not want to do the complex calculations too
 jq(&quot;form.ac-form textarea&quot;).val('');

 jq(&quot;.has-comments form.ac-form&quot;).show();//make all the activity comment form visible whose parent have at least 1 previous comment.
 //if you want to show the activity comment form for all the activities , irrespective of whether there are already comments or not, comment the above line and uncomment the below line
 //jq(&quot;form.ac-form&quot;).show();
 jq(&quot;form.ac-form&quot;).show();//make all the activity comment form visible
</pre>
<p>Please note what I mentioned in the last 2 lines of above code. If you have made your css to show the comment form for all the activity entries, then comment and uncomment the above code as instructed.</p>
<p>Now, let us bind the auto grow plugin to all the activity comment text area</p>
<pre class="brush: jscript; title: ;">

jq('.ac-textarea textarea').autogrow();
</pre>
<p>Add class &#8220;active&#8221; to the parent of  the text area which has gained focus and remove the class &#8216;active from all other forms.</p>
<pre class="brush: jscript; title: ;">
//on focus, add remove active class
 jq('.ac-textarea textarea').live('focus', function(){
     var ac_form=jq(this).parent().parent().parent();//parent form
         ac_form.addClass('active');

         jq('.ac-textarea').parents('form.ac-form').not(ac_form).removeClass('active');

  });
</pre>
<p>The above step could have been done in easier step by first removing the class from all forms and then adding it to current textarea&#8217;s parent.I just wanted better usability by first activating this form.</p>
<p>Let us handle the Pressing of ESC button and the Enter. We are resetting the form on escape key pressing and posting the comment when the enter key is pressed.</p>
<pre class="brush: jscript; title: ;">
 /* Handle the ESC/ENTER key with more specific element and cancel even bubbling for these actions to void bp-default's way of handling this */
jq('.ac-textarea textarea').keydown( function(e) {
	 element = e.target;

	//if meta keys, don't do anything
          if( e.ctrlKey == true || e.altKey == true || e.metaKey == true )
		return;

            var keyCode = (e.keyCode) ? e.keyCode : e.which;

                    //if ESC key was pressed
           if ( keyCode == 27 ) {
                   jq(element).animate({'height':'13px'});//reset back to its original height

                   return false;

                }
            else if(keyCode==13){//if enter pressed
                //jq(element).parent().next().click();//since we have not removed the submit button
                  ac_post_comment(element);
                return false;

            }

});//end of ESC/enter handling code
</pre>
<p>As you can see in the above code, I have mentioned that writing the ac_post_comment function could be avoided by uncommenting the previous line(submit button clicking). The problem is the javascript in bp-default hides the reply box below the posted comment but we don&#8217;t want that. So, you can either uncomment a line in global.js or use the code below.</p>
<pre class="brush: jscript; title: ;">

  /**post activity comment*/
  //just a copy of bp-default activity comment posting code with  slight modification to avoid hiding the forms
  function ac_post_comment(target){
    target=jq(target);

    	/* Activity comment posting */
		if ( target.hasClass('ac-input') ) {
			var form = target.parent().parent().parent();
			var form_parent = form.parent();
			var form_id = form.attr('id').split('-');

			if ( !form_parent.hasClass('activity-comments') ) {
				var tmp_id = form_parent.attr('id').split('-');
				var comment_id = tmp_id[1];
			} else {
				var comment_id = form_id[2];
			}

			/* Hide any error messages */
			jq( 'form#' + form + ' div.error').hide();
			target.next('.loader').addClass('loading').end().prop('disabled', true);

			jq.post( ajaxurl, {
				action: 'new_activity_comment',
				'cookie': encodeURIComponent(document.cookie),
				'_wpnonce_new_activity_comment': jq(&quot;input#_wpnonce_new_activity_comment&quot;).val(),
				'comment_id': comment_id,
				'form_id': form_id[2],
				'content': jq('form#' + form.attr('id') + ' textarea').val()
			},
			function(response)
			{
				target.next('.loader').removeClass('loading');

				/* Check for errors and append if found. */
				if ( response[0] + response[1] == '-1' ) {
					form.append( response.substr( 2, response.length ) ).hide().fadeIn( 200 );
				} else {
					form.fadeOut( 200,
						function() {
							if ( 0 == form.parent().children('ul').length ) {
								if ( form.parent().hasClass('activity-comments') )
									form.parent().prepend('&lt;ul&gt;&lt;/ul&gt;');
								else
									form.parent().append('&lt;ul&gt;&lt;/ul&gt;');
							}

							form.parent().children('ul').append(response).hide().fadeIn( 200 );
							form.children('textarea').val('');
							form.parent().parent().addClass('has-comments');
						}
					);//form hiding
					jq( 'form#' + form + ' textarea').val('');
                                        target.height(20);
                                      //  form.removeClass('active');
                                        form.fadeIn(200);

					/* Increase the &quot;Reply (X)&quot; button count */
					jq('li#activity-' + form_id[2] + ' a.acomment-reply span').html( Number( jq('li#activity-' + form_id[2] + ' a.acomment-reply span').html() ) + 1 );
				}

				jq(target).prop(&quot;disabled&quot;, false);
			});

			return false;
		}
}
</pre>
<p>Now, we have done everything and the code will work.  The last thing we need to fix is clicking on the comment(x) link below the activity entry. By default, bp-default theme show the comment form for that activity and hides all other comment form. we need to stop it hiding other comment form. You can uncomment a line in global.js or just use the code below.</p>
<pre class="brush: jscript; title: ;">

/* You can avoid the code blow if you want to change a line in global.js, if you don't, then this code does it for you*/
//the code below is taken from bp-default activity comment link clicking code, I have attached the evnt to more specific element and also remoded the form hiding code
jq('div.activity .acomment-reply').click( function(event) {
		var target = jq(event.target);

                var id = target.attr('id');
                ids = id.split('-');

                var a_id = ids[2]
                var c_id = target.attr('href').substr( 10, target.attr('href').length );
                var form = jq( '#ac-form-' + a_id );

                form.css( 'display', 'none' );
                form.removeClass('root');
                //jq('.ac-form').hide();//you can just comment out this line in the global.js of bp-default and avoid this whole block of code

                /* Hide any error messages */
                form.children('div').each( function() {
                        if ( jq(this).hasClass( 'error' ) )
                                jq(this).hide();
                });

                if ( ids[1] != 'comment' ) {
                        jq('div.activity-comments li#acomment-' + c_id).append( form );
                } else {
                        jq('li#activity-' + a_id + ' div.activity-comments').append( form );
                }

                if ( form.parent().hasClass( 'activity-comments' ) )
                        form.addClass('root');

                form.slideDown( 200 );
                jq.scrollTo( form, 500, { offset:-100, easing:'easeOutQuad' } );
                jq('#ac-form-' + ids[2] + ' textarea').focus();

                return false;

});
</pre>
<p>That&#8217;s it. You are ready to see your supercool facebook like activity commenting.</p>
<p>I have put the above code as a child theme of bp-default on github. If you want to take a look and see it in action, download it from here and active.</p>
<p><strong>Github Repo</strong>:<a href="https://github.com/sbrajesh/fb-style-activity-commenting">https://github.com/sbrajesh/fb-style-activity-commenting</a></p>
<p>My tutorial uses the reference of bp-default theme for BuddyPress 1.5 but you can modify it for any of the existing theme with some minor css/js changes if any.</p>
<p>Hope it helps some of you. Looking forward to hear your thoughts and feedback <img src='http://buddydev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<!-- PHP 5.x -->


Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F&amp;partner=sociable" title="Print"><img src="http://buddydev.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F&amp;title=Facebook%20Style%20Activity%20Commenting%20with%20BuddyPress%20&amp;bodytext=How%20many%20of%20you%20use%20facebook%20for%20connecting%20with%20Friends%20and%20family%2C%20I%20believe%20almost%20all%20%3A%29%20Today%2C%20I%20am%20going%20to%20show%20how%20to%20make%20the%20BuddyPress%20Activity%20Stream%20activity%20commenting%20look%2Fwork%20like%20facebook%20activity%20commenting.%20I%20will%20be%20doing%20it%20by%20u" title="Digg"><img src="http://buddydev.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F" title="Sphinn"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F&amp;title=Facebook%20Style%20Activity%20Commenting%20with%20BuddyPress%20&amp;notes=How%20many%20of%20you%20use%20facebook%20for%20connecting%20with%20Friends%20and%20family%2C%20I%20believe%20almost%20all%20%3A%29%20Today%2C%20I%20am%20going%20to%20show%20how%20to%20make%20the%20BuddyPress%20Activity%20Stream%20activity%20commenting%20look%2Fwork%20like%20facebook%20activity%20commenting.%20I%20will%20be%20doing%20it%20by%20u" title="del.icio.us"><img src="http://buddydev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F&amp;t=Facebook%20Style%20Activity%20Commenting%20with%20BuddyPress%20" title="Facebook"><img src="http://buddydev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F&amp;title=Facebook%20Style%20Activity%20Commenting%20with%20BuddyPress%20&amp;annotation=How%20many%20of%20you%20use%20facebook%20for%20connecting%20with%20Friends%20and%20family%2C%20I%20believe%20almost%20all%20%3A%29%20Today%2C%20I%20am%20going%20to%20show%20how%20to%20make%20the%20BuddyPress%20Activity%20Stream%20activity%20commenting%20look%2Fwork%20like%20facebook%20activity%20commenting.%20I%20will%20be%20doing%20it%20by%20u" title="Google Bookmarks"><img src="http://buddydev.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F&amp;Title=Facebook%20Style%20Activity%20Commenting%20with%20BuddyPress%20" title="BlinkList"><img src="http://buddydev.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F&amp;title=Facebook%20Style%20Activity%20Commenting%20with%20BuddyPress%20" title="DZone"><img src="http://buddydev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Facebook%20Style%20Activity%20Commenting%20with%20BuddyPress%20&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F" title="FriendFeed"><img src="http://buddydev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.indianpad.com/submit.php?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F" title="IndianPad"><img src="http://buddydev.com/wp-content/plugins/sociable/images/indianpad.png" title="IndianPad" alt="IndianPad" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F&amp;t=Facebook%20Style%20Activity%20Commenting%20with%20BuddyPress%20" title="MySpace"><img src="http://buddydev.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F&amp;title=Facebook%20Style%20Activity%20Commenting%20with%20BuddyPress%20&amp;popup=no" title="Netvouz"><img src="http://buddydev.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F&amp;title=Facebook%20Style%20Activity%20Commenting%20with%20BuddyPress%20" title="Reddit"><img src="http://buddydev.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.sphere.com/search?q=sphereit:http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F&amp;title=Facebook%20Style%20Activity%20Commenting%20with%20BuddyPress%20" title="SphereIt"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphere.png" title="SphereIt" alt="SphereIt" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F&amp;title=Facebook%20Style%20Activity%20Commenting%20with%20BuddyPress%20" title="StumbleUpon"><img src="http://buddydev.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Ffacebook-style-activity-commenting-with-buddypress%2F" title="Technorati"><img src="http://buddydev.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>

<p>Related posts:<ol><li><a href='http://buddydev.com/buddypress/disable-blog-posts-and-new-blog-comments-recordingtracking-in-the-activity-by-buddypress/' rel='bookmark' title='Permanent Link: Disable Blog Posts and new Blog Comments recording/tracking In the activity by BuddyPress'>Disable Blog Posts and new Blog Comments recording/tracking In the activity by BuddyPress</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-activity-comment-notifier-plugin-update/' rel='bookmark' title='Permanent Link: BuddyPress Activity Comment Notifier Plugin Update'>BuddyPress Activity Comment Notifier Plugin Update</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-sitewide-activity-widget-updated/' rel='bookmark' title='Permanent Link: BuddyPress Sitewide Activity widget Updated'>BuddyPress Sitewide Activity widget Updated</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buddydev.com/buddypress/facebook-style-activity-commenting-with-buddypress/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Introducing Facebook Like User Activity Stream(Home activity feed) for BuddyPress Based Social Network</title>
		<link>http://buddydev.com/buddypress/introducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network/</link>
		<comments>http://buddydev.com/buddypress/introducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 01:27:01 +0000</pubDate>
		<dc:creator>Brajesh Singh</dc:creator>
				<category><![CDATA[Buddypress]]></category>
		<category><![CDATA[Buddypress Premium Plugins]]></category>

		<guid isPermaLink="false">http://buddydev.com/?p=2546</guid>
		<description><![CDATA[We all love BuddyPress. It&#8217;s an awesome plugin which brought a new era in social network development(partially because of the popularity of the WordPress platform and mostly because of the awesome core developres/community). Since the philosophy of BuddyPress is centred around openness, It does not limit the activity to your personal preferences(like showing all the ...


Related posts:<ol><li><a href='http://buddydev.com/buddypress/introducing-buddypress-facebook-connect-advance-facebook-loginregistration-plugin-for-your-buddypress-based-social-network/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Facebook Connect+: Advance Facebook login/registration Plugin for your BuddyPress based Social Network'>Introducing BuddyPress Facebook Connect+: Advance Facebook login/registration Plugin for your BuddyPress based Social Network</a></li>
<li><a href='http://buddydev.com/buddypress/show-buddypress-communitysitewide-activity-on-user-profile/' rel='bookmark' title='Permanent Link: Show BuddyPress community(sitewide) activity on User Profile'>Show BuddyPress community(sitewide) activity on User Profile</a></li>
<li><a href='http://buddydev.com/buddypress/introducing-cosmic-buddy-pro-theme-for-buddypress-based-social-networks/' rel='bookmark' title='Permanent Link: Introducing Cosmic Buddy Pro Theme for BuddyPress Based Social Networks'>Introducing Cosmic Buddy Pro Theme for BuddyPress Based Social Networks</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=buddydev&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>We all love BuddyPress. It&#8217;s an awesome plugin which brought a new era in social network development(partially because of the popularity of the WordPress platform and mostly because of the awesome core developres/community). Since the philosophy of BuddyPress is centred around openness, It does not limit the activity to your personal preferences(like showing all the relevant activity on a single page(friends/ user&#8217;s /user&#8217;s groups activity). It does show them, but they do not give a feel of stream you see on most of the social networks(like Facebook home page, or your orkut home page etc).</p>
<p>In past, many of the members here(as well as I got some mail with suggestions) to streamline all the relevant activity content for a user on a single page.</p>
<p>Today, I am introducing the plugin <strong>Facebook Like User Activity Stream for BuddyPress</strong>. It is a step towards the right direction. You can use it with a few other plugins to make a social network just like the famous ones. It simply aggregates all the relevant activity for the users on a single page. Right, you can see your updates/your friends update/Your groups update on the same page(as is the case of facebook feed for user).</p>
<h3>Features:-</h3>
<ul>
<li>Aggregating and Providing a familiar page to users where all the relevant activity are aggregated</li>
<li>Clicking on Username automatically redirects to His/Her stream</li>
<li>And yes, It limits the view to logged in user for their own network, just like the other social networks do</li>
</ul>
<p>Here are a couple of screenshots to demonstrate its use:-</p>
<p><strong>Visiting Own Profile:-</strong></p>
<p><a href="http://buddydev.com/files/2011/07/users-relevant-feed.png" rel="lightbox[2546]" title="users-relevant-feed"><img class="aligncenter size-medium wp-image-2548" title="users-relevant-feed" src="http://buddydev.com/files/2011/07/users-relevant-feed-300x178.png" alt="" width="300" height="178" /></a>You can see the stream link as well as the activity of a private group being shown on his/her profile</p>
<p>Here is what you see if you visit other user&#8217;s profile(This is just normal, I am trying to show the difference of the visibility of private activity)</p>
<p><a href="http://buddydev.com/files/2011/07/other-users-feedpng.png" rel="lightbox[2546]" title="other-users-feedpng"><img class="aligncenter size-medium wp-image-2549" title="other-users-feedpng" src="http://buddydev.com/files/2011/07/other-users-feedpng-300x160.png" alt="" width="300" height="160" /></a></p>
<p>and another screenshot where the updates from groups are shown on the same page even if the users(whose updates are visible) are not friends of the logged in user.</p>
<p><a href="http://buddydev.com/files/2011/07/users-group-feed.png" rel="lightbox[2546]" title="users-group-feed"><img class="aligncenter size-medium wp-image-2550" title="users-group-feed" src="http://buddydev.com/files/2011/07/users-group-feed-300x175.png" alt="" width="300" height="175" /></a></p>
<p>It is most useful if your users are coming from one of the existing social network. they will find it much more intuitive.</p>
<p>My screen shots may not give you the feel of actual potential of this plugin, Installing and using it yourself will give a much better idea of what it can do.</p>
<h3>Download &amp;Installation</h3>
<p><a title=" Facebook Like User Activity Stream for BuddyPress" href="http://buddydev.com/plugins/facebook-like-user-activity-stream-for-buddypress/">http://buddydev.com/plugins/facebook-like-user-activity-stream-for-buddypress/</a></p>
<p>Looking forward to hear your feedback and help you further.</p>
<p>P.S.: Currently this plugin is available to the BuddyDev premium members  only. Thank you all for your generous support.</p>
<!-- PHP 5.x -->


Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F&amp;partner=sociable" title="Print"><img src="http://buddydev.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F&amp;title=Introducing%20Facebook%20Like%20User%20Activity%20Stream%28Home%20activity%20feed%29%20for%20BuddyPress%20Based%20Social%20Network%20&amp;bodytext=We%20all%20love%20BuddyPress.%20It%27s%20an%20awesome%20plugin%20which%20brought%20a%20new%20era%20in%20social%20network%20development%28partially%20because%20of%20the%20popularity%20of%20the%20WordPress%20platform%20and%20mostly%20because%20of%20the%20awesome%20core%20developres%2Fcommunity%29.%20Since%20the%20philosophy%20of%20B" title="Digg"><img src="http://buddydev.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F" title="Sphinn"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F&amp;title=Introducing%20Facebook%20Like%20User%20Activity%20Stream%28Home%20activity%20feed%29%20for%20BuddyPress%20Based%20Social%20Network%20&amp;notes=We%20all%20love%20BuddyPress.%20It%27s%20an%20awesome%20plugin%20which%20brought%20a%20new%20era%20in%20social%20network%20development%28partially%20because%20of%20the%20popularity%20of%20the%20WordPress%20platform%20and%20mostly%20because%20of%20the%20awesome%20core%20developres%2Fcommunity%29.%20Since%20the%20philosophy%20of%20B" title="del.icio.us"><img src="http://buddydev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F&amp;t=Introducing%20Facebook%20Like%20User%20Activity%20Stream%28Home%20activity%20feed%29%20for%20BuddyPress%20Based%20Social%20Network%20" title="Facebook"><img src="http://buddydev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F&amp;title=Introducing%20Facebook%20Like%20User%20Activity%20Stream%28Home%20activity%20feed%29%20for%20BuddyPress%20Based%20Social%20Network%20&amp;annotation=We%20all%20love%20BuddyPress.%20It%27s%20an%20awesome%20plugin%20which%20brought%20a%20new%20era%20in%20social%20network%20development%28partially%20because%20of%20the%20popularity%20of%20the%20WordPress%20platform%20and%20mostly%20because%20of%20the%20awesome%20core%20developres%2Fcommunity%29.%20Since%20the%20philosophy%20of%20B" title="Google Bookmarks"><img src="http://buddydev.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F&amp;Title=Introducing%20Facebook%20Like%20User%20Activity%20Stream%28Home%20activity%20feed%29%20for%20BuddyPress%20Based%20Social%20Network%20" title="BlinkList"><img src="http://buddydev.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F&amp;title=Introducing%20Facebook%20Like%20User%20Activity%20Stream%28Home%20activity%20feed%29%20for%20BuddyPress%20Based%20Social%20Network%20" title="DZone"><img src="http://buddydev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Introducing%20Facebook%20Like%20User%20Activity%20Stream%28Home%20activity%20feed%29%20for%20BuddyPress%20Based%20Social%20Network%20&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F" title="FriendFeed"><img src="http://buddydev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.indianpad.com/submit.php?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F" title="IndianPad"><img src="http://buddydev.com/wp-content/plugins/sociable/images/indianpad.png" title="IndianPad" alt="IndianPad" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F&amp;t=Introducing%20Facebook%20Like%20User%20Activity%20Stream%28Home%20activity%20feed%29%20for%20BuddyPress%20Based%20Social%20Network%20" title="MySpace"><img src="http://buddydev.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F&amp;title=Introducing%20Facebook%20Like%20User%20Activity%20Stream%28Home%20activity%20feed%29%20for%20BuddyPress%20Based%20Social%20Network%20&amp;popup=no" title="Netvouz"><img src="http://buddydev.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F&amp;title=Introducing%20Facebook%20Like%20User%20Activity%20Stream%28Home%20activity%20feed%29%20for%20BuddyPress%20Based%20Social%20Network%20" title="Reddit"><img src="http://buddydev.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.sphere.com/search?q=sphereit:http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F&amp;title=Introducing%20Facebook%20Like%20User%20Activity%20Stream%28Home%20activity%20feed%29%20for%20BuddyPress%20Based%20Social%20Network%20" title="SphereIt"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphere.png" title="SphereIt" alt="SphereIt" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F&amp;title=Introducing%20Facebook%20Like%20User%20Activity%20Stream%28Home%20activity%20feed%29%20for%20BuddyPress%20Based%20Social%20Network%20" title="StumbleUpon"><img src="http://buddydev.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network%2F" title="Technorati"><img src="http://buddydev.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>

<p>Related posts:<ol><li><a href='http://buddydev.com/buddypress/introducing-buddypress-facebook-connect-advance-facebook-loginregistration-plugin-for-your-buddypress-based-social-network/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Facebook Connect+: Advance Facebook login/registration Plugin for your BuddyPress based Social Network'>Introducing BuddyPress Facebook Connect+: Advance Facebook login/registration Plugin for your BuddyPress based Social Network</a></li>
<li><a href='http://buddydev.com/buddypress/show-buddypress-communitysitewide-activity-on-user-profile/' rel='bookmark' title='Permanent Link: Show BuddyPress community(sitewide) activity on User Profile'>Show BuddyPress community(sitewide) activity on User Profile</a></li>
<li><a href='http://buddydev.com/buddypress/introducing-cosmic-buddy-pro-theme-for-buddypress-based-social-networks/' rel='bookmark' title='Permanent Link: Introducing Cosmic Buddy Pro Theme for BuddyPress Based Social Networks'>Introducing Cosmic Buddy Pro Theme for BuddyPress Based Social Networks</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buddydev.com/buddypress/introducing-facebook-like-user-activity-streamhome-activity-feed-for-buddypress-based-social-network/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>BuddyPress Group Suggest Widget: Help your members to find new groups</title>
		<link>http://buddydev.com/buddypress/buddypress-group-suggest-widget-help-your-members-to-find-new-groups/</link>
		<comments>http://buddydev.com/buddypress/buddypress-group-suggest-widget-help-your-members-to-find-new-groups/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 03:39:28 +0000</pubDate>
		<dc:creator>Brajesh Singh</dc:creator>
				<category><![CDATA[Buddypress]]></category>
		<category><![CDATA[Buddypress Free Plugins]]></category>
		<category><![CDATA[group]]></category>
		<category><![CDATA[suggestion]]></category>

		<guid isPermaLink="false">http://buddydev.com/?p=2509</guid>
		<description><![CDATA[BuddyPress Group suggest widget is a small plugin which helps your users by suggesting them the groups of their friends. It works on the simple logic of finding the groups of friends of a user and then suggesting it. In the current release, I have limited the suggestion to the public groups of the friends ...


Related posts:<ol><li><a href='http://buddydev.com/buddypress/buddypress-friends-suggestions-widget-help-your-users-to-build-their-network-faster/' rel='bookmark' title='Permanent Link: BuddyPress Friends suggestions Widget:- Help your Users to Build Their Network faster'>BuddyPress Friends suggestions Widget:- Help your Users to Build Their Network faster</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-user-notifications-widget-plugin/' rel='bookmark' title='Permanent Link: BuddyPress User Notifications Widget plugin'>BuddyPress User Notifications Widget plugin</a></li>
<li><a href='http://buddydev.com/buddypress/exclude-users-from-members-directory-on-a-buddypress-based-social-network/' rel='bookmark' title='Permanent Link: Exclude Users from Members directory on a BuddyPress based social network'>Exclude Users from Members directory on a BuddyPress based social network</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=buddydev&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>BuddyPress Group suggest widget is a small plugin which helps your users by suggesting them the groups of their friends. It works on the simple logic of finding the groups of friends of a user and then suggesting it. In the current release, I have limited the suggestion to the public groups of the friends only. My special thanks goes to @<a href="http://buddydev.com/members/gwu123/profile/">Gwu</a> for nudging me constantly for the plugin <img src='http://buddydev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Like <a title="BuddyPress Friends Suggest Widget" href="http://buddydev.com/plugins/buddypress-friends-suggest/">BuddyPress Friends suggest widget</a>, this plugin allows users to hide the suggestions they don&#8217;t want to see in future.</p>
<h3>Features:-</h3>
<ul>
<li>Suggest new groups to User based on their friend&#8217;s groups</li>
<li>Users can hide the suggested groups</li>
</ul>
<h3>Screenshots:-</h3>
<p><a href="http://buddydev.com/files/2011/07/suggested-groups.png" rel="lightbox[2509]" title="suggested-groups"><img class="aligncenter size-full wp-image-2527" title="suggested-groups" src="http://buddydev.com/files/2011/07/suggested-groups.png" alt="" width="254" height="217" /></a></p>
<p>Widget in the Available Widget section:-</p>
<p><a href="http://buddydev.com/files/2011/07/group-suggest-widget.png" rel="lightbox[2509]" title="group-suggest-widget"><img class="aligncenter size-medium wp-image-2528" title="group-suggest-widget" src="http://buddydev.com/files/2011/07/group-suggest-widget-300x268.png" alt="" width="300" height="268" /></a></p>
<p>Widget Settings:-</p>
<p><a href="http://buddydev.com/files/2011/07/group-suggest-widget-options.png" rel="lightbox[2509]" title="group-suggest-widget-options"><img class="aligncenter size-medium wp-image-2529" title="group-suggest-widget-options" src="http://buddydev.com/files/2011/07/group-suggest-widget-options-300x226.png" alt="" width="300" height="226" /></a></p>
<h3>Download &amp;Installation:-</h3>
<p><a title="BuddyPress Group Suggest Plugin" href="http://buddydev.com/plugins/bp-group-suggest/">http://buddydev.com/plugins/bp-group-suggest</a></p>
<h3>Git Repo:</h3>
<p><a href="https://github.com/sbrajesh/bp-group-suggest">https://github.com/sbrajesh/bp-group-suggest</a></p>
<p>Please do let me know your thoughts and suggestions for the improvement. Looking forward to hear your comments.</p>
<!-- PHP 5.x -->


Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F&amp;partner=sociable" title="Print"><img src="http://buddydev.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F&amp;title=BuddyPress%20Group%20Suggest%20Widget%3A%20Help%20your%20members%20to%20find%20new%20groups&amp;bodytext=BuddyPress%20Group%20suggest%20widget%20is%20a%20small%20plugin%20which%20helps%20your%20users%20by%20suggesting%20them%20the%20groups%20of%20their%20friends.%20It%20works%20on%20the%20simple%20logic%20of%20finding%20the%20groups%20of%20friends%20of%20a%20user%20and%20then%20suggesting%20it.%20In%20the%20current%20release%2C%20I%20have%20li" title="Digg"><img src="http://buddydev.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F" title="Sphinn"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F&amp;title=BuddyPress%20Group%20Suggest%20Widget%3A%20Help%20your%20members%20to%20find%20new%20groups&amp;notes=BuddyPress%20Group%20suggest%20widget%20is%20a%20small%20plugin%20which%20helps%20your%20users%20by%20suggesting%20them%20the%20groups%20of%20their%20friends.%20It%20works%20on%20the%20simple%20logic%20of%20finding%20the%20groups%20of%20friends%20of%20a%20user%20and%20then%20suggesting%20it.%20In%20the%20current%20release%2C%20I%20have%20li" title="del.icio.us"><img src="http://buddydev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F&amp;t=BuddyPress%20Group%20Suggest%20Widget%3A%20Help%20your%20members%20to%20find%20new%20groups" title="Facebook"><img src="http://buddydev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F&amp;title=BuddyPress%20Group%20Suggest%20Widget%3A%20Help%20your%20members%20to%20find%20new%20groups&amp;annotation=BuddyPress%20Group%20suggest%20widget%20is%20a%20small%20plugin%20which%20helps%20your%20users%20by%20suggesting%20them%20the%20groups%20of%20their%20friends.%20It%20works%20on%20the%20simple%20logic%20of%20finding%20the%20groups%20of%20friends%20of%20a%20user%20and%20then%20suggesting%20it.%20In%20the%20current%20release%2C%20I%20have%20li" title="Google Bookmarks"><img src="http://buddydev.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F&amp;Title=BuddyPress%20Group%20Suggest%20Widget%3A%20Help%20your%20members%20to%20find%20new%20groups" title="BlinkList"><img src="http://buddydev.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F&amp;title=BuddyPress%20Group%20Suggest%20Widget%3A%20Help%20your%20members%20to%20find%20new%20groups" title="DZone"><img src="http://buddydev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=BuddyPress%20Group%20Suggest%20Widget%3A%20Help%20your%20members%20to%20find%20new%20groups&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F" title="FriendFeed"><img src="http://buddydev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.indianpad.com/submit.php?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F" title="IndianPad"><img src="http://buddydev.com/wp-content/plugins/sociable/images/indianpad.png" title="IndianPad" alt="IndianPad" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F&amp;t=BuddyPress%20Group%20Suggest%20Widget%3A%20Help%20your%20members%20to%20find%20new%20groups" title="MySpace"><img src="http://buddydev.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F&amp;title=BuddyPress%20Group%20Suggest%20Widget%3A%20Help%20your%20members%20to%20find%20new%20groups&amp;popup=no" title="Netvouz"><img src="http://buddydev.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F&amp;title=BuddyPress%20Group%20Suggest%20Widget%3A%20Help%20your%20members%20to%20find%20new%20groups" title="Reddit"><img src="http://buddydev.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.sphere.com/search?q=sphereit:http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F&amp;title=BuddyPress%20Group%20Suggest%20Widget%3A%20Help%20your%20members%20to%20find%20new%20groups" title="SphereIt"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphere.png" title="SphereIt" alt="SphereIt" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F&amp;title=BuddyPress%20Group%20Suggest%20Widget%3A%20Help%20your%20members%20to%20find%20new%20groups" title="StumbleUpon"><img src="http://buddydev.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-group-suggest-widget-help-your-members-to-find-new-groups%2F" title="Technorati"><img src="http://buddydev.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>

<p>Related posts:<ol><li><a href='http://buddydev.com/buddypress/buddypress-friends-suggestions-widget-help-your-users-to-build-their-network-faster/' rel='bookmark' title='Permanent Link: BuddyPress Friends suggestions Widget:- Help your Users to Build Their Network faster'>BuddyPress Friends suggestions Widget:- Help your Users to Build Their Network faster</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-user-notifications-widget-plugin/' rel='bookmark' title='Permanent Link: BuddyPress User Notifications Widget plugin'>BuddyPress User Notifications Widget plugin</a></li>
<li><a href='http://buddydev.com/buddypress/exclude-users-from-members-directory-on-a-buddypress-based-social-network/' rel='bookmark' title='Permanent Link: Exclude Users from Members directory on a BuddyPress based social network'>Exclude Users from Members directory on a BuddyPress based social network</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buddydev.com/buddypress/buddypress-group-suggest-widget-help-your-members-to-find-new-groups/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Introducing BuddyPress Simple Google Map Plugin</title>
		<link>http://buddydev.com/buddypress/introducing-buddypress-simple-google-map-plugin/</link>
		<comments>http://buddydev.com/buddypress/introducing-buddypress-simple-google-map-plugin/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 22:38:16 +0000</pubDate>
		<dc:creator>Brajesh Singh</dc:creator>
				<category><![CDATA[Buddypress]]></category>
		<category><![CDATA[Buddypress Free Plugins]]></category>

		<guid isPermaLink="false">http://buddydev.com/?p=2481</guid>
		<description><![CDATA[Thanks to @Daniel for the suggesting this plugin. BuddyPress Simple Google Map plugin uses static google map api  to add the Maps to groups. It is tested to work with BuddyPress 1.2.9 as well as BuddyPress 1.3(bleeding). In the current version, I have only added support for group and I am looking forward to your ...


Related posts:<ol><li><a href='http://buddydev.com/buddypress/introducing-buddypress-message-privacy-control-plugin/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Message Privacy Plugin'>Introducing BuddyPress Message Privacy Plugin</a></li>
<li><a href='http://buddydev.com/buddypress/limit-groups-per-user-plugin-for-buddypress/' rel='bookmark' title='Permanent Link: Limit Groups Per User Plugin For Buddypress'>Limit Groups Per User Plugin For Buddypress</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-group-suggest-widget-help-your-members-to-find-new-groups/' rel='bookmark' title='Permanent Link: BuddyPress Group Suggest Widget: Help your members to find new groups'>BuddyPress Group Suggest Widget: Help your members to find new groups</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=buddydev&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Thanks to @<a href="http://buddydev.com/members/4ella/">Daniel</a> for the suggesting this plugin.<strong> BuddyPress Simple Google Map </strong>plugin uses static google map api  to add the Maps to groups. It is tested to work with BuddyPress 1.2.9 as well as BuddyPress 1.3(bleeding).</p>
<p>In the current version, I have only added support for group and I am looking forward to your suggestion whether you will like to have the static map for User profiles too.</p>
<h3>Features:-</h3>
<ul>
<li>Adds Google Map to Groups</li>
<li>Comes with Widget to showcase the map in sidebar</li>
<li>Simple to Use</li>
<li>Uses Google static Map, so no need for loading any extra javascript</li>
<li>Allows to enable/disable per group</li>
<li>You can set the basic settings in the admin panel.</li>
</ul>
<h3>Screenshots:-</h3>
<p>Here is a screenshot of the map in action:-</p>
<p><strong>Group Map tab</strong></p>
<p><a href="http://buddydev.com/files/2011/07/group-location-tab.png" rel="lightbox[2481]" title="group-location-tab"><img class="aligncenter size-medium wp-image-2483" title="group-location-tab" src="http://buddydev.com/files/2011/07/group-location-tab-300x212.png" alt="" width="300" height="212" /></a></p>
<p><strong>Admin Options:-</strong></p>
<p><strong><br />
</strong></p>
<p>You can set the height, width, zoom level and the map type from BuddyPress-&gt;BP Simple Map admin options. Here are the two options to show it</p>
<p><a href="http://buddydev.com/files/2011/07/admin-map-types.png" rel="lightbox[2481]" title="admin-map-types"><img class="aligncenter size-medium wp-image-2485" title="admin-map-types" src="http://buddydev.com/files/2011/07/admin-map-types-300x179.png" alt="" width="300" height="179" /></a></p>
<p><strong>Map Type:-</strong></p>
<p><strong> </strong>You can select from any of the four map types :- Roadmap, Terrain, Setellite, and Hybrid<strong>.</strong></p>
<p><strong>Zoom Level</strong></p>
<p>You can select zoom level upto 21(highest) as shown below</p>
<p><a href="http://buddydev.com/files/2011/07/map-zoom-level-option.png" rel="lightbox[2481]" title="map-zoom-level-option"><img class="aligncenter size-medium wp-image-2486" title="map-zoom-level-option" src="http://buddydev.com/files/2011/07/map-zoom-level-option-300x253.png" alt="" width="300" height="253" /></a></p>
<p><strong>Here is the widget settings screen</strong></p>
<p><a href="http://buddydev.com/files/2011/07/bp-simple-google-map-widget-options.png" rel="lightbox[2481]" title="bp-simple-google-map-widget-options"><img class="aligncenter size-medium wp-image-2487" title="bp-simple-google-map-widget-options" src="http://buddydev.com/files/2011/07/bp-simple-google-map-widget-options-191x300.png" alt="" width="191" height="300" /></a>The widget will be visible on groups page only if the location is set and the map is not disabled.</p>
<p>The Location can be set from Groups-&gt;Group Name-&gt;Admin-&gt;Map as shown below</p>
<p><a href="http://buddydev.com/files/2011/07/simple-google-map-location-entry.png" rel="lightbox[2481]" title="simple-google-map-location-entry"><img class="aligncenter size-medium wp-image-2488" title="simple-google-map-location-entry" src="http://buddydev.com/files/2011/07/simple-google-map-location-entry-300x163.png" alt="" width="300" height="163" /></a></p>
<p>You can even disable the map for a particular group from admin-&gt;settings page</p>
<p><a href="http://buddydev.com/files/2011/07/group-settings.png" rel="lightbox[2481]" title="group-settings"><img class="aligncenter size-medium wp-image-2489" title="group-settings" src="http://buddydev.com/files/2011/07/group-settings-300x136.png" alt="" width="300" height="136" /></a></p>
<p>Ok, no more screenshots, now the time for action.</p>
<p>You can grab the plugin from below.</p>
<h3>Download &amp;Installation</h3>
<p><a href="http://buddydev.com/plugins/bp-simple-google-map/">http://buddydev.com/plugins/bp-simple-google-map/</a></p>
<h3>Git Repo:-</h3>
<p><a href="https://github.com/sbrajesh/bp-simple-google-map">https://github.com/sbrajesh/bp-simple-google-map</a></p>
<p>I am looking forward to hear your thought about adding support for user profile.</p>
<!-- PHP 5.x -->


Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F&amp;partner=sociable" title="Print"><img src="http://buddydev.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F&amp;title=Introducing%20BuddyPress%20Simple%20Google%20Map%20Plugin&amp;bodytext=Thanks%20to%20%40Daniel%20for%20the%20suggesting%20this%20plugin.%20BuddyPress%20Simple%20Google%20Map%20plugin%20uses%20static%20google%20map%20api%C2%A0%20to%20add%20the%20Maps%20to%20groups.%20It%20is%20tested%20to%20work%20with%20BuddyPress%201.2.9%20as%20well%20as%20BuddyPress%201.3%28bleeding%29.%0D%0A%0D%0AIn%20the%20current%20version%2C%20I" title="Digg"><img src="http://buddydev.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F" title="Sphinn"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F&amp;title=Introducing%20BuddyPress%20Simple%20Google%20Map%20Plugin&amp;notes=Thanks%20to%20%40Daniel%20for%20the%20suggesting%20this%20plugin.%20BuddyPress%20Simple%20Google%20Map%20plugin%20uses%20static%20google%20map%20api%C2%A0%20to%20add%20the%20Maps%20to%20groups.%20It%20is%20tested%20to%20work%20with%20BuddyPress%201.2.9%20as%20well%20as%20BuddyPress%201.3%28bleeding%29.%0D%0A%0D%0AIn%20the%20current%20version%2C%20I" title="del.icio.us"><img src="http://buddydev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F&amp;t=Introducing%20BuddyPress%20Simple%20Google%20Map%20Plugin" title="Facebook"><img src="http://buddydev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F&amp;title=Introducing%20BuddyPress%20Simple%20Google%20Map%20Plugin&amp;annotation=Thanks%20to%20%40Daniel%20for%20the%20suggesting%20this%20plugin.%20BuddyPress%20Simple%20Google%20Map%20plugin%20uses%20static%20google%20map%20api%C2%A0%20to%20add%20the%20Maps%20to%20groups.%20It%20is%20tested%20to%20work%20with%20BuddyPress%201.2.9%20as%20well%20as%20BuddyPress%201.3%28bleeding%29.%0D%0A%0D%0AIn%20the%20current%20version%2C%20I" title="Google Bookmarks"><img src="http://buddydev.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F&amp;Title=Introducing%20BuddyPress%20Simple%20Google%20Map%20Plugin" title="BlinkList"><img src="http://buddydev.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F&amp;title=Introducing%20BuddyPress%20Simple%20Google%20Map%20Plugin" title="DZone"><img src="http://buddydev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=Introducing%20BuddyPress%20Simple%20Google%20Map%20Plugin&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F" title="FriendFeed"><img src="http://buddydev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.indianpad.com/submit.php?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F" title="IndianPad"><img src="http://buddydev.com/wp-content/plugins/sociable/images/indianpad.png" title="IndianPad" alt="IndianPad" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F&amp;t=Introducing%20BuddyPress%20Simple%20Google%20Map%20Plugin" title="MySpace"><img src="http://buddydev.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F&amp;title=Introducing%20BuddyPress%20Simple%20Google%20Map%20Plugin&amp;popup=no" title="Netvouz"><img src="http://buddydev.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F&amp;title=Introducing%20BuddyPress%20Simple%20Google%20Map%20Plugin" title="Reddit"><img src="http://buddydev.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.sphere.com/search?q=sphereit:http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F&amp;title=Introducing%20BuddyPress%20Simple%20Google%20Map%20Plugin" title="SphereIt"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphere.png" title="SphereIt" alt="SphereIt" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F&amp;title=Introducing%20BuddyPress%20Simple%20Google%20Map%20Plugin" title="StumbleUpon"><img src="http://buddydev.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fintroducing-buddypress-simple-google-map-plugin%2F" title="Technorati"><img src="http://buddydev.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>

<p>Related posts:<ol><li><a href='http://buddydev.com/buddypress/introducing-buddypress-message-privacy-control-plugin/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Message Privacy Plugin'>Introducing BuddyPress Message Privacy Plugin</a></li>
<li><a href='http://buddydev.com/buddypress/limit-groups-per-user-plugin-for-buddypress/' rel='bookmark' title='Permanent Link: Limit Groups Per User Plugin For Buddypress'>Limit Groups Per User Plugin For Buddypress</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-group-suggest-widget-help-your-members-to-find-new-groups/' rel='bookmark' title='Permanent Link: BuddyPress Group Suggest Widget: Help your members to find new groups'>BuddyPress Group Suggest Widget: Help your members to find new groups</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buddydev.com/buddypress/introducing-buddypress-simple-google-map-plugin/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>BuddyPress User Notifications Widget plugin</title>
		<link>http://buddydev.com/buddypress/buddypress-user-notifications-widget-plugin/</link>
		<comments>http://buddydev.com/buddypress/buddypress-user-notifications-widget-plugin/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 18:47:16 +0000</pubDate>
		<dc:creator>Brajesh Singh</dc:creator>
				<category><![CDATA[Buddypress]]></category>
		<category><![CDATA[Buddypress Free Plugins]]></category>

		<guid isPermaLink="false">http://buddydev.com/?p=2459</guid>
		<description><![CDATA[Hi All, I am sure most of you are busy building the social networks on BuddyPress. Well, here I am presenting another addon to help you a little more. The BuddyPress notifications widget was suggested by @Reboot in the forum. There is one existing notification widget for BuddyPress but that does not allow multi instance ...


Related posts:<ol><li><a href='http://buddydev.com/buddypress/buddypress-group-suggest-widget-help-your-members-to-find-new-groups/' rel='bookmark' title='Permanent Link: BuddyPress Group Suggest Widget: Help your members to find new groups'>BuddyPress Group Suggest Widget: Help your members to find new groups</a></li>
<li><a href='http://buddydev.com/uncategorized/introducing-buddypress-live-notification-plugin-a-facebook-like-notification-plugin-for-buddypress/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Live Notification Plugin: A facebook like notification plugin for BuddyPress'>Introducing BuddyPress Live Notification Plugin: A facebook like notification plugin for BuddyPress</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-sitewide-activity-widget-updates/' rel='bookmark' title='Permanent Link: BuddyPress Sitewide Activity Widget updates'>BuddyPress Sitewide Activity Widget updates</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=buddydev&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Hi All,</p>
<p>I am sure most of you are busy building the social networks on BuddyPress. Well, here I am presenting another addon to help you a little more.</p>
<p>The BuddyPress notifications widget was suggested by @Reboot in the forum. There is one <a href="http://wordpress.org/extend/plugins/bp-notificationwidget/">existing notification widge</a>t for BuddyPress but that does not allow multi instance or some other customizations. Reboot suggested to update that widget but when I checked the code, writing a brand new version seemed much better choice &amp; that&#8217;s why I am presenting it here today <img src='http://buddydev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Some features:-</p>
<ul>
<li>Multinstance, means you can have as many instance as you want.</li>
<li>Allows you to show/hide the notification count in widget title</li>
<li>Allows   you to show/hide the message showing notification count (please see screenshots)</li>
<li>Allows you to show/hide the notification list(well, I am not sure if you would like to use that anyway)</li>
<li>Completely localizable, please use poedit/any other tool to translate</li>
</ul>
<p>Let us see some screenshots</p>
<p><a href="http://buddydev.com/files/2011/07/bp-notification-widget-admin.png" rel="lightbox[2459]" title="bp-notification-widget-admin"><img class="aligncenter size-medium wp-image-2460" title="bp-notification-widget-admin" src="http://buddydev.com/files/2011/07/bp-notification-widget-admin-172x300.png" alt="" width="172" height="300" /></a></p>
<p>Ana an example of output(2 widget instances)</p>
<p><a href="http://buddydev.com/files/2011/07/2-example-notification-widgets.png" rel="lightbox[2459]" title="2-example-notification-widgets"><img class="aligncenter size-medium wp-image-2461" title="2-example-notification-widgets" src="http://buddydev.com/files/2011/07/2-example-notification-widgets-178x300.png" alt="" width="178" height="300" /></a>I hope some of you will find it helpful.</p>
<h3>Download &amp; Installation:-</h3>
<p><a href="http://buddydev.com/plugins/buddypress-notifications-widget/">http://buddydev.com/plugins/buddypress-notifications-widget/</a><br />
Git Repo:- <a href="https://github.com/sbrajesh/buddypress-notifications-widget">https://github.com/sbrajesh/buddypress-notifications-widget</a></p>
<p>Please do let me know your suggestions or any thing you want in the comments.</p>
<p>PS: Last weekend, I promidsed to write some of the tutorial tips/tricks for BuddyPress. So, I am going to put eaither one plugin each day this week or atleast one tutorial. Please do keep checking <img src='http://buddydev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<!-- PHP 5.x -->


Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F&amp;partner=sociable" title="Print"><img src="http://buddydev.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F&amp;title=BuddyPress%20User%20Notifications%20Widget%20plugin%20&amp;bodytext=Hi%20All%2C%0D%0A%0D%0AI%20am%20sure%20most%20of%20you%20are%20busy%20building%20the%20social%20networks%20on%20BuddyPress.%20Well%2C%20here%20I%20am%20presenting%20another%20addon%20to%20help%20you%20a%20little%20more.%0D%0A%0D%0AThe%20BuddyPress%20notifications%20widget%20was%20suggested%20by%20%40Reboot%20in%20the%20forum.%20There%20is%20one%20exist" title="Digg"><img src="http://buddydev.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F" title="Sphinn"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F&amp;title=BuddyPress%20User%20Notifications%20Widget%20plugin%20&amp;notes=Hi%20All%2C%0D%0A%0D%0AI%20am%20sure%20most%20of%20you%20are%20busy%20building%20the%20social%20networks%20on%20BuddyPress.%20Well%2C%20here%20I%20am%20presenting%20another%20addon%20to%20help%20you%20a%20little%20more.%0D%0A%0D%0AThe%20BuddyPress%20notifications%20widget%20was%20suggested%20by%20%40Reboot%20in%20the%20forum.%20There%20is%20one%20exist" title="del.icio.us"><img src="http://buddydev.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F&amp;t=BuddyPress%20User%20Notifications%20Widget%20plugin%20" title="Facebook"><img src="http://buddydev.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F&amp;title=BuddyPress%20User%20Notifications%20Widget%20plugin%20&amp;annotation=Hi%20All%2C%0D%0A%0D%0AI%20am%20sure%20most%20of%20you%20are%20busy%20building%20the%20social%20networks%20on%20BuddyPress.%20Well%2C%20here%20I%20am%20presenting%20another%20addon%20to%20help%20you%20a%20little%20more.%0D%0A%0D%0AThe%20BuddyPress%20notifications%20widget%20was%20suggested%20by%20%40Reboot%20in%20the%20forum.%20There%20is%20one%20exist" title="Google Bookmarks"><img src="http://buddydev.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F&amp;Title=BuddyPress%20User%20Notifications%20Widget%20plugin%20" title="BlinkList"><img src="http://buddydev.com/wp-content/plugins/sociable/images/blinklist.png" title="BlinkList" alt="BlinkList" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F&amp;title=BuddyPress%20User%20Notifications%20Widget%20plugin%20" title="DZone"><img src="http://buddydev.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.friendfeed.com/share?title=BuddyPress%20User%20Notifications%20Widget%20plugin%20&amp;link=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F" title="FriendFeed"><img src="http://buddydev.com/wp-content/plugins/sociable/images/friendfeed.png" title="FriendFeed" alt="FriendFeed" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.indianpad.com/submit.php?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F" title="IndianPad"><img src="http://buddydev.com/wp-content/plugins/sociable/images/indianpad.png" title="IndianPad" alt="IndianPad" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F&amp;t=BuddyPress%20User%20Notifications%20Widget%20plugin%20" title="MySpace"><img src="http://buddydev.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F&amp;title=BuddyPress%20User%20Notifications%20Widget%20plugin%20&amp;popup=no" title="Netvouz"><img src="http://buddydev.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F&amp;title=BuddyPress%20User%20Notifications%20Widget%20plugin%20" title="Reddit"><img src="http://buddydev.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.sphere.com/search?q=sphereit:http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F&amp;title=BuddyPress%20User%20Notifications%20Widget%20plugin%20" title="SphereIt"><img src="http://buddydev.com/wp-content/plugins/sociable/images/sphere.png" title="SphereIt" alt="SphereIt" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F&amp;title=BuddyPress%20User%20Notifications%20Widget%20plugin%20" title="StumbleUpon"><img src="http://buddydev.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fbuddydev.com%2Fbuddypress%2Fbuddypress-user-notifications-widget-plugin%2F" title="Technorati"><img src="http://buddydev.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>

<p>Related posts:<ol><li><a href='http://buddydev.com/buddypress/buddypress-group-suggest-widget-help-your-members-to-find-new-groups/' rel='bookmark' title='Permanent Link: BuddyPress Group Suggest Widget: Help your members to find new groups'>BuddyPress Group Suggest Widget: Help your members to find new groups</a></li>
<li><a href='http://buddydev.com/uncategorized/introducing-buddypress-live-notification-plugin-a-facebook-like-notification-plugin-for-buddypress/' rel='bookmark' title='Permanent Link: Introducing BuddyPress Live Notification Plugin: A facebook like notification plugin for BuddyPress'>Introducing BuddyPress Live Notification Plugin: A facebook like notification plugin for BuddyPress</a></li>
<li><a href='http://buddydev.com/buddypress/buddypress-sitewide-activity-widget-updates/' rel='bookmark' title='Permanent Link: BuddyPress Sitewide Activity Widget updates'>BuddyPress Sitewide Activity Widget updates</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buddydev.com/buddypress/buddypress-user-notifications-widget-plugin/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

