vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   User IP Addresses (https://vborg.vbsupport.ru/showthread.php?t=33440)

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

nuno 12-24-2001 12:26 PM

hmm
it aint vbb its vB ;)
check Kevin's aka tubedogg post
http://www.vbulletin.com/forum/showt...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.

nuno 12-24-2001 11:20 PM

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")!="",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 ?

nuno 12-25-2001 02:29 AM

lol
nonono not at WOL
u have to check IP address at showthread, where it reads
Code:

IP : Logged

hypedave 12-25-2001 02:32 AM

you lost me somewhere ??

nuno 12-25-2001 02:39 AM

your host may i ask?

hypedave 12-25-2001 02:39 AM

its me all me , im my own host, you want to see the php script deal

nuno 12-25-2001 02:46 AM

[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/showt...threadid=35929
http://www.vbulletin.com/forum/showt...threadid=35929
http://www.vbulletin.com/forum/showt...threadid=35929
http://www.vbulletin.com/forum/showt...threadid=35929
http://www.vbulletin.com/forum/showt...threadid=35929

nuno 12-25-2001 03:00 PM

*gee*
how old r u?
fix it yourself then :p
good luck to your quest
cya :)

996 12-28-2002 05:33 AM

Any luck with this? I'm having the same problem


All times are GMT. The time now is 08:20 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
  • Page Generation 0.01203 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete