Reply To: URGENT – Nickname displays in address bar
You could use this plugin: https://github.com/r-a-y/buddypress-usernames-only
Which extends across to the bbPress side of a BuddyPress install. Note that by default, display names are enabled in the member header on profile pages. If you prefer usernames to be shown everywhere, add the following snippet to your wp-config.php file:
define( 'BP_SHOW_DISPLAYNAME_ON_PROFILE', false );