-
Author
-
November 11, 2013 at 20:43 #6413joeldeckerParticipant
I apologize if there is a thread for this already,
wasn’t sure how to search for it as I’m not sure what it’s called…
I am trying to turn off the feature that makes the copy text that users
fill in their profile with to be linkable. There seems to be phrases or
words, perhaps related to commas, that become links.
Is there a way to turn that function off?November 12, 2013 at 22:12 #6504SQadminKeymasterHi,
I think there is one but here is the code you have to add to sweetdate-child/functions.phpCOPY CODE/* remove profile field links */ 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' );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 13, 2013 at 03:08 #6549joeldeckerParticipantBrilliant! thank you,
sorry I couldn’t find the thread earlier.December 4, 2013 at 12:05 #7694bananalustParticipantI tried placing this in sweetdate-child/functions.php as well as bp-custom.php files and it didn’t work. Do you have an idea of why that might be the case?
December 6, 2013 at 03:12 #7748SQadminKeymasterCode works. I don’t know why it doesn’t. Make sure code is complete and you have child theme activated
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 8, 2013 at 02:01 #7885hughmParticipantStrange question: The links that you mention do not show up on my profile. I believe you are talking about the links on a member’s own profile that when you click them you can see all the other members that match your profile criteria. The Buddypress Default theme uses these and I like them. I would actually like to display these links. Any idea why they don’t show for me? I have not put the above code into my functions.php form. Is there a way to turn these on and off from the admin dashboard?
December 9, 2013 at 18:08 #7981AbeKeymasterHi, Those links will appear by default. You probably have a text that is too long or something. Theme isn’t doing anything to stop them by default
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The topic ‘turning off linking words in users profile text’ is closed to new replies.