The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I am trying to create a template conditional that uses multiple conditions $bbuserinfo and $foruminfo displaying the content only if both conditions are meet.
Something like (i know good is incorrect but not how it should look) Code:
<if condition="is_member_of($bbuserinfo,x)" and condition="$foruminfo['0']>content</if> If that can?t be done I would still like to know how combine conditionals like this to only show things to certain usergroups in certain forums. Thaks in advance. |
#2
|
|||
|
|||
![]() Code:
<if condition="(is_member_of($bbuserinfo, x)) AND (THIS_SCRIPT == 'forumdisplay')">content</if> |
#3
|
|||
|
|||
![]()
Your on fire as always Opserty. Thanks. I will try that.
|
#4
|
|||
|
|||
![]()
Thanks
I ended up using Code:
<if condition="(is_member_of($bbuserinfo, x)) AND (THIS_SCRIPT == 'index')">content</if> Thanks again |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|