14 years, 7 months ago
How do I display the current users username, like it does at the top of these forums “Welcome, USERNAME!”
I searched around, and looked in the “template-functions.php” file, but found nothing.
<?php echo bb_get_current_user_info( 'name' ); ?>
Drop that into HTML wherever you want it.
The default theme puts a “Welcome, USER! View your profile (Log out)” at the top left of every page, right where the login box would be otherwise.
Edit: strange, is the overflow: hidden property gone again?
Follow bbPress on Twitter •
Contact Us •
Terms of Service