We'll create fresh WordPress site with Custom Profile Filters for BuddyPress installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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:
This plugin is forked from a similar plugin from CUNY Academic Commons of the City University of New York.
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).