ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 4542

Patch Avatar Upload URL

by Shoe - 02-11-2016 - 07:40 PM
#1
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 a douchebag 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($chCURLOPT_PROXY"127.0.0.1");
curl_setopt($chCURLOPT_PROXYPORT"8080");
curl_setopt($chCURLOPT_PROXYTYPECURLPROXY_SOCKS5);  



Replace the IP address and port with the corresponding ones of your proxy. If it's an HTTP proxy, replace CURLPROXY_SOCKS5 with CURLPROXY_HTTP.

:yus:
Reply
#2
again useful tips thank you
Reply
#3
Thanks for sharing! :)
Reply
#4
Okay, rhank you bro!
Reply
#5
haha, this is so sweet. thanks for sharing
Reply
#6
thnks alot brother
Reply
#7
ahe3aw2321321321312321132
This account is currently banned
Ban reason: Spamming and Advertising other forums.
Reply
#8
Thank for sharing .
"Give me names and I will give you blood."

- Natalia !
Reply
#9
Thanks for sharing this information is so precious.
Reply

Users browsing: 1 Guest(s)