• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

View thread - show counts

Hi, I cannot find any mention of this elsewhere, forgive me if there is already a post of how to achieve this.
I simply want to show the count of replies and views at the top of the thread view.

Forum view shows Replies and Views:

Thread view:

Include counts on same line as .. Discussion in 'Sevenoaks Chat' started ...

Forum www.SevenoaksForum.com is using Flexile and xenPorta.

Many thanks


Well-known member
Its not exactly what you are wanting - as they're not spaced out, but it should be good enough :).

Open the 'thread_view' template and add the markup in red.
{xen:phrase discussion_in_x_started_by_y_date_z,
'forum=<a href="{xen:link forums, $forum}">{$forum.title}</a>',
'name={xen:helper username, $thread}',
'date=<a href="{xen:link threads, $thread}">{xen:datetime $thread.post_date, html}</a>'}
{xen:phrase replies}: {$thread.reply_count} | {xen:phrase views}: {$thread.view_count}