MyBB Community Forums

Full Version: Insert username/guest in template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sorry if the title is confusing.

On my site: http://www.wafflepwn.com, I have it so when a user is a guest, they are prompted to either sign in or create an account. And when the user is logged in, their username appears.

Since I can't enter PHP code in a template, I'm confused on how to accomplish this. How do I enter the "Welcome username or Welcome Guest" message in a template?

Post the code if you can. It would be so greatly appreciated.
Use the header_welcomeblock_member and header_welcomeblock_guest templates?? Where exactly do you want it to show??
lol, sorry. I got it now. The answer seemed so obvious, but I guess I didn't understand until you pointed it out for me. Thanks again.