MyBB Community Forums

Full Version: Welcomeblock in homepage?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Okay so my url is lets say
and my forum is
Now, how do i put the {$welcomeblock} variable in homepage so people can register, login and logout from the homepage?
Header Welcome Block Or > Thread Modes How to change welcome block ? < "Possibly unsolved"
I am linking two help threads Hope this helps
I want the header welcomeblock in my homepage, not just the forum ill pm u link to my forum if needed..

I don't want to change the welcomeblock..
I have already done that.
I want the welcomeblock in homepage wich is not interacted with the forum.
I'm guessing i need a php code for that, but whats the code?
this reply & its following replies might help (note: exact code might not work) [see also this post]
Thank you, but i figured out i could just do this:

define("IN_MYBB", 1);
require_once "forum/global.php";
echo $header;

define("IN_MYBB", 1);
require_once "forum/global.php";
echo $footer;

So now i can change the header on all my pages in one time, instead of editing them one by one,

I still got a problem now, it works.. It's just that when i log in and it redirects me to the homepage it still wants me to login it doesnt show the member welcomeblock