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)

h4p3 05-30-2001 03:16 PM

Nope, both.

I tested it on my local Server (Gateway) and on my dedicated Server for my website -> same effect.

bbqfan 05-30-2001 03:45 PM

my GOD... i m very very sorry for my mistakes...
:(
the right codes have been put in the first post of this thread...

this time every thing would be ok...

Santa 05-30-2001 04:13 PM

Yeahhh now it works :)

bbqfan 05-30-2001 04:20 PM

Quote:

Originally posted by Santa
Yeahhh now it works :)
thank you! i can set my heart at rest now...:):D

Santa 05-30-2001 04:54 PM

no mate. make more of this hacks :D

bbqfan 05-31-2001 07:16 PM

sorry again!:(

another bug: these 2 variables $t and $day are collided with vB...

so it will bring on some unpredictable results...:(

the right codes have been put in the first post of this thread... i think so :)

BradC 06-02-2001 01:25 PM

Great... it works just fine now.. but

Where else can we put the counter code so that it does not count everything... like when you click on a forum.. and read a post.. or go to another page that is including the global.php file.. it counts as a daily visit.. heh :)

ThomasP 06-02-2001 07:22 PM

Hi there,

works perfect,
thanks!
-Tom

bbqfan 06-02-2001 11:37 PM

Quote:

Originally posted by BradC
Great... it works just fine now.. but

Where else can we put the counter code so that it does not count everything... like when you click on a forum.. and read a post.. or go to another page that is including the global.php file.. it counts as a daily visit.. heh :)

mmmh, i think it is easy too...

maybe you can put the display code like this:
PHP Code:

this page views:  today $detail[1],  total $detail[2].  variant IP visitors:  today $detail[3],  total $detail[4]. 

in any Templates you want, instead of the Templates FOOTER, or you can just display one or more of $detail[1]~~[4].

but, you have to create some new count.txt and ip.txt.:(

Quote:

ThomasP:

Hi there,

works perfect,
thanks!
-Tom
you are welcome:)

ThomasP 08-02-2001 08:22 PM

Sorry to bring this up again, but it works perfect in 2.0.3 and I reeeaaally love it :D
cu,
-Tom


All times are GMT. The time now is 01:46 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.01024 seconds
  • Memory Usage 1,737KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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