View Full Version : using threadid as conditional in postbit
RedeemedWarrior
05-24-2009, 06:45 AM
hello
i'd like to use a thread id to display a certain item (image/text) in a certain thread only
say i wanted thread id 1234 to show an item how would i configure the conditional?:)
Lynne
05-24-2009, 03:36 PM
Did you try using $threadinfo['threadid'] as the variable? LIke:
<if condition="$threadinfo['threadid'] == 'xxxx'">
whatever
</if>
RedeemedWarrior
05-24-2009, 04:04 PM
umm tried it but didn't work :(
basically what i'm after is the ability to show a different avatar like image in certain thread(s)
it would be powered by profile fields
Lynne
05-24-2009, 04:17 PM
A list of variables to try (only put 'threadid' instead of 'forumid')
$forum['forumid']
$foruminfo['forumid']
$thread['forumid']
$threadinfo['forumid']
RedeemedWarrior
05-24-2009, 05:46 PM
<if condition="$thread['threadid'] == 'xxxx'">
whatever
</if>
worked perfectly!
thank you!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.