The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Thread and post views in the Admin statistics
Is there anyway to add total Thread and Post views in the Admin statistics area or anywhere else?
And if so by the day? Is there something already for that I have missed in a search? Would be nice so I don't have to click on every forum to see the views count. I want to be able to see daily what posts are getting the most views. Is this possible? Jon |
#2
|
||||
|
||||
You wouldn't be able to do views by day, no. vBulletin doesn't store views by day, just a running total of views. You'd be better off tracking things in Google Analytics. The views do not exclude bots anyway.
You could run a query to get the most viewed threads ever though: Code:
SELECT thread.title, thread.replycount, thread.views, forum.title AS forum FROM thread LEFT JOIN forum ON thread.forumid = forum.forumid ORDER BY thread.views DESC; |
#3
|
|||
|
|||
Ok the query is better then nothing. I loath Google but may activate it.
Big thanks --------------- Added [DATE]1403737784[/DATE] at [TIME]1403737784[/TIME] --------------- BTW is there anything special you must do to set up Google Analytics on the forum? |
#4
|
||||
|
||||
No prob! If you want to view thread traffic by forum you have to add some conditions into the ga code. I'm not sure how it works with the latest code though. If you have any DBSEO or vbSEO then things are a little easier to segregate by URL.
--------------- Added [DATE]1403746302[/DATE] at [TIME]1403746302[/TIME] --------------- oh and you could use that query with a date range to get threads that have been started between those dates: Code:
SELECT thread.title, thread.replycount, thread.views, forum.title AS forum FROM thread LEFT JOIN forum ON thread.forumid = forum.forumid WHERE dateline > UNIX_TIMESTAMP('YYYY-MM-DD') AND dateline < UNIX_TIMESTAMP('YYYY-MM-DD') ORDER BY thread.views DESC |
#5
|
|||
|
|||
Yep, Yep ... Good Advice!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|