I would like to add something to the moderator bar that shows the number next to it (like on reported items) of how many new threads are in a specific forum. Any idea how to do this? This is the current Moderator bar template:
All I really need to do is find out how to do the alert number, any ideas?
Code:
<xen:if is="{$visitor.is_admin}">
<a href="admin.php" class="acp adminLink"><span class="itemLabel">{xen:phrase admin_control_panel}</span></a>
<xen:if is="{$session.permissionTest}">
<a href="{xen:link misc/reset-permissions}" class="permissionTest adminLink OverlayTrigger">
<span class="itemLabel">{xen:phrase permissions_from_x, 'name={$session.permissionTest.username}'}</span>
</a>
</xen:if>
</xen:if>
<xen:if is="{$visitor.is_moderator}">
<a href="{xen:link moderation-queue}" class="moderationQueue modLink">
<span class="itemLabel">{xen:phrase moderation_queue}:</span>
<span class="itemCount {xen:if {$session.moderationCounts.total}, 'alert'}">{$session.moderationCounts.total}</span>
</a>
<a href="{xen:link reports}" class="reportedItems modLink">
<span class="itemLabel">{xen:phrase reported_items}:</span>
<span class="itemCount {xen:if {$session.reportCounts.total}, 'alert'}">{$session.reportCounts.total}</span>
</a>
</xen:if>
<xen:hook name="moderator_bar" />
All I really need to do is find out how to do the alert number, any ideas?