View Full Version : User IP Addresses
hypedave
12-23-2001, 11:31 AM
hello, vbb is not reporting user ip address proplerly, its either reporting to me , my server name plus domain name
example: serverpc.domain.com
or its either reporting to me , my servers local lan,
can anyone assist me with this, thanks
it was working fine with vbb 2.2.0
hmm
it aint vbb its vB ;)
check Kevin's aka tubedogg post
http://www.vbulletin.com/forum/showthread.php?s=&threadid=24232
hypedave
12-24-2001, 04:43 PM
well dang sorry, but thanks for helping me, and that link is not telling my how to get the forum to correctly show indivudual user ip, right now all my users have my server ip address, and I hae some causing problems, etc.
Replace 'REMOTE_ADDR' with 'HTTP_X_FORWARDED_FOR' in
newreply.php and newthread.php
hypedave
12-24-2001, 11:49 PM
okay I did that , now when I go to the who's online section
its still showing all the users with the same ip address
come on , we getting there, lol, what am I wrong
here is my newreply.php
if ($logip==1 or $logip==2) {
$ipaddress=iif(getenv("HTTP_X_FOWARDED_FOR")!="",getenv("HTTP_X_FOWARDED_FOR"),$ HTTP_HOST);
} else {
$ipaddress="";
}
now here is my newthread.php
if ($logip==1 or $logip==2) {
$ipaddress=iif(getenv("HTTP_X_FOWARDED_FOR")!="",getenv("HTTP_X_FOWARDED_FOR"),$ HTTP_HOST);
} else {
$ipaddress="";
}
-------------------------------------------------------------------------------
any suggestions,
what should my CP panel be set for ?
lol
nonono not at WOL
u have to check IP address at showthread, where it reads
IP : Logged
hypedave
12-25-2001, 02:32 AM
you lost me somewhere ??
hypedave
12-25-2001, 02:39 AM
its me all me , im my own host, you want to see the php script deal
[QUOTE]Originally posted by hypedave
its me all me , im my own host, you want to see the php script deal
hypedave
12-25-2001, 02:48 AM
aint that some s&*^ I posted info there a week ago and still havent gotten a reponse, thats was very funny of you man, gosh
like im just stupid or something
hypedave
12-25-2001, 02:52 AM
and oh yeah that link you gave me, maybe if you scrolll down in it you will see my post, if you want to know my post then, since we want to play little link games
http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929
http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929
http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929
http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929
http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929http://www.vbulletin.com/forum/showthread.php?s=&threadid=35929
*gee*
how old r u?
fix it yourself then :p
good luck to your quest
cya :)
Any luck with this? I'm having the same problem
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.