Display Name: Larry Jino
Mention Name: jino01
If Display Name has not been explicitly set, then calls to displayname will show the mentionname.
Thank you so much. What I did was change this part in my member-header.php to
$name_to_display = bp_get_displayed_user_displayname();
But all I get is the first name ex: @Daniel
And I want the full name to show ex: @DanielCuell
I did it for both the “member header php” files: one that is in the plugins section, and the other which is on the themes/mytheme/buddypress
Seeing you are a moderator I take you might understand what I am trying to say (as Im not that advanced on this as I would like at the moment)
What I am trying to achieve is show the name and lastname throughout the whole site, I have managed to show those pretty much everywhere except the members page. My theme’s documentation doesnt show how to do it. I need to hide the usernames and show the first name and last name instead.
Any help with that will be greatly appreciated.
So there are two things I need to do:
1) Hide admin mentionname somehow
2) Members to have name and last name instead of the mentionname, maybe this will help with point 1?
1. is_super_admin( $user_id )
https://codex.wordpress.org/Function_Reference/is_super_admin
2. bp_get_displayed_user_fullname()
But at-mention functionality only works with user names.
So @jino01
will work
But @LarryJino
will not work.