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 |
#2
|
|||
|
|||
Try adding this inthe template:
Code:
$threadviews[tviews] |
#3
|
||||
|
||||
oh wow really lol, i cant believe it. i spent atleast a good hour on this and thats about the only way i didnt think to put it lol.
mind if i release this? and yes credit were go were its do =) |
#4
|
|||
|
|||
I don't need credit for answering questions like that. As for releasing it, I'd say it has more to do with whoever posted the original (I can't give you permission to use that, of course).
|
#5
|
||||
|
||||
well i got that from BooFoo and it wasnt ever a release it was just in a post like this helping someone i will make this in product form though and release it
|
#6
|
|||
|
|||
I think that will most likely be OK.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|