The Arcive of vBulletin Modifications Site. |
|
Resolving Ip addresses question Details »»
|
|||||||||||||||||||||||||
In the control panel under all username comments.
The ip addresses show up as mine. to the admins. My host uses a cluster and a code change is necessary in the class core file for v bulletin to resolve them. The file needs to be changed to this Code:
function fetch_ip()
{
return $_SERVER['HTTP_X_CLUSTER_CLIENT_IP']
Thanks in advance for any assistance. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
open /arcade/functions/functions.php and look for
Code:
$addrs[] = $_SERVER['REMOTE_ADDR']; $addrs[] = $HTTP_PROXY_USER; $addrs[] = $REMOTE_ADDR; $return['IP_ADDRESS'] = $this->select_var( $addrs );
|
![]() |
|
|