Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Link Profile Field Type


Burt Adsit
Participant

@burtadsit

Howdy. I don’t see any way to do this other than disabling the ‘make everything a search term’ filter which exists in bp-xprofile-filters.php. That filter is called ‘xprofile_filter_link_profile_data’ and you can disable it by creating a small plugin file which contains the following:

remove_filter( 'bp_the_profile_field_value', 'xprofile_filter_link_profile_data',2 );

Then the new ‘make clickable’ filter can take over and voila. You got a link if the user enters http://myblog.yoursite.org

There are other ways of doing this but this seems to be the easiest and fastest.

Create a profile field called ‘my blog’, make it a textfield and you’re done.

You might want to post a bug ticket in trac that details your inability to do this. An enhancement ticket might suggest a ‘make searchable’ on/off button for all profile fields. ‘eh?

Skip to toolbar