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 ->
Any idea what type of conditional I need to add?
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 ->
Code:
<xen:if is="(isset({$user.is_staff}) AND {$user.is_staff}) OR (!isset({$user.is_staff}) AND ({$user.is_moderator} OR {$user.is_admin}))">