![]() |
Yep, waiting for the... redo
|
I received the update email but the attachment is the same :S
|
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. |
Sorry for the delay. It works now, my mistake. :(
|
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 |
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 wouldnt be the same number for everyone?
|
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 ? |
Yes, mine is also doing that, Total users that have visited today: 3, its showing 2 users now in the last 2 hours (shrug)
|
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 ) |
Quote:
Yes, but did it reset at midnight or did it keep on counting into the next day? |
No :) the damn thing reset at server midnight. I am ready to give up on this.
|
Quote:
Uninstalling this modification :( |
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 ? |
Quote:
|
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* |
Quote:
I will also include vBadvanced CMPS mudule with it. |
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|