2012-12-13, 05:33 AM
PLEASE close. I have resolved this issue.
I am having difficulty with my rules page... for some reason it does not want to show up.
I was receiving an error that was telling me to make sure my IN_MYBB was defined, but it does not show that error anymore.
Here is what my header (toplinks) code looks like for the rules page.
Here is the URL for the problem I am experiencing. (Blank page)
http://www.hackgrid.net/rules.php
Here is the code that I am using in my rules.php (Just ask if you want the long version)
Would greatly appreciate the help Thank you mybb team!
Please Close. This issue has been resolved.
Thank you!
I copied a tos.php layout and made it fit my needs...
I am having difficulty with my rules page... for some reason it does not want to show up.
I was receiving an error that was telling me to make sure my IN_MYBB was defined, but it does not show that error anymore.
Here is what my header (toplinks) code looks like for the rules page.
<li><a href="{$mybb->settings['bburl']}/rules.php"><img src="{$theme['imgdir']}/toplinks/rules.gif" alt="" title=""/>Rules</a></li>
Here is the URL for the problem I am experiencing. (Blank page)
http://www.hackgrid.net/rules.php
Here is the code that I am using in my rules.php (Just ask if you want the long version)
define("IN_MYBB", 1);
define('THIS_SCRIPT', 'rules.php');
define("KILL_GLOBALS", 1);
require "global.php";
global $mybb;
if(!defined("IN_MYBB"))
{
die("Direct initialization of this file is not allowed.<br /><br />Please make sure IN_MYBB is defined.");
}
Would greatly appreciate the help Thank you mybb team!
Please Close. This issue has been resolved.
Thank you!
I copied a tos.php layout and made it fit my needs...