![]() |
vBulletin 4.2.2 Conditional terms in templae
Hey guys,
I would like to set a condition so few members id can see the content of the code. I know this code: <vb:if condition="$bbuserinfo['userid'] == 667"></vb:if> How do i set for more users? 667, 779, 499 for example? |
You could use:
HTML Code:
<vb:if condition="in_array($bbuserinfo['userid'], array(667, 779, 499))"> |
Perfecto!
Thanks alot! |
All times are GMT. The time now is 09:13 AM. |
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:
|