PDA

View Full Version : Codings in Thread Thumbnail add-on.


kyokushin4life
05-27-2007, 01:28 AM
Hi guys, I have been installing this add-on "Thread Thumbnail", and I have got it working.

https://vborg.vbsupport.ru/showthread.php?t=98651&page=7

But the thread thumbnail is not displaying for Guests(not logged in), I want the thumbnails to be shown for guests as well.


<if condition="$show['threadicons']">
<td class="alt2" align="center" valign="middle">
<if condition="($tt_displaythumbs) AND ($bbuserinfo['field7'] <> 'Off' OR $show['guest'])">
<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.jpg" alt="" border="0" />
</if>
<else />
<if condition="$show['threadicon']">
<img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
</if>

I believe that the text in red is the fishy part where I can modify to be able tos how the thumbnails to guests...

Could somebody tell me what neededs to be changed in this code to be able to show th thumbnails to guests? usergroupid = 1??

THank you.

darn it! i can't seem to get this working... a little help needed here.. >_<

Dismounted
05-27-2007, 06:33 AM
<if condition="$tt_displaythumbs AND ($bbuserinfo['field7'] != 'Off' OR $show['guest'])">

kyokushin4life
05-27-2007, 07:09 AM
Dismounted, how can I thank you. :)

https://vborg.vbsupport.ru/showthread.php?t=98651&page=11