XF 1.4 Need to get thread views of an old thread

surfsup

Well-known member
#1
I need to get the thread views of a couple older threads, I can search and find the thread but have no way of finding that specific thread views. Unless I find it within the forum node section but dont have time to find it within thousands of threads...

Any other way?
 

Brogan

XenForo moderator
Staff member
#2
The simplest would probably be to check the record in the xf_thread table.

Or you can add this to the thread view template:
Code:
{xen:helper dump, $thread.view_count}
Actually, for a single value, this is easier:
Code:
{$thread.view_count}
Just add that to the template near the top and load the thread.
 
Top