2010-04-08, 11:51 PM
Im trying to add a new page to my forum , heres what in using so far but its not working for some reason.
And heres the template
<?php
define('IN_MYBB', 1); // (1a)
require "./global.php"; // (1b)
add_breadcrumb("Friends Page", "friends.php"); // (2)
eval("\$friends = \"".$templates->get("friends")."\";"); // (3)
output_page($friends); // (4)
?>
And heres the template
<html>
<head>
<title>{$mybb->settings[bbname]}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
<table width="100%" border="0">
<thead>
<tr>
<th>RULES</th>
</tr>
<tbody>
<tr>
<td>Our rules</td>
</tr>
</tbody>
</table>
{$footer}
</body>
</html>