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.
![Contao [Contao]](/images/contao.png)
![WebsiteBaker [WebsiteBaker]](/images/wblogo.png)
Recent Comments