Skip to:
Content
Pages
Categories
Search
Top
Bottom

[error] Links In Buddypress Profile

  • @buddypress101

    Participant

    I have my buddypress installed and half way set up. But I’m having issues with links in the profile. I’m not sure what I can do about this issue, I did install a plugin but that didnt work, I tried to look online for different things no results. If somebody can help me with this issue i would appreciate it.

Viewing 12 replies - 1 through 12 (of 12 total)
  • @ubernaut

    Participant

    what are you trying to do links inside profile fields should work given proper formatting (including the http://)

    @buddypress101

    Participant

    Thats the point, I don’t want the links to show up on the profiles. I’m trying to remove auto-links in BP profiles.

    @ubernaut

    Participant

    oh gotcha not sure how to do that sorry.

    @modemlooper

    Moderator

    function my_remove_xprofile_links() {

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

    }

    add_action( 'bp_init', 'my_remove_xprofile_links' );

    @buddypress101

    Participant

    thanks but where can i find that code to replace it? appreciate the help!

    @modemlooper

    Moderator

    Never replace code in the core, you add custom code to a file you place in the wp-content/plugins folder: https://codex.buddypress.org/developer/extending-buddypress/bp-custom-php/

    @buddypress101

    Participant

    okay I added it but the links are still showing up.

    @buddypress101

    Participant

    do I place the code you put and replace the // as well?

    @modemlooper

    Moderator

    Put code in between php tags. The // is a comment you can leave or remove.

    @buddypress101

    Participant

    okay so its up now what I got to do for the links to be removed? Do I have to re do all the profile fields over?

    @buddypress101

    Participant

    I notice once I use the ‘____’ marks it works, but when I use the drop select fields it still shows the links.

    @djpaul

    Keymaster

    If you need help, we need to see where and how you’ve put the code. Please tell us where you’ve put the bp-custom.php file, and if you can, share a copy of the contents of that file on pastebin.com

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[error] Links In Buddypress Profile’ is closed to new replies.
Skip to toolbar