![]() |
What is the correct way to write this conditional?
Hello I'm hving trouble writing a conditional in vbulletin:
<if condition="$bbuserinfo['field18'] AND $bbuserinfo[usergroupid] = 5,6,7,13,18"> What's wrong and how should I write it? Basically the comma's are OR... |
Code:
<if condition="$bbuserinfo['field18'] && is_member_of($bbuserinfo, 5, 6, 7, 13, 18)"> |
Works like a charm, thanks a lot!
|
You're welcome.
|
All times are GMT. The time now is 07:02 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:
|