ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 6864

mybb page

by TamperedTrigger - 06-28-2018 - 05:09 PM
#1
how do i add a new page im using mybb
Reply
#2
A new page to what?
Reply
#3
make a php file add this

<?php

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

add_breadcrumb("Title here", "name.php");

eval("\$html = \"".$templates->get("template_name")."\";");

output_page($html);

?>

go to template then global template make a new one name it how u named the php file and add this

<html>
<head>
<title>title</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead"><span class="smalltext"><strong>title.</strong></span></td>
</tr>
<tr>
<td class="trow1">

some text

</td></tr></table>
{$footer}
</body>
</html>
Reply

Users browsing: 1 Guest(s)