vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - HIT COUNTER! (Integrated With VB) (https://vborg.vbsupport.ru/showthread.php?t=112998)

Dermo-MIO 04-23-2006 07:00 PM

Quote:

Originally Posted by chatbum
It changes the files permissions

ah i got it to work now i didnt know what that was but remembered now thanks for this

rareclownfish 04-23-2006 10:53 PM

Does the pages viewed today resets, because I'm getting the same number on both of them. When do they change?

Mr Chad 04-23-2006 11:42 PM

They change when the Scheduled Task runs. It sets hits_yesterday.txt file to the current hits. So its totalhits - yesterdayshits = today

clearchannel 04-24-2006 11:57 PM

Quote:

Originally Posted by chatbum
ill make a better guide... or a better way looks like this isnt working well, just got mine to actually work.

Is there a good way to either email daily counts or save them in a text file so I can keep track of daily stats?

Thanks in advance

Mr Chad 04-25-2006 11:39 AM

well i actually have aready done this, I might release the mod later im still unsure.


http://beasttoast.com/thosting/files...hits_thumb.png

rareclownfish 05-04-2006 10:59 PM

Quote:

Originally Posted by chatbum
They change when the Scheduled Task runs. It sets hits_yesterday.txt file to the current hits. So its totalhits - yesterdayshits = today

I don't think it working for me check it out.
http://www.rareclownfish.com/forums/index.php

Mr Chad 05-05-2006 11:06 PM

Quote:

Originally Posted by rareclownfish
I don't think it working for me check it out.
http://www.rareclownfish.com/forums/index.php

when did u install it?

If its been only 1 day then its working fine.

rareclownfish 05-05-2006 11:12 PM

It's been about a week now

Mr Chad 05-06-2006 04:16 PM

Did you set up the cron?

also did you add two $pageviews in your template instead of:

one $pageviews and one $pageviewstoday

rareclownfish 05-07-2006 12:48 PM

this is the code i have in the template

<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]<br><b>The total pages viewed: $pageviews, pages viewed today: $pageviewstoday</div></b>


All times are GMT. The time now is 09:18 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.01177 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)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