This topic has 4 replies, 3 voices, and was last updated 9 years by sharmstr.

  • Author
  • #58068
     efullman
    Participant

    Hi,

    Kleo is a great theme!

    In the profile page (profile-loop.php) in bp_the_profile_field_value() there must be some behavior that tries to turn the value into a link. It makes sense for the display name I suppose, but in general it is creating some problems for me. I’ve created a number of profile fields, and the function is trying to create links out of everything. I’d like to turn off this behavior unless this is going to disable some big, general capability.

    Any thoughts on where to go hunting for this?

    Thanks for your help.

    Attachments:
    You must be logged in to view attached files.
    #58071
     sharmstr
    Moderator

    Kleo isnt doing that. Buddypress does that by default. They are links to search for other members with the same info.

    Profile using other themes
    http://demo.rtcamp.com/inspirebook/members/ankit-gupta/profile/
    http://demo.rtcamp.com/rtmedia/members/yoann/profile/

    Search the BP forum. I’m sure its been asked before.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #58072
     efullman
    Participant

    Thanks for the quick response. That is what I needed to hear. I won’t mess with this, it is good functionality.

    Thanks again.

    #58741
     Abracadabra
    Participant

    I believe this is what you need, I had the same issue.

    function remove_xprofile_links() {
    remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 9, 2 );
    }
    add_action( ‘bp_init’, ‘remove_xprofile_links’ );

    #58747
     sharmstr
    Moderator

    @abracadabra – If you’re going to share code, please wrap it in pre tags. If they copy the code from your post it will not work since the single quotes get changed to fancy quotes. Thank you.

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

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?