2011-03-07, 04:58 AM
Hello all. I am using the following code below to hide content I want from guests.
<if $mybb->usergroup['gid'] == 2 || $mybb->usergroup['gid'] == 3 || $mybb->usergroup['gid'] == 6 || $mybb->usergroup['gid'] == 4 || $mybb->usergroup['gid'] == 12 then>
</if>
I know there HAS to be a smaller code because I used to use it but then I lost it. What it did, was displayed to every group except 1 (guests).
THanks!
<if $mybb->usergroup['gid'] == 2 || $mybb->usergroup['gid'] == 3 || $mybb->usergroup['gid'] == 6 || $mybb->usergroup['gid'] == 4 || $mybb->usergroup['gid'] == 12 then>
</if>
I know there HAS to be a smaller code because I used to use it but then I lost it. What it did, was displayed to every group except 1 (guests).
THanks!