The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I want the code below to be seen by two user groups - Guests (1) and Adminsitrators (6)
Code:
<if condition="$bbuserinfo[usergroupid] == 1"> MY TEXT HERE </if> I tried the code below but it didnt work Code:
<if condition="$bbuserinfo[usergroupid] == 1,6"> MY TEXT HERE </if> Saurav |
|
#2
|
|||
|
|||
|
This should work.
Code:
<if condition="is_member_of($bbuserinfo,1 OR 6)"> YOUR TEXT HERE </if> |
|
#3
|
|||
|
|||
|
Code:
<if condition="is_member_of($bbuserinfo, 1, 6)"> YOUR TEXT HERE </if> |
|
#4
|
|||
|
|||
|
Thanks. I will try them later.
|
|
#5
|
|||
|
|||
|
Oh forgot to mention the code posted in Post #2 is incorrect.
|
|
#6
|
|||
|
|||
|
Yours worked perfectly, thank you
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|