![]() |
Conditional in template
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. |
Code:
<if condition="(is_member_of($bbuserinfo, x)) AND (THIS_SCRIPT == 'forumdisplay')">content</if> |
Your on fire as always Opserty. Thanks. I will try that.
|
Thanks
I ended up using Code:
<if condition="(is_member_of($bbuserinfo, x)) AND (THIS_SCRIPT == 'index')">content</if> Thanks again |
All times are GMT. The time now is 02:18 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:
|