The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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... |
#2
|
||||
|
||||
![]() Code:
<if condition="$bbuserinfo['field18'] && is_member_of($bbuserinfo, 5, 6, 7, 13, 18)"> |
#3
|
|||
|
|||
![]()
Works like a charm, thanks a lot!
|
#4
|
||||
|
||||
![]()
You're welcome.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|