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


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
  • Page Generation 0.01031 seconds
  • Memory Usage 1,728KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete