vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Visitor Totals Last 24hrs (https://vborg.vbsupport.ru/showthread.php?t=100671)

lexx27 11-16-2005 12:17 AM

Yep, waiting for the... redo

COBRAws 11-16-2005 01:36 AM

I received the update email but the attachment is the same :S

tcs 11-16-2005 01:36 AM

There is nothing wrong with the code. The only thing that can cause it to not count up is a script that would be cleaning out you sessions table.

Cleanup.php does this every hour that is why we change the code.

cleanup2.php does empty the sessions table after midnight. We want this to happen.

If you want me to look at your cleanup.php you can email it to me.

COBRAws 11-27-2005 11:03 PM

Sorry for the delay. It works now, my mistake. :(

OneShot 12-07-2005 11:53 PM

TCS could you look at my cleanup.php because I have followed the changes in this thread and it still counts to a max of two hours before resetting again.

Cheers
OS

ShawnV 12-18-2005 02:54 AM

The “MOD” installed fine, however it seems to be acting rather strange, I edited the file per the instructions, It reads 8 users in 1 hour, log out and view the site as a guest it reads 3 in the last 1 hour, log in as another users and its 6, any idea on why it wouldn’t be the same number for everyone?

groberthall 12-18-2005 06:36 AM

I am also getting problems with this. It did start counting the hours once it passed midnight, and it got up to 'last 13 hours' at which time I hit the page refresh ( for other reasons ) and it reset to 1 hour again.

any ideas ?

ShawnV 12-18-2005 01:00 PM

Yes, mine is also doing that, Total users that have visited today: 3, its showing 2 users now in the last 2 hours (shrug)

groberthall 12-19-2005 05:37 AM

I may have solved it. I am up to 11 hours and refreshing the page does not reset the counter.

All I did was make exactly the same change to cleanup2 as it says to do to cleanup.php ( as suggested in earllier posts )

ShawnV 12-19-2005 11:20 AM

Quote:

Originally Posted by groberthall
I may have solved it. I am up to 11 hours and refreshing the page does not reset the counter.

All I did was make exactly the same change to cleanup2 as it says to do to cleanup.php ( as suggested in earllier posts )


Yes, but did it reset at midnight or did it keep on counting into the next day?

groberthall 12-20-2005 06:56 AM

No :) the damn thing reset at server midnight. I am ready to give up on this.

ShawnV 12-21-2005 03:24 PM

Quote:

Originally Posted by groberthall
No :) the damn thing reset at server midnight. I am ready to give up on this.

Same,

Uninstalling this modification :(

groberthall 12-22-2005 12:52 PM

Well, I guess it is doing what the author actually said it would do. It counts to 24 hours then resets itself.....

But what we actually want ( :) ) is something that keeps on counting by dropping hour 1 when it reaches hour 25. ( or better still, lets us set how long it will count for ( last 24 hours, last week, last month etc )

Any ideas ?

LoOnEyToOnZ 12-29-2005 01:52 AM

Quote:

Originally Posted by groberthall
Well, I guess it is doing what the author actually said it would do. It counts to 24 hours then resets itself.....

But what we actually want ( :) ) is something that keeps on counting by dropping hour 1 when it reaches hour 25. ( or better still, lets us set how long it will count for ( last 24 hours, last week, last month etc )

Any ideas ?

Anyway to put this on vba portal also ?

yayvb 12-29-2005 04:30 PM

Crap, by the name of the hack I thought it was going to drop off the 1st hour once it gets to the 25th hour, thus constantly showing a large number of users at all times. If it resets at midnight it will go back from the beginning and will not show how many people were in the last 24 hours.

Also, I am having the same problem where it shows 1 hours worth of people.
*EDIT - I changed the cleanup2.php file, I'll let you know if it doesn't help*

tcs 01-30-2006 11:52 AM

Quote:

Originally Posted by yayvb
Crap, by the name of the hack I thought it was going to drop off the 1st hour once it gets to the 25th hour, thus constantly showing a large number of users at all times. If it resets at midnight it will go back from the beginning and will not show how many people were in the last 24 hours.

Also, I am having the same problem where it shows 1 hours worth of people.
*EDIT - I changed the cleanup2.php file, I'll let you know if it doesn't help*

It's an easy fix to do a 24hr from now hack instead of the Last 24hr. I will test now and get back with you on this.

I will also include vBadvanced CMPS mudule with it.

3mr3 02-23-2006 04:58 PM

very nice, thank you


All times are GMT. The time now is 02:02 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.01158 seconds
  • Memory Usage 1,749KB
  • 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
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)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