![]() |
total thread views
In statistics on bottom of page it shows like total threads, and total posts. Is there a way to show total thread views?
|
Yes, but you would have to run a query to get that info.
|
Is that hard to do?
|
Not at all. I do it for my forumhome stats cache mod on my site. Here is the query I use:
PHP Code:
|
does this take a lot of server usage? and sorry im such a nub lol where do i input the query?
|
You would put it in the forumhome_complete hook as a plugin and use {vb:raw threadviews.tviews} in the forumhome template where you want it to show. Make sure you pre-regsiter the variable in the forumhome template.
|
Is it possible to make the total thread views appear only on specific forums?
https://vborg.vbsupport.ru/external/2012/01/49.png Like for it to count the total views that the individual threads get, not the forums. :P http://mypokerhub.com/forumdisplay.p...y-Poker-Hub-TV is the link to the page i want to display total views. |
All times are GMT. The time now is 09:00 PM. |
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:
|