Version: 1.02, by tcs
Developer Last Online: Apr 2014
Version: 3.5.1
Rating:
Released: 11-12-2005
Last Update: 11-15-2005
Installs: 34
Uses Plugins Template Edits
Code Changes
No support by the author.
ported for 3.5.x.
It's a cool hack if you like to look at your total hits in a 24hr day from both members and guests.
1 PHP Modification to includes/cleanup.php
1 Template Mod. to Forumhome
1 Product Pluggin
Instructions and XML are in the zip.
I will support this hack but should be much trouble with it. Been running it since vB 2.2 I think.
When you first install this hack it will only track from the time the last sessions cleanup was completed. After a sessions cleanup it will start over or reset to 1hr again. Then track the hours in increments for 24hrs. Then clean out the sessions table and start over again. Sessions cleanups should normally occur at midnight.
This hack works if you remove the old code in the cleanup.php and replace it with the new information in the readme.
For information cleanout2.php dose not run hourly like implied in the cron tab. It is set for 5 min after midnight. Jelsoft set it that way and not sure why it is titled a hourly cleanup in the scheduled task. In any event it is needed to reset the script for the next day.
Good luck and I will do my best to answer any questions.
Thanks to Paul M. for pointing out a bug I kept overlooking.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
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 )
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 )
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*
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.