Okay so my url is lets say url.com..
and my forum is url.com/forum
Now, how do i put the {$welcomeblock} variable in homepage so people can register, login and logout from the homepage?
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:
<?php
define("IN_MYBB", 1);
require_once "forum/global.php";
echo $header;
?>
<?php
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