Esta é a discussão em Proxy to Real IP Conversion [v2.25] parte do fórum PaulM que integra a categoria Por desenvolvedor. Participe sempre de nossos debates.
Prezado/a Não Registrado,
Com a chegada do vBulletin 3.7.0 vamos procurar esclarecer - de início nos fóruns de dúvidas - sobre qual versão do vBulletin estamos falando!
Peço atenção aos prefixos, portanto.
Para comentar essa notícia use o fórum feedback.
Obrigado
Beduino
This hack makes the forum always use the members real ip when a proxy is detected, meaning that all existing ip functions should continue to work, basically ignoring the proxy server (other than recording it's presence).
i.e.
* The real ip (or host) is displayed in the who's online page.
* The real and proxy server ip's are accesible for each post, the button is red for members using a proxy server.
* The real ip is searchable in the admin/mod cp (but not the proxy ip).
* The real ip can be banned by admins.
etc etc ......
Note: Obviously this hack relies on the proxy server passing the correct http variables to allow detection.
If a proxy is detected, then a red ip icon is displayed instead of the standard one. This mod will also detect if the ipinfo hack is installed and adjust itself to call the ipinfo code.
History:
v2.20 : Updated for vb 3.6. IP Info detection added.
v2.21 : Dependancies updated for 3.6.0 Gold.
v2.22 : Updated for Version Checking.
v2.23 : Fixed bug causing wrong ip in WOL display.
v2.24 : Rewritten slightly to fix a minor issue with spiders.
v2.25 : Updated for changes in vB 3.6.4.
Remember that this modification involves changes to the class_core.php file - if you upgrade your vbulletin, you must reapply those changes.
Please do not post asking why this does not work with some proxy servers, the answer is already in the notes above, and also in Post #160 * do vB.org , é claro ...
Aproveitem
Beduino
__________________
#Por mais chato que seja: NÃO respondo a dúvidas por MP, email e afins.#