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

How to add forum count

#3
I do not want a add-on, I just want the code added :

Code:
 <dl class="discussionCount"><dt>hacks:</dt>
                        <dd>{$forum.........=== MY FORUM ID}</dd></dl>
 

Jake Bunce

XenForo moderator
Staff member
#4
The problem is that you need access to the message_count for the forum.

I actually tried to make this work without an addon before I replied. The $renderedNodes are available on the index page, but they are rendered forums not forum records. You can't index into them and access the counts for individual forums. An addon is required to get the count for use in the sidebar.