Title: Custom Profile Filters for BuddyPress
Author: antonchanning
Published: <strong>April 8, 2013</strong>
Last modified: April 8, 2013

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/buddypress-custom-profile-filters.svg)

# Custom Profile Filters for BuddyPress

 By [antonchanning](https://profiles.wordpress.org/antonchanning/)

[Download](https://downloads.wordpress.org/plugin/buddypress-custom-profile-filters.1.1.zip)

 * [Details](https://wordpress.org/plugins/buddypress-custom-profile-filters/#description)
 * [Reviews](https://wordpress.org/plugins/buddypress-custom-profile-filters/#reviews)
 *  [Installation](https://wordpress.org/plugins/buddypress-custom-profile-filters/#installation)
 * [Development](https://wordpress.org/plugins/buddypress-custom-profile-filters/#developers)

 [Support](https://wordpress.org/support/plugin/buddypress-custom-profile-filters/)

## Description

Out of the box, BuddyPress automatically turns some words and phrases in the fields
of a user’s profile into links that, when clicked, search the user’s community for
other profiles containing those phrases. It also removes any attempts at formatting
with new lines.

When activated, this plugin allows users to have more control over these links, 
in the following ways:

 1. Auto generated links are completely disabled.
 2. By using curly brackets in a profile field, users can specify which words or phrases
    in their profile turn into links. For example: under Interests, I might list “Cartoons
    about dogs”. Without this plugin, Buddypress will turn the entire phrase into a
    link that searches the community for others who like ‘cartoons about cats’. If 
    I instead type “{Cartoons} about {cats}”, then the two words in brackets will turn
    into independent links.
 3. If the ‘bbPress2 shortcode whitelist’ plugin is activated, then users can also 
    apply admin approved shortcodes to their profile fields.
 4. Administrators can specify certain profile fields that link to social networking
    profiles. If I enter my Twitter handle ‘antonchanning’ into a field labeled ‘Twitter’,
    for example, this plugin will bypass the default link to a BuddyPress search on‘
    antonchanning’ and instead link to http://twitter.com/antonchanning. (Currently
    this list is hardcoded, but I plan to add an admin screen in future versions. See
    buddypress-custom-profile-filters-bp-functions.php to configure this setting for
    now).

This plugin is forked from a similar plugin from CUNY Academic Commons of the City
University of New York.

### Notes

The plugin checks each profile for curly brackets and activates if it finds any.
If the ‘bbPress2 shortcode whitelist’ plugin
 is installed, any shortcodes approved
by admin can be used in profile fields. For example, codes from the ‘bbPress BBCode’
plugin.

You might want to insert a small explanation into your BP profile edit template (/
wp-content/bp-themes/[your-member-theme]/profile/edit.php that tells your site’s
users how to use these brackets. For example:

“Words or phrases in your profile can be linked to the profiles of other members
that contain the same phrases. To specify which words or phrases should be linked,
add square brackets: e.g. “[b]Life’s a beach![/b] I love {icecream} and {swimming}.”.”

Future features include: admin tab with toggle switch; ability to tweak BP’s automatic
profile filter (e.g. to parse semi-colon separated lists in addition to commas).

## Installation

 1. Upload the `buddypress-custom-profile-filters` directory to your plugins folder
 2. Activate the plugin
 3. Edit buddypress-custom-profile-filters.php to configure

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Custom Profile Filters for BuddyPress” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ antonchanning ](https://profiles.wordpress.org/antonchanning/)

[Translate “Custom Profile Filters for BuddyPress” into your language.](https://translate.wordpress.org/projects/wp-plugins/buddypress-custom-profile-filters)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/buddypress-custom-profile-filters/),
check out the [SVN repository](https://plugins.svn.wordpress.org/buddypress-custom-profile-filters/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/buddypress-custom-profile-filters/)
by [RSS](https://plugins.trac.wordpress.org/log/buddypress-custom-profile-filters/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

 * Mainly corrected errors in the readme.txt

#### 1.0

 * Changed to use curly brackets instead of square.
 * Added detection of shortcode whitelist

#### Versions below refer to the ‘Custom Profile Filters for BuddyPress’ plugin from which this plugin was forked.

#### 0.3

 * Conforms to BP 1.2 standards for loading order
 * Most functionality moved to proper filters in order to inherit BP native code

#### 0.3.1

 * Moved globals back to main plugin file
 * Fixed error regarding missing function arguments (thanks for reporting them, 
   Mike!)

## Meta

 *  Version **1.1**
 *  Last updated **13 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.5 or higher **
 *  Tested up to **3.5.2**
 * Tags
 * [bbcode](https://wordpress.org/plugins/tags/bbcode/)[buddypress](https://wordpress.org/plugins/tags/buddypress/)
   [filter](https://wordpress.org/plugins/tags/filter/)[profile](https://wordpress.org/plugins/tags/profile/)
   [shortcode](https://wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://wordpress.org/plugins/buddypress-custom-profile-filters/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/buddypress-custom-profile-filters/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/buddypress-custom-profile-filters/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/buddypress-custom-profile-filters/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/buddypress-custom-profile-filters/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/buddypress-custom-profile-filters/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/buddypress-custom-profile-filters/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/buddypress-custom-profile-filters/reviews/)

## Contributors

 *   [ antonchanning ](https://profiles.wordpress.org/antonchanning/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/buddypress-custom-profile-filters/)