XF 1.3 Staff Online Now (Per forum basis)


Active member
I wish to create Staff Online Now (Per forum basis).

So, I would use [bd]widget to create "Staff Online Now" widget on those forum.

But, how to limit it to only show staffs/moderators of those forum?

Currently, the conditional statement in [bd]widget ->
<xen:if is="(isset({$user.is_staff}) AND {$user.is_staff}) OR (!isset({$user.is_staff}) AND ({$user.is_moderator} OR {$user.is_admin}))">
Any idea what type of conditional I need to add?