TCB
05-25-2006, 09:30 AM
There's a modification for vb3.0 where you can add a custom theadicon (image) for selected forums (topic (https://vborg.vbsupport.ru/showthread.php?t=90436)).
My whishes are a bit different though than the creator offered. So can anyone change the following code:
<if condition="$show['threadicons']">
<td class="alt2">
<if condition="$thread[forumid] == 7"><img src="http://www.mysite.com/images/forumdisplay/$thread[threadid].jpg" width="90" height="90"></if>
<if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
<else /> </if></td>
</if>
in the threadbit template so that:
* images (named $thread[threadid].jpg) are shown instead of threadicons in forumid's 7,9 and 12 (for example)
* threadicons are shown in all other forumid's
With my alterations it works a bit (except for the conditionals), but threadicons (or an  ) are also shown in the forums 7,9,12
Can anyone help me with these conditionals? Thanks a LOT :D
My whishes are a bit different though than the creator offered. So can anyone change the following code:
<if condition="$show['threadicons']">
<td class="alt2">
<if condition="$thread[forumid] == 7"><img src="http://www.mysite.com/images/forumdisplay/$thread[threadid].jpg" width="90" height="90"></if>
<if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
<else /> </if></td>
</if>
in the threadbit template so that:
* images (named $thread[threadid].jpg) are shown instead of threadicons in forumid's 7,9 and 12 (for example)
* threadicons are shown in all other forumid's
With my alterations it works a bit (except for the conditionals), but threadicons (or an  ) are also shown in the forums 7,9,12
Can anyone help me with these conditionals? Thanks a LOT :D