P Paul B XenForo moderator Staff member Jan 22, 2015 #2 You would need to edit the template and wrap the content in a conditional statement. Upvote 0 Downvote
Adam K M Active member Jan 23, 2015 #3 @Newt, the conditional you would need is: HTML: <xen:if is="{$visitor.is_admin} OR {$visitor.is_moderator}"> This content will show to Administrators and Moderators </xen:if> This was taken straight from this great resource. Upvote 0 Downvote
@Newt, the conditional you would need is: HTML: <xen:if is="{$visitor.is_admin} OR {$visitor.is_moderator}"> This content will show to Administrators and Moderators </xen:if> This was taken straight from this great resource.
P Paul B XenForo moderator Staff member Jan 23, 2015 #5 You could also use $visitor.is_staff. Upvote 0 Downvote
Newt Active member Jan 23, 2015 #6 Brogan said: You could also use $visitor.is_staff. Click to expand... Does this code work for any staff member or only those in the staff usergroup and not the admins or moderators? Oh and can I remove the staff's user info for everyone? I think it would be something in extra.css since there is no conditional involved? Upvote 0 Downvote
Brogan said: You could also use $visitor.is_staff. Click to expand... Does this code work for any staff member or only those in the staff usergroup and not the admins or moderators? Oh and can I remove the staff's user info for everyone? I think it would be something in extra.css since there is no conditional involved?
P Paul B XenForo moderator Staff member Jan 23, 2015 #7 It's not user group related, it's related to this setting: If that is unchecked, is_staff will be false. Upvote 0 Downvote
It's not user group related, it's related to this setting: If that is unchecked, is_staff will be false.