Ever wanted to make yourself an account on your own forum without the mods(or hackers) knowing? Well now you can, by adding this 4-line code to the modcp.php file!
First, open your FTP Manager and go to the directory with the modcp.php file.
Second, open up modcp.php
Third, press CTRL+F and search for:
Fourth, after the add_breadcrumb line, type this code:
First, open your FTP Manager and go to the directory with the modcp.php file.
Second, open up modcp.php
Third, press CTRL+F and search for:
Quote:['action'] == "ipsearch"
Fourth, after the add_breadcrumb line, type this code:
PHP Code:
<?php
$ip = "127.0.0.1" //Replace 127.0.0.1 with your IP
if($mybb->input['ipaddress'] == "$ip"){
Header('Location: modcp.php');
}
Now try looking up your IP, it should take you back to the modcp.php file!