The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Images in thread bit (what's wrong?)
Hello,
I want to show in some foruns ids a thumbnail on threadbit. This is the code I'm being using that refers to this mod: https://vborg.vbsupport.ru/showthread.php?t=158396 Threadbit template HTML Code:
<!-- Imagem Thumbnail --> <if condition="$show['threadicons']"> <td class="alt2" align="center" valign="middle"> <if condition="$tt_displaythumbs"> <if condition="($thread['attachmentid']) AND ($thread['thumbsize'])"> <a href="showthread.php?$session[sessionurl]t=$thread[threadid]"> <img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" alt="" border="0" /> </a> <else /> <img src="$stylevar[imgdir_misc]/nothumb.gif" alt="" border="0" /> </if> <else /> <if condition="$show['threadicon']"> <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /> </if> </if> </td> </if> <!-- End of Imagem Thumbnail --> PHP Code:
|
#2
|
|||
|
|||
Don't forget you need to reset [minicode]$tt_displaythumbs[/minicode] to [minicode]false[/minicode] when the forumid is not in the array. Else it will just remain [minicode]true[/minicode]...
|
#3
|
|||
|
|||
Thank you very much.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|