![]() |
|
[MyBB] Patch The Avatar Method - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Design (https://sinister.ly/Forum-Design) +--- Forum: Web Design (https://sinister.ly/Forum-Web-Design) +--- Thread: [MyBB] Patch The Avatar Method (/Thread-MyBB-Patch-The-Avatar-Method) |
[MyBB] Patch The Avatar Method - Nefarious - 12-17-2013 First you want to go to inc/functions.php, at line 5584 (May be different if you use google SEO), you will look for a function called "fetch_remote_file". This function allows for someone to get the real IP address of the forum. In order to stop this, we will use this code. This is within the section that says if(function_exists("curl_init")) for those of you who have edited their functions.php file, Insert the following at or near the beginning of this block. PHP Code: curl_setopt($ch, CURLOPT_PROXY, "127.0.0.1");
curl_setopt($ch, CURLOPT_PROXYPORT, "8080");
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
|