RyanFabbro
11-25-2012, 04:21 AM
ok so a ran in to this old modification https://www.vbulletin.com/forum/showthread.php/14739-Release-VB2-Total-Thread-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
$threadviews = $vbulletin->db->query_first("
SELECT SUM(views) AS tviews
FROM " . TABLE_PREFIX . "thread
");
and he says to add
{vb:raw threadviews.tviews}
so using vb3 i added
$threadviews.tviews
to forumhome after
$vbphrase[members]: $numbermembers
but this only resulted with
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
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
$threadviews = $vbulletin->db->query_first("
SELECT SUM(views) AS tviews
FROM " . TABLE_PREFIX . "thread
");
and he says to add
{vb:raw threadviews.tviews}
so using vb3 i added
$threadviews.tviews
to forumhome after
$vbphrase[members]: $numbermembers
but this only resulted with
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