PDA

View Full Version : Usergroup Condition


Mastar
01-27-2011, 10:38 PM
How do I write a condition for a group?

If a user is in admin group or supermod group show this.

<vb:if condition="$groupid['1']">

??

--------------- Added 1296179691 at 1296179691 ---------------

or Using usergroup conditions
<vb:if condition="$usergroupid['1']">

--------------- Added 1296181351 at 1296181351 ---------------

I tried:
<vb:if condition="is_member_of($bbuserinfo, 5,6)">
and
<vb:if condition="$bbuserinfo['usergroupid'] == 6">
but nothing

borbole
01-28-2011, 12:03 PM
Have a look at this article here:

https://vborg.vbsupport.ru/showthread.php?t=231525

P.s What is it exactly that you are trying to do?

Mastar
01-28-2011, 08:03 PM
Members of Admin, Supermod and Mod to have an image show under their name for everyone on the board to see!

Mastar
02-11-2011, 01:54 PM
I want to display an image under any member of admin usergroup so anyone can see it!