MyBB Community Forums

Full Version: Edit $welcomeblock
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

in which file gets the variavle $welcomeblock its values?

I looked in global.php and there stands something like

eval("\$welcomeblock = \"".$templates->get("header_welcomeblock_member")."\";");

I think, this assignes the variable its value, but where can I edit this

$templates->get("header_welcomeblock_member")

to change the welcome block?

I don't want to change the values in the language file.
I dont' have the new version of MyBB (since I have no host), but if they haven't changed the navigation for changing it, then you can follow this (if they have, I guess you can loosely follow this, or someone can correct me)

Admin CP -> Themes -> *Theme Name* -> header_welcomeblock_member (or _guest)

I'm guessing that's what you wanted to do?
Hello Cory,

thank you, but I think editing the template is only for css changes. I can't find header_welcomeblock_member.

I looked here: Admin CP -> Themes -> Modify / Delete -> *name* -> Edit Theme
Try,

Admin CP -> Templates -> Modify/Delete -> *the template you're using* -> Expand -> header_welcomeblock_member
niftybobby Wrote:Admin CP -> Templates -> Modify/Delete -> *the template you're using* -> Expand -> header_welcomeblock_member
I didn't see the expand button.

Thank you niftybobby and Cory. :-)