The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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?. |
#3
|
|||
|
|||
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. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|