BP Profile Search
Recently I had a chance to look into BuddyPress, the ’social networking in a box’ for WordPress, and I noticed that a plugin to search member profiles was still missing.
So I’m releasing BP Profile Search. BP Profile Search adds a customizable search form to the Members directory page, so visitors can find site members searching their public profiles.
After installing this plugin, you have to add the search form to your BuddyPress theme.
If you are using the BuddyPress default theme, open index.php in the buddypress/bp-themes/bp-default/members folder, locate this line (around line 14):
</div><!-- #members-dir-search -->
and, right after that, insert the BP Profile Search form:
<?php do_action ('bp_profile_search_form'); ?>
If you are not using the BuddyPress default theme, you have to insert the BP Profile Search form somewhere in your theme Members page.
To customize the search form, use the plugin admin page BuddyPress -> Profile Search.
This first version is not perfect, for instance it doesn’t support all the profile field types, but I hope you’ll help me improve it, with your suggestions, bug reports, and patches. BP Profile Search is available for download in the WordPress Plugin Directory and in the BuddyPress Plugin Directory.
Note: if you can’t access the plugin admin page, try renaming your plugin folder name from bp-profile-search to profile-search and reactivating the plugin.
Hello!
I just wanted to say your plug in is great! I did have to rename the folder as suggested but everything else seemingly works so far. Thank you very much for such a great addition to BuddyPress/WordPress! The only suggestion/request/feedback I have so far is that searches don’t find words within the fields. As in the search only returns results that are exact matches. So if I have a multi-line field with a bunch of information unless everything is copied in word for word into the search it doesn’t find it (versus putting in one word or two words that happen to appear in the field). Thank you again!
@Online RPG Profiles
Thank you for your kind words! The feature you suggest is coming with the next plugin version (end of July?)
Hi there!
I installed everything and the form shows up fine but I can’t seem to get it to work. Any thoughts on what I might be doing wrong? (The website is not yet complete.)
http://cineclat.com/members/
Thanks and best wishes,
Kristen
Hi Kristen,
the search form on your site is working fine for me, perhaps you solved the problem already?
Hi Andrea-
Never mind – I’m an idiot. lol (I didn’t think I had filled out the information on the admin profile but apparently I did.)
It’s brilliant – thank you so much!
@andrea I can’t wait! I’ll be signing up for wordpress.org shortly to give your add on a 5/5! Thanks for the response!
Hello once again! One more quick question: In the next release, will multi-select drop down and check box field be supported as well? Thank you!
@Online RPG Profiles
Yes, I hope so!
@andrea You are amazing! Can’t wait to see how it works out. Thanks again!
Well done on this plugin… it is the deciding vote so far on switching from e107 to wordpress, i look forward to new updates etc
Ooops! My comments unfortunately have been lost. So, let’s start again. The problem is as it written below: i use BP Columns 1.2 theme and the results of search appear not below the search form, but in “users” widget in the left sidebar (see http://www.intimati.ru/members/). How can i improve this? Thanks.
@teteryonok
I’m afraid that this plugin is not compatible with the BP Columns 1.2 theme, anyway I’m going to take a look at your theme, and see whether I can make the plugin compatible.
@andrea
Thanks a lot