PDA

View Full Version : Change the way vbulleitn gets IP address


Chirag patel
11-18-2012, 11:14 PM
I'd assume currently vbulletin gets it Ip from PHP. Is there a way you can change it so it gets it

$ip=@$REMOTE_ADDR;

to

$ip=GEOIP_ADDR

kh99
11-19-2012, 09:29 AM
You might want to look at the file includes/class_core.php, functions fetch_ip(), fetch_alt_ip(), and fetch_config().