MyBB Community Forums

Full Version: Show Username?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi i have created a new box in my index.php, I want to write "Hello (username) welcome to the forum!" then some other text, What is the code to show their username?
There's a simple plugin for this, To welcome members when they register.
yeah i dont want just the welcome message, i want to add loads of other content like latest news etc. :|
You'll need a plugin if you want to add lots of stuff, but the code to show a username is {$mybb->user['username']}
Please go to and download the Header News plugin.