Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Editing MyBB: ModCP Rigging
#1
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:
Quote:['action'] == "ipsearch"

Fourth, after the add_breadcrumb line, type this code:
PHP Code:
$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!
Reply


Messages In This Thread
Editing MyBB: ModCP Rigging - by Mustachio - 07-07-2011, 05:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)