![]() |
<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.
|
HTML Code:
<if condition="in_array($userinfo[usergroupid], array(5,6,7)"> |
Not working.
|
<if condition="$bbuserinfo['usergroupid'] == 6 || $bbuserinfo['usergroupid'] == 7 || $bbuserinfo['usergroupid'] == 8">
//content </if> |
A friend helped me out, this is the one that I used.
<if condition="in_array($userinfo['usergroupid'], array(2,17))"> </if> |
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. |
Code:
<if condition="!is_member_of($bbuserinfo, X, Y, Z)"> |
All times are GMT. The time now is 01:38 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:
|