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

  • Author
  • #165225
     linkpoin2
    Participant

    HI, i would like to change the displayed member “@name” (under their profile photo)  instead to the username (FirstName_LastName…. so the @handle is not present) … if that is possible and easy to do?  Do you have any suggestions on where this can be done within a child theme or options?  Thanks.

    #165364
     Laura
    Moderator

    Hello, by default buddypress uses username for mentions, that is not easy to change sadly

    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 🙂

    #165383
     linkpoin2
    Participant

    not looking to change the functionality, just the display. instead of displaying the @mentions only under the profile image, I would like to display the username above it as well. easy?

    #165656
     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 🙂

    #166042
     Radu
    Moderator

    Hi,

    just Install this plugin and arrange the username and first, the last name in your desired order

    https://wordpress.org/plugins/buddypress-real-names/

    And to have uusername under the profile picture in members profile add the next function to wp-content/themes/sweetdate-child/functions.php

    COPY CODE
    
    function displayed_user_username_under_profile_picture() {
    	global $current_user;
    	echo '<span class="username-under-avatar">'.$current_user->user_login .'</span>' ;
    }
    
    add_action('kleo_bp_after_profile_image', 'displayed_user_username_under_profile_picture')
    

    NOTE : Child theme needs to be installed and activated.

    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 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?