MyBB Community Forums

Full Version: Using header in a different file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to create a stand alone file, and have it include the forums header. From [Open Buddylist] and higher.

Is there an easy way to include this? I tried copying from the admin cp but I get an internal server error. I believe I need to include or require a script or function.

Thanks Smile
48 Hour Bump
you can include global.php AND use header (see example)
Doesn't work. Nothing gets included.
I tried that, doesn't work at all.
^ may be you have mistakes in file paths !! we have been using such header integration for other pages Smile
Cancel that, if I use exactly rules, then it works, but if I make it anything else, like advertise it doesn't work. weird...