The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
<if condition=> question.
Hi, I'm looking for an "<if condition="> command that I can use to display a link to everybody but 3 groups.
|
#2
|
|||
|
|||
HTML Code:
<if condition="in_array($userinfo[usergroupid], array(5,6,7)"> //show </if> |
#3
|
|||
|
|||
Not working.
|
#4
|
|||
|
|||
<if condition="$bbuserinfo['usergroupid'] == 6 || $bbuserinfo['usergroupid'] == 7 || $bbuserinfo['usergroupid'] == 8">
//content </if> |
#5
|
|||
|
|||
A friend helped me out, this is the one that I used.
<if condition="in_array($userinfo['usergroupid'], array(2,17))"> </if> |
#6
|
|||
|
|||
ok but i wanna to warning that sometimes it is have errors ad it is show the content to the other usergroups
but with my way it is ok it is with no error. |
#7
|
||||
|
||||
Code:
<if condition="!is_member_of($bbuserinfo, X, Y, Z)"> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|