![]() |
Forum If Condition How?
How would i create a piece of html that would show only in 2 forums (ids) that would show a message? im no good at the conditionals.. is theer a list of them etc?
|
Code:
<if condition="in_array($forum['forumid'], array(X,Y))"> |
Use this instead:
Code:
<if condition="in_array($foruminfo['forumid'], array(X,Y))"> |
Can this be used to restrict certain user groups from seeing a link on the navbar by using $bbuserinfo['membergroupids']? If so, how? The code I tried did not work.
Code:
<if condition="in_array($bbuserinfo['membergroupids'], array('5,6,7,10')"> |
Can anyone help on this?
|
i would think that would work.. why not just try it?
|
I use this for the nav bar
Code:
<if condition="!$show['guest']">Link info here </if> |
Quote:
Can you comma seperate the usergroups if you have more than one? |
All times are GMT. The time now is 11:09 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:
|