This topic has 5 replies, 2 voices, and was last updated 8 years by Laura.

  • Author
  • #94250
     schmu
    Participant

    Hi,

    spent a lot of time to figure out without success…

    On the profile page under the profile tabs the field values are clickable and direct to the search/members page. How can I disable the link functionality on these field values.

     

    Many thanks

    #94373
     Laura
    Moderator

    Hello, try adding this to functions.php of child theme

    COPY CODE
    
    remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 2 );
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #94511
     schmu
    Participant

    Hi Laura,

    no change at all. Can you help pls.

    #94964
     Laura
    Moderator

    Hello, please check out https://buddypress.org/support/topic/remove-automatic-links-in-profile/
    If not working try maybe hiring a freelancer 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #95021
     schmu
    Participant

    Hi Laura,

    it worked with adding the code

    remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 2 );
    to bp-custom.php file

    Thanks
    Christoph

    #95359
     Laura
    Moderator

    Hello, glad you could resolve it 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?