The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Thread Thumbnail Details »» | |||||||||||||||||||||||||
This plugin is the newest version of the Thread Thumbnail plugin
This plugin will display the first attachment as a thumbnail on forumdisplay.php New Features:
Installation: In your AdminCP, go to Plugin System, Download/Upload Plugins and import the xml document. Be sure to change the forum ids in the $thumbsforums array to the forum ids you want to enable thumbnails in. The plugin comes with the Search Thumbnails enabled. If you do not want to have thumbnails show up in the search results, make sure you deactivate it. If you would like thumbnails to display in the search results, you will need to replace your search.php page with the one in the zip file. Unfortunately vBulletin forgot to include a hook variable where it is necessary for this to work. I have added 1 line to search.php with the hook variable. There is no way around this until vbulletin adds it themselves. Next you will need to modify your threadbit template: Find: Code:
<if condition="$show['threadicons']"> <td class="alt2"> <if condition="$show['threadicon']"> <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /> <else /> </if> </td> </if> Code:
<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.jpg" alt="" border="0" /> </if> <else /> <if condition="$show['threadicon']"> <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /> </if> </if> </td> </if> __________________________________________________ ___ Add-ons (Optional) UserCP option to turn the thumbnails on/off on a per user basis Go into your admincp and click User Profile Fields->Add New User Profile Field. Select "single selection radio buttons", click continue. For title put "Thread Thumbnails", for description put "This will allow you to turn the thumbnails of threads on and off." For options, enter "On" and "Off". Skip down to Display Page and choose "Options: Thread Viewing". In your threadbit template(assuming you already applied the template changes above): Find: Code:
<if condition="$tt_displaythumbs"> Code:
<if condition="($tt_displaythumbs) AND ($bbuserinfo['field5'] <> 'Off' OR $show['guest'])"> Show Your Support
|
Comments |
#332
|
|||
|
|||
Fixed!
Is there a way to exclude thumbs from certain forums in the search? |
#333
|
|||
|
|||
It's working with VB 3.8
if install this plugin here https://vborg.vbsupport.ru/showthrea...ight=thumbnail |
#334
|
|||
|
|||
Great work
but I have a problem, alone that I have not made, it is replace search.php , while I put id, it presents nothumbs pics in all forum in other words, it reads the id and shows thumb in particular forums, but in all rest, it presents nothumb. How I could have predetermined icons in rest forum, except of course from there that I have declared to it the id? I'm using vb 3.8.3 Any help ? Thanks |
#335
|
|||
|
|||
How can I see attachment in showthread, above postbit? Is there a variable I need to use?
Thanks |
#336
|
|||
|
|||
Hi,
at the moment the Thumbnail is shown in the thread, even if I have moderated attachments. Is there a possibility to show the thumb only for confirmed pictures? Regards Claus |
#337
|
|||
|
|||
Thanks, Included this on my 3.8 board as there isnt much else out there better right now .
|
#338
|
||||
|
||||
As of vB4 Beta 5 the thread thumbnail 'issue' still applies; there is no vB4 option anywhere to display on the forumdisplay.php thread listing the thread thumbnail next to the thread, nor in searches and/or tag searches. This truly befuddles me; why has this never been addressed; am I the only art forum out there with posted art attachments?
Well, anyhow, past the griping… Things have really changed in vB4 and this mod, at first glance, will NOT be readily interfacable into the new scheme of things that vB has mixed up. Gone, gone are the $dataquery, $items and stuff like that, the Hooks I believe is what they are/were called. So… At this point I can not see a way to incorporate this mod’s approach into the vB4 templates and php. Has anyone else had a gem of wisdom here as to how to proceed, once again, in finding a way in vB4 to display thread thumbnails of forum thread listings, search and tag search listings? Please let us know. Ciao, theOZer |
#339
|
||||
|
||||
hi thrOzer, i had to reply because you have help me with the best possible mod i have on my vb forums. i like my 3.8 and i don't think i'll be upgrading to the VB4 until this mod is there. thanks for letting all us know. phew.
good luck on your VB4 thumbnail issue. |
#340
|
|||
|
|||
Great mod, however does anyone know how I could stop this applying to sticky threads in the forum?
|
#341
|
||||
|
||||
I,
anyone Works on the VB4 Version? We Love this Addon, and we use it for a Marketplace |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|