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

  • Author
  • #102600
     dsniche
    Participant

    How can I hide full name on profile pages so only the @username appears?

    I’ve tried adding the following code to wp-config.php file but it didn’t work:

    COPY CODE
    define( 'BP_SHOW_DISPLAYNAME_ON_PROFILE', false );

    I’ve already hidden all other instances of full name appearing on the site using BuddyPress Usernames Only plugin.

    Also, from Users>Profile Fields there’s no way to hide the visibility of the primary full name field.

    #102863
     Laura
    Moderator

    Hello, just add this to style.css of child theme

    COPY CODE
    
    #profile .five.columns h2 {
        display: none;
    }
    dt.bp-field-name.bp-field-id-1 {
        display: none;
    }
    dd.bp-field-value.bp-field-id-1 {
        display: none;
    }
    dl.dl-horizontal dt:nth-child(1) {
        display: none;
    }
    dl.dl-horizontal dd a:nth-child(1) {
        display: none !important;
    }
    
    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 🙂

    #103008
     dsniche
    Participant

    Thanks Laura, that worked. But the alignments of other items on the page are now changed as well. I’ve attached screenshots of the before and after.

    Attachments:
    You must be logged in to view attached files.
    #103012
     dsniche
    Participant

    It’s also making some of the profile fields blank.

    Attachments:
    You must be logged in to view attached files.
    #103350
     Laura
    Moderator

    Hello, can you share admin credentials so i can adjust 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 🙂

    #103439
     dsniche
    Participant
    This reply has been set as private.
    #103773
     Laura
    Moderator

    Hello, should be fixed now, please check it out 🙂

    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 🙂

    #103789
     dsniche
    Participant

    Hi Laura, the alignments are now fine but now the full name appears again on the profile page.

    I had previously placed the code you gave to remove the full name and that messed up the alignments and made some of the profile fields blank. Now the code you gave is gone and everything is back to how it was before we removed the full name display from the profile page.

    How can I remove the full name from profile page and have all other elements appear as they should?

    #103790
     dsniche
    Participant

    I added a screenshot. As you can see, alignments are fine, but the full name appears again, so we’re back to square one. How can we remove the full name from profile page?

    Attachments:
    You must be logged in to view attached files.
    #104023
     Laura
    Moderator

    Hello, add this to style.css of child theme

    COPY CODE
    
    #profile h2:nth-child(1) {
        display: none;
    }
    
    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 🙂

    #104027
     dsniche
    Participant

    Laura, I added the code and signed in with a non-admin username. Only my own full name is hidden from my own profile page. If I check out other profiles, I can still see their profile names.

    #104462
     Laura
    Moderator

    Hello, i dont see it, logged in as info and visited a profile, attached screenshot

    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 🙂

    Attachments:
    You must be logged in to view attached files.
    #104487
     dsniche
    Participant

    Yes, I use the first 3 lines of the first snippet of code you gave me and that seems to work to hide the full name. The alignments of items on the profile page are still messy though.

    #104584
     Laura
    Moderator

    Hello, i am a bit lost, i see everything fine, please check

    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 🙂

    Attachments:
    You must be logged in to view attached files.
    #104858
     dsniche
    Participant

    The match percentage should be above the profile photo, next to the username. Also, the “private message” button should be to the right of the profile photo, not below it. I attached a screenshot.

    Attachments:
    You must be logged in to view attached files.
    #105021
     Laura
    Moderator

    Hello, i see, changed, let me know if it looks fine now 🙂

    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 🙂

    #105182
     dsniche
    Participant

    That works. Thanks Laura!

    #105186
     dsniche
    Participant

    Laura, how do I turn off the custom profile matching now? I tried using Sweetdate > Profile Matching but that didn’t work. Do I have to use another method to turn it on and off?

    #105238
     dsniche
    Participant

    Laura, can we remove the last change you made? It seems more trouble than it’s worth. Sorry and thank you.

    #105241
     Laura
    Moderator

    Hello, last change deleted
    To disable the matching circle add this to style.css

    COPY CODE
    
    .circular-item {
        display: none;
    }
    
    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 🙂

    #105632
     dsniche
    Participant

    Thanks Laura. That works.

    #106067
     Laura
    Moderator

    Glad it worked 🙂

    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 22 posts - 1 through 22 (of 22 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?