This topic has 6 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #163943
     rweiss
    Participant

    Every profile field that has an abbreviation or uses a character (like a single quote or quote) is displaying wiht the Ascii character. Like this:  Doesn&#039t Matter

    If I make the field non-searchable than this issue goes away.

    This issue only recently started happening. We have been using Sweetdate for 3-4 years.

    #164091
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    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 🙂

    #164279
     Radu
    Moderator

    Hi,

    Where can i see that live pleasE?

    Cheers
    R.

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

    You can log in as me (the info I submitted)

    Then go to https://50plusconnects.com/members/50-admin/#looking-for

    This is the 4th Profile tab. You will see it all down that row of fields.

    It also does this on the About Myself tab if you make Height searchable. I turned off the searchable part of that to see if it stopped the ascii character encoding, which it does.

    #164446
     Radu
    Moderator

    Hi,

    I see there seems to be encoded, try to add the next filters in functions.php in child theme

    add_filter( 'bp_get_the_profile_field_value', 'convert_chars' );
    OR
    add_filter( 'bp_get_the_profile_field_value', 'bp_xprofile_escape_field_data', 8, 3 );
    OR both

    COPY CODE
    
    add_filter( 'bp_get_the_profile_field_value', 'convert_chars' ); 
    add_filter( 'bp_get_the_profile_field_value', 'bp_xprofile_escape_field_data', 8, 3 ); 
    

    OR

    COPY CODE
    
    function sq7_fix_16072917(){
    add_filter( 'bp_get_the_profile_field_value', 'convert_chars' ); 
    add_filter( 'bp_get_the_profile_field_value', 'bp_xprofile_escape_field_data', 8, 3 ); 
    }
    add_action('init', 'sq7_fix_16072917');
    

    So if you remove from the profile My height is: field the encoding will stop ?

    Cheers
    R.

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

    I tried every one of these options and it hasn’t made any difference.

    Rick

    #164725
     Radu
    Moderator

    Hi,

    This it’s not caused by our theme it seems to be related to the BuddyPress itself.

    Try to ask that in BuddyPress forums

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?