vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   [release vB2.0]couter in vB page (https://vborg.vbsupport.ru/showthread.php?t=18096)

Degen 05-26-2001 07:18 PM

BBQFan,

I made the changes, but am still getting the same errors. :(

h4p3 05-26-2001 08:17 PM

You have to create two files, called count.txt and ip.txt and chmod them to 777.

h4p3 05-27-2001 06:41 PM

Hm, i think there is something wrong.

It always displays this: (it is installed since two days)

vb test received page views: today = 1, total = 22. variant IP visitors: today = 1, total = 22.

today = 1 ? What does this mean? I know that there were more than one person on my test board, it should display today = 2 or so.

Suggestions on this?

Lesane 05-29-2001 07:56 AM

Quote:

Originally posted by h4p3
Hm, i think there is something wrong.

It always displays this: (it is installed since two days)

vb test received page views: today = 1, total = 22. variant IP visitors: today = 1, total = 22.

today = 1 ? What does this mean? I know that there were more than one person on my test board, it should display today = 2 or so.

Suggestions on this?

same problem here

Santa 05-29-2001 08:15 AM

same prob here too :(

Santa

BradC 05-29-2001 01:27 PM

yah I am having the same problem.... but I am going to use another counter and just intergrate it tonight :)

or tweak this one to work...

bbqfan 05-30-2001 02:37 AM

Quote:

Originally posted by h4p3
Hm, i think there is something wrong.

It always displays this: (it is installed since two days)

vb test received page views: today = 1, total = 22. variant IP visitors: today = 1, total = 22.

today = 1 ? What does this mean? I know that there were more than one person on my test board, it should display today = 2 or so.

Suggestions on this?

Hi guys!

would you plx tell me where your test boards are? maybe i can find out any mistakes in this mini hack...:(

but it works ok for me...

http://vbgatetest.51.net/vgate/vb

bbqfan 05-30-2001 02:55 AM

i have found some servers set this::(

$ENV{REMOTE_ADDR} = 127.0.0.1

so every day the number of variant IP visitors is very ONE... we may try to change the counter code:

PHP Code:

$cxip_userip getenv('REMOTE_ADDR'); 

to this new line:

PHP Code:

$cxip_userip getenv('HTTP_X_FORWARDED_FOR'); 

if you test vB on your local PC(like me), the visitors' IP always be 127.0.0.1. of course "variant IP visitors: today = 1,"...

Santa 05-30-2001 06:31 AM

still wont work.

I get today=1
total=1809

Santa

bbqfan 05-30-2001 02:47 PM

Quote:

Originally posted by Santa
still wont work.

I get today=1
total=1809


Santa

which "today"? views or IP?
i think this hack code just simple or i should double check it...


All times are GMT. The time now is 01:45 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.01158 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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