I want to add two custom pages and have them appear as a toplink. I can do the toplink part but just need to figure out how to do the pages. I used a plugin for my rules page and got it up. Tried to follow a tut I found for the other two but I believe it is out dated as I can't get it to work. If anyone can point me in the right direction I would be greatly appreciative. I am using mybb 1.4.11.
Ok matt I followed your tutorial but I am getting this error: Parse error: syntax error, unexpected '=' in /home/clanog5/public_html/ranks.php(9) : eval()'d code on line 2
How do I fix it?
Can you paste the code you used here?? Copy and paste from the file, put it in [php] tags.
<?php
define("IN_MYBB", 1);
define("KILL_GLOBALS", 1);
require "global.php";
add_breadcrumb("ranks", "ranks.php");
eval("\ranks= \"".$templates->get("ranks")."\";");
output_page($ranks);
?>
eval("\ranks=
to
eval("\$ranks=
Thank you! It is working properly now. I figured it was something missing from the code.