The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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?
|
|
#2
|
||||
|
||||
|
Did you try using $threadinfo['threadid'] as the variable? LIke:
HTML Code:
<if condition="$threadinfo['threadid'] == 'xxxx'"> whatever </if> |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
A list of variables to try (only put 'threadid' instead of 'forumid')
$forum['forumid'] $foruminfo['forumid'] $thread['forumid'] $threadinfo['forumid'] |
|
#5
|
|||
|
|||
|
<if condition="$thread['threadid'] == 'xxxx'">
whatever </if> worked perfectly! thank you! |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|