![]() |
Costum IP - Hide yourself - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Community Archive (https://community.mybb.com/forum-106.html) +--- Forum: Archived Forums (https://community.mybb.com/forum-143.html) +---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html) +----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html) +------ Forum: 1.6 Security Management and Support (https://community.mybb.com/forum-153.html) +------ Thread: Costum IP - Hide yourself (/thread-176276.html) |
Costum IP - Hide yourself - Nitrome - 2015-08-26 Hello there ![]() I was wondering, can I totally fake my IP address by modifying the get_ip(); function in /inc/functions.php ? (the related file: https://github.com/mybb/mybb/blob/master/inc/functions.php#L3000 ) I tried to add this in the bottom of the get_ip(); function (just before the "return $ip;" )
where 3456 is my user identifiant, and 64.233.184.94 a fake IP address, I want to replace the real one only for me... But it doesn't work... (of course I have added the line "global $db;" at the top of the function get_ip(); ) Can you help me please ? ![]() Mybb 1.6.15 RE: Costum IP - Hide yourself - Sazze - 2015-08-27 I guess somewhat like this could work.
RE: Costum IP - Hide yourself - Nitrome - 2015-08-27 Thanks! But... it doesn't work ![]() I also tried to write only this line it works fine, but for all the member ...i conclude that the function doesn't understand this line
Anyone know how to do? Thanks for help ![]() EDIT: Fixed !! I simply write that at the end of the get_ip() function
Thanks for the help ![]() |