MyBB Community Forums

Full Version: Customizing the welcome block
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

I know in order to use the 'welcome block' on the page you have to put the $welcomeblock variable in there where you want it.

Is there any way I can customize what the $welcomeblock variable will display? I remember in IPB editing their version of the 'welcome block' was a bit easier, you'd just put in things like "Welcome $username. Your last visit was $lastvisit." Whereas on MyBB it's just "$welcomeblock".

Where exactly can I edit the contents of $welcomeblock though?

Thanks,
Andy
Templates > Modify/Delete > *YOUR THEME* > Expand >

header_welcomeblock_guest This is what the guests see
header_welcomeblock_member This is what members see
header_welcomeblock_member_admin This is what Admins see
Moved to code modifications.