* This makes your forum aways use the real ip when a proxy server is detected, the proxy ip is recorded in an extra field but then ignored.
* This allows all vBulletin ip based functions, such as ip searching, who's online and ip banning to work correctly.
vB uses two global variables IPADDRESS and ALT_IP, this hack also adds a third - PROXYIP.
If no proxy is detected then IPADDRESS is set to the real ip, ALT_IP is set to the real ip and PROXYIP is set to blank.
If a proxy server is detected then IPADDRESS is set to the real ip, ALT_IP is set to the proxy ip and PROXYIP is set to the proxy ip.
ALT_IP is not used further by this hack, it is a pre-existing vB variable, so we keep it.



URL del LinkBack
Acerca de los LinkBacks




Citar





