![]() |
more then 1 ID on "vb:if condition="$bbuserinfo['userid']"
Hi,
i tried this: <vb:if condition="$bbuserinfo['userid'] != 1,2,3"> but it doesn't work help? |
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
|
<vb:if condition="!in_array($bbuserinfo['userid'] , array(1,2,3))">
|
im using VB 4.1.8
EDIT: THAANKS!! god bless you |
<vb:if condition="!in_array($bbuserinfo['userid'] , array(1,2,3))">
for vb3? please... |
That should work, just remove the vb: from the start of the tags names. (i.e. <if condition="...)
|
All times are GMT. The time now is 01:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|