<xen:if is="{$user.is_staff}">
<xen:if is="{$user.is_staff} OR {xen:helper ismemberof, $user, 2}">
<xen:if is="{$user.is_moderator} OR {$user.is_admin}">
<xen:if is="{$user.is_moderator} OR {$user.is_admin} OR {xen:helper ismemberof, $user, 2}">
Its a find and replace.If i use the first set of code do I not change anything?
I got to appearance then templates right?Since you are on 1.1.5, in the same template find:
Code:<xen:if is="{$user.is_moderator} OR {$user.is_admin}">
Replace with:
Rich (BB code):<xen:if is="{$user.is_moderator} OR {$user.is_admin} OR {xen:helper ismemberof, $user, 2}">
Still change the number to suit your needs.
Its a find and replace.
okay then what do I replace the 2 with? (color red)ACP -> Appearance -> (Style you want to modify) -> Templates -> sidebar_online_users (use the search in the top right of the table)
Okay can I keep adding OR with that same line of code but a diffrent number?A user group ID. Go to:
ACP -> Users -> User Groups -> (Group you want to show up in staff online)
The URL will include the ID. An example (with ID highlighted) is:
user-groups/moderating.4/edit
Replace 2 with that ID.
I would use 1.2 but the theme that I want isn't updated for 1.2In 1.2 members can be set as staff via a checkbox on their profile in the ACP.
I have no idea how styles workIf it's not compatible, you can make it compatible for 1.2 yourself if you know how styles work.
We use essential cookies to make this site work, and optional cookies to enhance your experience.