Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Acmlmboard support?.
Acmlm's Board - I2 Archive - Acmlmboard support? - Last Views | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
VGFreak877

Buzz Blob
Level: 28

Posts: 63/294
EXP: 123189
For next: 8149

Since: 03-15-04
From: Hillsborough, NH

Since last post: 60 days
Last activity: 1 hour
Posted on 03-19-04 02:51 AM Link | Quote
Is there a way that I can put "X views during the last day, X during the last hour" just like the posts line? I know it required inserting a new MySQL table -- but can it be set up the same way as the posts?
Acmlm

Torosu
heh
Level: 51

Posts: 204/1173
EXP: 981994
For next: 31944

Since: 03-15-04
From: Somewhere that isn't outside of Sherbrooke, Québec, Canada

Since last post: 39 days
Last activity: 3 hours
Posted on 03-19-04 02:55 AM Link | Quote
It's very well possible, it would just need to track all the views (at least up to 24 hours ago, as keeping them all would just make the table grow huge) ...

There's already something new in stats.php that lists the totals for every day, though, and that includes the view count
Tuvai
Permanently banned for account hacking.
Level: 24

Posts: 79/211
EXP: 74894
For next: 3231

Since: 03-15-04

Since last post: 566 days
Last activity: 339 days
Posted on 03-19-04 02:55 AM Link | Quote
With the default AcmlmBoard, you can't since the views are just stored as a number, increased every time a person views a page.

A possible way would be to make a new table, and instead of updating a number every time, add a new record (which would be best if it would just be a date). When you have that it's just a matter of executing a right quey to find out how many of those records are from the last day, last hour, and you name it.
ErkDog

Fuzz Ball
Level: 47

Posts: 65/982
EXP: 752190
For next: 14013

Since: 03-15-04
From: Richmond, VA

Since last post: 40 days
Last activity: 19 days
Posted on 03-19-04 03:11 AM Link | Quote
you could easily get an average per day or hour

by dividing your total...

although Acmlm doesn't track user specific views like I do......

but getting it for the LAST hour, and LAST day would require timestamps and such....

and would require a HUGE table of temporary data..... like guests...but there would be an entry for EACH view you had....

just reading and replying to a thread is like 6 views by itself....

so if you have 50 people online... that's 3000 records... just from each of them looking at 1 thread..... that table would be huge in 5 minute... much less... a DAY.....
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Acmlmboard support? - Last Views | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.006 seconds.