ade_dnb
10-23-2008, 06:47 PM
<if condition="is_member_of($bbuserinfo, array(5, 6, 7, 9, 11))">
<if condition="in_array($forumid, array(6,7,8,9,61,63,64,46,47,62,60,48))">
<td class="alt1" align="center"><if condition="$threadinfo['threaduserid'] == $bbuserinfo['userid']"><a href="bumpthread.php?t=$thread[threadid]"><img src="images/misc/bump.gif"</img></a><else /> </if></td></if></if>
Can somebody tell me what im doing wrong with this piece of code?
What im trying to do is show a link with an image to thread owners that are to the usergroups listed (the first condition) in the forums listed (the second condition). The first piece works fine. Its when I add <if condition="$threadinfo['threaduserid'] == $bbuserinfo['userid']"> it doesn't work. Is $threadinfo['threaduserid'] not a valid conditional?
I am trying to use this in the threadbit template.
<if condition="in_array($forumid, array(6,7,8,9,61,63,64,46,47,62,60,48))">
<td class="alt1" align="center"><if condition="$threadinfo['threaduserid'] == $bbuserinfo['userid']"><a href="bumpthread.php?t=$thread[threadid]"><img src="images/misc/bump.gif"</img></a><else /> </if></td></if></if>
Can somebody tell me what im doing wrong with this piece of code?
What im trying to do is show a link with an image to thread owners that are to the usergroups listed (the first condition) in the forums listed (the second condition). The first piece works fine. Its when I add <if condition="$threadinfo['threaduserid'] == $bbuserinfo['userid']"> it doesn't work. Is $threadinfo['threaduserid'] not a valid conditional?
I am trying to use this in the threadbit template.