![]() |
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/showt...threadid=24232 |
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 |
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")!="",g etenv("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")!="",g etenv("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 Code:
IP : Logged |
you lost me somewhere ??
|
your host may i ask?
|
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 |
All times are GMT. The time now is 01:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|