How to add forum count

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

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

Jake Bunce

XenForo moderator
Staff member
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.