The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi,
i tried this: <vb:if condition="$bbuserinfo['userid'] != 1,2,3"> but it doesn't work help? |
|
#2
|
||||
|
||||
|
what vb version are you using? You'll have to use in_array to get a T or F result, but the conditional syntax is different between vb3 and 4
|
|
#3
|
||||
|
||||
|
<vb:if condition="!in_array($bbuserinfo['userid'] , array(1,2,3))">
|
|
#4
|
|||
|
|||
|
im using VB 4.1.8
EDIT: THAANKS!! god bless you |
|
#5
|
|||
|
|||
|
<vb:if condition="!in_array($bbuserinfo['userid'] , array(1,2,3))">
for vb3? please... |
|
#6
|
|||
|
|||
|
That should work, just remove the vb: from the start of the tags names. (i.e. <if condition="...)
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|