MyBB Requests Extras Page Submitted by Pirate, 19-05-2015, 12:56 AM, Thread ID: 3952 Thread Closed Reply 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 More RE: Extras Page 19-05-2015, 12:57 AM #2 There was a tutorial somewhere to create your custom .php pages, just look for it More RE: Extras Page 19-05-2015, 01:02 AM #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> More RE: Extras Page OP 19-05-2015, 01:06 AM #4 thats not what I meant. I mean like a table of the extra features a forum has and what groups can use it More RE: Extras Page 19-05-2015, 01:11 AM #5 19-05-2015, 01:06 AMPirate 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> More 1 Tropical
RE: Extras Page 19-05-2015, 12:57 AM #2 There was a tutorial somewhere to create your custom .php pages, just look for it More
RE: Extras Page 19-05-2015, 01:02 AM #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> More
RE: Extras Page OP 19-05-2015, 01:06 AM #4 thats not what I meant. I mean like a table of the extra features a forum has and what groups can use it More
RE: Extras Page 19-05-2015, 01:11 AM #5 19-05-2015, 01:06 AMPirate 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> More 1 Tropical