MyBB Requests

Extras Page

Submitted by Pirate, , Thread ID: 3952

Thread Closed
19-05-2015, 12:56 AM
#1
Need a page that can be edited like:
hackforums.net/extras.php
or leakforums.org/extras.php

Lmk if one has already been released. thnx

RE: Extras Page

#2
There was a tutorial somewhere to create your custom .php pages, just look for it

RE: Extras Page

#3
extras.php

Code:
<?php
define('IN_MYBB', 1);

require "./global.php";
add_breadcrumb("Extras", "extras.php");


eval("\$html = \"".$templates->get("extras")."\";");
output_page($html);
?>

Templates & Style > Templates > Global Templates > Add template > name it "extras"

Code:
<html>
<head>
<title>{$mybb->settings['bbname']} - Extras</title>
{$headerinclude}
</head>
<body>
{$header}

Your content here

{$footer}
</body>
</html>

RE: Extras Page

OP
#4
thats not what I meant. I mean like a table of the extra features a forum has and what groups can use it

RE: Extras Page

#5
19-05-2015, 01:06 AM
Pirate Wrote:
thats not what I meant. I mean like a table of the extra features a forum has and what groups can use it

Code:
<html>
<head>
<title>{$mybb->settings['bbname']} - Extras</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="2">Extras</td>
</tr>
<tr>
<td class="tcat" align="left"><span class="smalltext"><strong>First</strong></span></td>
<td class="tcat" align="left"><span class="smalltext"><strong>Second</strong></span></td>
</tr>
<tr>
<td class="trow1" align="left"><span class="smalltext">First</span></td>
<td class="trow1" align="left"><span class="smalltext">Second</span></td>
</tr>
</table>
</div>
{$footer}
</body>
</html>

Users browsing this thread: 1 Guest(s)