Skip to:
Content
Pages
Categories
Search
Top
Bottom

Profile text data is automatically hyperlinking

  • @jerryhnc

    Participant

    A lot of data entered into profile fields is automatically creating a hyperlink. Look at the members on http://www.wfbni.com.

    How can I turn this off?

    How can I get the web site address to hyperlink to the actual web site?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @sbrajesh

    Participant

    This is the default behaviour.

    Please try this plugin for putting it off

    https://wordpress.org/extend/plugins/custom-profile-filters-for-buddypress/

    @buddypresser

    Participant

    Throwing this into bp-custom.php…

    function remove_xprofile_links() {

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

    }

    add_action( 'plugins_loaded', 'remove_xprofile_links' );

    …worked for me.

    If you don’t have a bp-custom.php file, create one and put that code in it, then save it into the wp-content/plugins/ directory.

    @erich73

    Participant

    this feature should be by default within BP-core.

    Not sure why some text is turning into a link and some text is not. Typically the first word and the last word in a string of words is not linked, other words within the string are indeed linked.

    Why do I always need a plug-in in order to turn things off which do not make any sense at all ?

    Although people might say “this is WP standard feature” – I am wondering what kind of “standard” this is ?

    @djpaul

    Keymaster

    @Erich73

    I have no idea where you are getting “standard WP-behaviour”. As you can see from the https://buddypress.org/about/roadmap/, xprofile improvements are scheduled for BuddyPress 1.3.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Profile text data is automatically hyperlinking’ is closed to new replies.
Skip to toolbar