![]() |
Want views instead of posts
Can anyone tell me how to calculate totalviews of a forum - I want to put this on my forumhome instead of # of posts.
I see a lot of hacks with this included but there's so much other crap I don't want - can't I just get the $totalviews string from anywhere? thx alot |
Quote:
SELECT SUM(views) FROM thread; but that would cause a full table scan every time which if you have a lot of threads could be A Bad Thing?. |
Thx - where would I input that?
Basically I'd like to have a numeric value that will go into my forum home page. It can run every hour or so, not constantly. |
All times are GMT. The time now is 12:32 AM. |
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:
|