G_Gekko
09-04-2008, 07:56 PM
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)
<if condition="is_member_of($bbuserinfo,x)" and condition="$foruminfo['0']>content</if>
Ideally I would like the forum condition to be set so that the content is only shown if the page is question is not a forum ($foruminfo['0']?) but on the main page, CP, PM box etc.
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.
Something like (i know good is incorrect but not how it should look)
<if condition="is_member_of($bbuserinfo,x)" and condition="$foruminfo['0']>content</if>
Ideally I would like the forum condition to be set so that the content is only shown if the page is question is not a forum ($foruminfo['0']?) but on the main page, CP, PM box etc.
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.