Skip to:
Content
Pages
Categories
Search
Top
Bottom

Profile text data is automatically hyperlinking

  • Avatar of Jerry Helms
    Jerry Helms
    Participant

    @jerryhnc

    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)
  • Avatar of Brajesh Singh
    Brajesh Singh
    Participant

    @sbrajesh

    This is the default behaviour.

    Please try this plugin for putting it off

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

    Avatar of buddypresser
    BuddyPresser
    Participant

    @buddypresser

    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.

    Avatar of abcde666
    abcde666
    Participant

    @erich73

    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 ?

    @Erich73

    I have no idea where you are getting “standard WP-behaviour”. As you can see from the http://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.