Trombones13
Well-known member
This thread will kinda make it obvious (my surprises are always ruined by questions! ), but I'm working on a little tweak to show the number of users "Awaiting Approval" in the moderator bar. However, I can't figure out how to make the count for the number of users awaiting approval to appear on the frontend. I presume it's something similar to this, which is the display/count for reported items on the moderator bar:
However, I don't know what the class and itemCount conditional should be set to instead of reportCounts. Is this going to require a file change, or is it just a matter of having the correct class in the code?
Code:
<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>