You’re welcome @Chouf1! For regular updates and to network with others having similar web & design interests, do join our exclusive social network here: 83oranges.com/connect
I followed 2 steps to successfully display usernames in the BP members directory & other pages instead of default Display names:
1st step was to install the BP Usernames only plugin: https://wordpress.org/extend/plugins/buddypress-usernames-only/
This replaced display names across the site by usernames however, when I used the search box on the members directory to search a member, it returned results with members display names again and not usernames. To resolve this, I additionally followed step 2 explained here: http://customwebdesignseo.com/activity/p/3002/
– You’re right about having to share to read the solution but wrong about the price to sign up. The content is only available after sharing but the site is free to join.
– I figured out the bp-labs code change myself and the solution IS NOT copied from anyone. Before finding the solution, I browsed through all the forums here but they couldn’t help me so I posted the solution I found for myself.