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

Another Conditional - Mod queue and Reported

Discussion in 'XenForo Questions and Support' started by Russ, Sep 19, 2012.

  1. Russ

    Russ Well-Known Member

    Is there a conditional to only show the mod queue/reported items if there's actually an item to show?

    Basically if there's no queue or reported item I'm wanting to hide that.

  2. Arty

    Arty Well-Known Member

    Edit moderator_bar.html. At the beginning of file add
    <xen:if is="{$visitor.is_moderator} and ({$session.moderationCounts.total} or {$session.reportCounts.total})">
    and at the end of file add
    Russ likes this.

Share This Page