MyBB Community Forums

Full Version: How to include header and footer in custom pages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have already used Page Manager but creates single pages. I want to include header and footer in PHP scripts to offer some automated tools in my forum. Please guide meBlush
This will include the header and a basic footer minus the board stats container, it's what I have used for my extra pages.

define('IN_MYBB', 1);
require "./global.php";

There is a tut in the tutorials section for adding custom pages
Not Working Sad
You can follow this tutorial: http://community.mybb.com/thread-116225.html
(2013-01-14, 03:43 PM)The Star Wrote: [ -> ]Not Working Sad

sorry my bad you need <?php on the first line, then the code I gave you.
(2013-01-14, 04:42 PM)Spangle Wrote: [ -> ]
(2013-01-14, 03:43 PM)The Star Wrote: [ -> ]Not Working Sad

sorry my bad you need <?php on the first line, then the code I gave you.
Haha I already included <?php, still not working