The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
displaying TOTAL thread views vB3.8?
ok so a ran in to this old modification https://www.vbulletin.com/forum/show...hread-Views?s=
which allows you to do total views on every thread together, but this method no longer works for the latest version of vB3 so is there anyway to get somthing like this working an example would be Stats: Threads: 12,354, Posts: 34,125, Members: 1284, Active Members: 734, Total Thread Views: 1,000,000 i would appreciate anything that gave me a result like this in vb3 thanks i have attempted this myself with BooFoo' (rip) method for vb4 i creatd a plugin on forumhome_complete Code:
$threadviews = $vbulletin->db->query_first(" SELECT SUM(views) AS tviews FROM " . TABLE_PREFIX . "thread "); Code:
{vb:raw threadviews.tviews} Code:
$threadviews.tviews Code:
$vbphrase[members]: $numbermembers Total Thread Views: Array.tviews i will play with this untill i get a reply, but it should be similar because the tables are the same |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|