But this isn’t helpful because it says, “The plugin checks each profile for square brackets and activates if it finds any. If no square brackets are found, the default automatic filter will kick in.”

I don’t want the default automatic filter, I want to change that. Another thread said, “If you wish to simply deactivate this “feature”, you could use a remove_filter() call to disable the offending filter.”

I’m not sure where remove_filter should go and the full text of the code.

I’m worried about removing HTML capability in the profile – I still want that – I just don’t want automatic links that don’t have http://

If you want to be more specific and look for certain words in a field, here’s how. Copy the original xprofile_filter_link_profile_data function from bp-xprofile-filters.php, paste it into functions.php or wherever you put the remove_filter code, rename it something unique (like henry_xprofile_filter_link_profile_data), then afterwards add the line

Hi Boone
I’m also desperately trying to gt rid of the annoying links.
The remove_filter line – does that still require your plugin? Or can it work without it?
I have your plugin installed and added the line to functions and tried it in bp-custom – no luck either way – they’re still there.
I don’t want ANY profile links. Just not needed in my system.
Any ideas?

I have a related problem. I added remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 50 ); to my functions.php file in my custom theme. It removed the comma-delimited links like I wanted, but unfortunately it also removed my newlines (presumable because it also filters newlines and inserts , or something like that). Even after I comment out the remove_filter line and re-enter the text and add the returns back in, I still don’t see the newlines or the links that probably should be there since I no longer have the filter being removed. Thoughts?

I had the exact same problem and went to plugins > buddypress > bp-xprofile > bp-xprofile-filters.php and had a look. At the very top there is a very nice list of filters, all of them starting of “add_filter”. When you want to remove something WITHOUT touching the core, simply find the one you want, copy and paste it into your functions.php inside your theme, and then replace “add_filter” with “remove_filter”.

In this case just replace what you had before with the code below and it should work:

If you are working with bp-default and want to create any amends (such as adding functions in functions.php), you will be best to create a new theme (probably a child one). If you look in the menu tab called Codex on this site, you’ll find documentation on how to do this.