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)

htdesignz 05-10-2006 01:32 AM

Good !!! Thanks for share

Rahuldhanpat 05-11-2006 05:51 PM

Quote:

Originally Posted by Smiry Kin's
how did u get Alexa Rank?


https://vborg.vbsupport.ru/showthrea...ht=hit+counter

Rahuldhanpat 05-11-2006 05:57 PM

can u tell me please How can we chmod 666 a text file.....please explain a little

Mr Chad 05-12-2006 12:02 AM

You need FTP access to your host... Right click on the file and you should get the option.

A_N_K_A_R_A 05-18-2006 04:36 PM

nice thanks

Mr Chad 05-19-2006 02:10 AM

Quote:

Originally Posted by A_N_K_A_R_A
nice thanks

Is this version working?

A_N_K_A_R_A 05-21-2006 05:14 AM

vb 3.5.4 version

Mr Chad 05-21-2006 06:12 PM

Quote:

Originally Posted by A_N_K_A_R_A
vb 3.5.4 version

Great :)

Stop 05-22-2006 10:09 AM

It works fine but I just need to display the page views for today. Can you please explain more in step #5 ? I seem not to get what you mean.

Mr Chad 05-22-2006 01:36 PM

You need to creats a schuduled task and run it...

and in your templates just put '$pageviewstoday' in.

Stop 05-22-2006 02:42 PM

that was my question, how to creat a schuduled task ?
thanks.

Mr Chad 05-23-2006 12:47 AM

lol...

Log into your admincp and you should see a 'Schuduled tasks' section. Expand it then click add new schuduled task...

Stop 05-23-2006 07:22 AM

I did create the task, run it and add $pageviewstoday' in the template but still shows the same count.
Have a look please.

Mr Chad 05-23-2006 09:11 AM

run it again.

Stop 05-23-2006 02:25 PM

Just did more than once. I really cant discover out what's the problem.

Mr Chad 05-23-2006 06:37 PM

make sure your file is set CH MOD 777 for your counter text files.

Stop 05-23-2006 09:00 PM

Thanks a lot sir for your time. It works fine now.

Mr Chad 05-23-2006 11:13 PM

Glad to see that you got it working :)

BeaLzeBuB 05-24-2006 08:35 PM

nice!

clicks install

Mr Chad 05-25-2006 12:05 AM

thanks

*Too bad you forgot to really click install :P*

wezoo 05-29-2006 08:10 PM

Hi there

must be something im doing wrong here but my counter is going up in multiples of 2

any ideas, thanks

Mr Chad 05-30-2006 12:47 AM

well there must be a something that is calling your global.php twice.

lucky123 06-12-2006 01:58 AM

here's my error

Warning: Unknown(./counter/counter.php): failed to open stream: No such file or directory in /global.php(349) : eval()'d code on line 146

Fatal error: (null)(): Failed opening required './counter/counter.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lucky123/public_html/global.php(349) : eval()'d code on line 146

did I miss a step?

I uploaded 3 files to public html then added the plugin
then changed the footer

Andromeda2875 06-12-2006 03:46 AM

I have installed this three times and I am still not able to see anything.

lucky123 06-12-2006 12:09 PM

I'm afraid to try again!!

the other 2 plugins worked just fine (countdown, tic tac toe)

Mr Chad 06-12-2006 08:51 PM

put the file in a folder named counter.

(I will be upgrading this hack to 3.6, when i do ill also let you track your totoal unique page views)

TomasDR 06-15-2006 04:57 AM

I am having a very odd problem.

I setup the corn job to run per your instructions.
Title="Page Views"
Day of the Week=*
Day of the Month=*
Hour=23
Minute=59,-,-,-
Log Entries=Yes
Filename=./counter/counter_daily.php

Note I never see it in the log BUT the next time is always updated in the Scheduled Task Manager view.

So what's the problem, it doesn't update (copy to yesterday_count.txt and reset count.txt to ZERO) with the normal cron job, BUT if I click "Run Now" in the Scheduled Task Manager view it runs just fine and updates the files.

Also note ALL of my other cron jobs work just fine...

Any thoughts?

Mr Chad 06-15-2006 09:07 PM

take a screen shot of your schudled task list (showing the hit counter one)

TomasDR 06-29-2006 01:51 AM

I was out of town, attached is my main manager screen & the Page View job.

noj75 07-01-2006 06:16 PM

Simple and Great.

/me Clicks Install

Thank you.

oberheimhaven 07-02-2006 12:03 AM

great hack Installed on3.5.4 Zero Issues

Thxs Mate!
Ober

kozumasbullitt 07-03-2006 04:23 AM

my counter counts for every page seen.

Parker Clack 07-10-2006 01:46 AM

I love this hack. Do you think you could write it so it gives you the totals today, this week, this month and then the total number?

Thanks,
Parker

Mr Chad 07-16-2006 03:50 AM

Quote:

Originally Posted by kozumasbullitt
my counter counts for every page seen.

Thats the point. It counts how many pages that have been viewed.

Mr Chad 07-16-2006 03:51 AM

Quote:

Originally Posted by Parker Clack
I love this hack. Do you think you could write it so it gives you the totals today, this week, this month and then the total number?

Thanks,
Parker

I dont see myself adding to this hack becuause i have no time. Summer school and alot of other things.

Polo 07-27-2006 08:49 PM

thanks. Cool hack.

burntire 08-06-2006 10:47 PM

Works good on 3.6.0.

Mr Chad 01-07-2007 04:42 AM

ok then...

thetopday21122 03-11-2007 03:02 PM

I like the idea but how would I get it in my Statistics box?


All times are GMT. The time now is 01:33 PM.

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.01255 seconds
  • Memory Usage 1,781KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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