Yes mine does too, not sure this can be changed
Does anyone know how to fix this? Has to be a common issue and I cant imagine most people want a display name to show and not @username
I think the idea is that the Username is the unique reference point for each user and this is used for messaging too, hence @Username. One the other hand the display name can be anything and multiple users can have the same display name.
I get that but its not user friendly. When someone clicks on another persons profile, they see @username – they dont see their name.
This is cant be something everyone is okay with and there is not a fix, right? Or am I missing something here?
When a user clicks on a profile, they should see my name, not my username. I am not talking about coding or URL, the large heading on the profile where it should display a persons name.
It’s easy to add a member’s display name.
Create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\member-header.php
Then replace this:
<?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
<h2 class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></h2>
<?php endif; ?>
With this:
<?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
<h2 class="user-fullname">
<?php bp_displayed_user_fullname(); ?>
<small>@<?php bp_displayed_user_mentionname(); ?></small>
</h2>
<?php endif; ?>