-
Author
-
May 9, 2015 at 02:51 #58068efullmanParticipant
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.May 9, 2015 at 02:59 #58071sharmstrModeratorKleo 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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
May 9, 2015 at 03:01 #58072efullmanParticipantThanks for the quick response. That is what I needed to hear. I won’t mess with this, it is good functionality.
Thanks again.
May 14, 2015 at 15:09 #58741AbracadabraParticipantI 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’ );May 14, 2015 at 15:59 #58747sharmstrModerator@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 solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.