MyBB Community Forums

Full Version: "Welcome back, username"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In #panel, it says "Welcome back, Username! You last visited on 12:14 today" or whatever. I'd like to shorten this to just "Welcome back, Username!" and move the last visit stuff to the footer or something.

Can this be done without touching language files? I don't want to include a language file with a theme.
Yeah, there's a way to do it.

Go to ACP -> Templates & Style

Go to the template set you want to edit.

Header Templates -> header_welcomeblock_member

Look for
{$lang->welcome_back}
then replace it with
Welcome Back, {$mybb->user['username']}!

Not sure about how to move the rest down to the footer, but that's how you can change that welcome message.
Obviouslly then your theme would lack the ability to be used in other languages correctly. But that's not a HUGE problem.
(2010-04-12, 02:22 PM)Aaron Wrote: [ -> ]Obviouslly then your theme would lack the ability to be used in other languages correctly. But that's not a HUGE problem.

I disagree. All someone would have to do is make a langauge pack with that part edited.
Thanks.