WordPress.org

Ready to get started?Download WordPress

Plugin Directory

BP Profile Search

Let visitors search your BuddyPress Members Directory and their Friends list.

After the standard plugin installation procedure, you'll be able to access the plugin settings page Users -> Profile Search, where you can build and customize your search forms.

Form Fields

In this section you can:

  • Add and remove form fields
  • Enter the field label and description, or leave them empty to use the default
  • Enable the Value Range Search for numeric fields, or the Age Range Search for date fields
  • Change the order of the fields

Add to Directory

With this option you can insert your search form in your Members Directory page. If you enable Add to Directory, you can also:

  • Enter the HTML text for the optional form header
  • Enable the Toggle Form option
  • Enter the text for the Toggle Form button

Form Method

With this option you can select your search form method attribute, POST or GET.

If you choose GET, the form data are sent as URL variables and users can bookmark the results page; if you choose POST, the form data are not visible in the URL and it's not possible to bookmark the results page.

Text Search Mode

With this option you can select your text search mode, between:

  • LIKE: a search for John finds John, Johnson, Long John Silver, and so on
  • SAME: a search for John finds John only

In both modes, two wildcard characters are available:

  • Percent sign (%): matches any text, or no text at all
  • Underscore (_): matches any single character

Display your search form

After you build your search form, you can display it:

  • In your Members Directory page, selecting the option Add to Directory
  • In a sidebar or widget area, using the widget Profile Search
  • In a post or page, using the shortcode [bps_display form=ID] (*)
  • Anywhere in your theme, using the PHP code
    <?php do_action ('bps_display_form', ID); ?> (*)

(*) Replace ID with your actual form ID.

Requires: BP 1.8 or higher
Compatible up to: BP 2.0.1
Last Updated: 2014-6-16
Downloads: 48,354

Ratings

4 stars
4.9 out of 5 stars

Support

2 of 4 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
100,2,2 100,1,1
50,2,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1