MyBB Community Forums

Full Version: Can i allow banned ip's access to certain pages?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can i allow banned ip's access to certain pages?

for instance if i stuck a piece of code on the php file could i allow a banned ip to view it? this is because i want to use forms for unban requests and right now they cannot be accessed by banned ip's
You might be able to do this by using this in your custom file before require_once "global.php";
define("ALLOWABLE_PAGE", 1);
(2014-10-26, 05:30 PM)dragonexpert Wrote: [ -> ]You might be able to do this by using this in your custom file before require_once "global.php";

define("ALLOWABLE_PAGE", 1);

that does not work any other suggestions

also do you know where i can change the text on the ip banned message that appears.
The text should be in /inc/languages/your language/global.lang.php. I have no other suggestions.