Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 3 Years, 2 Months, 3 Weeks ago [How To?] Welcomeblock in homepage?
#1
Solved: 3 Years, 2 Months, 3 Weeks ago
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?
Reply
#2
Solved: 3 Years, 2 Months, 3 Weeks ago
Header Welcome Block Or > Thread Modes How to change welcome block ? < "Possibly unsolved"
I am linking two help threads Hope this helps
No, I don't read my PM's, no I don't care!
Reply
#3
Solved: 3 Years, 2 Months, 3 Weeks ago
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?
Reply
#4
Solved: 3 Years, 2 Months, 3 Weeks ago
this reply & its following replies might help (note: exact code might not work) [see also this post]
Reply
#5
Solved: 3 Years, 2 Months, 3 Weeks ago
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
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)