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 |
#102
|
|||
|
|||
I have managed to get this mod working in one forum only. I'm running 3.6.8. It works great in the ONE forum however every variation that I attempt to include another forum does not work. This mod only works in forum ID 81 so far
[CDATA[$tt_thumbsforums = array(78, 79, 81); <-- only forum ID 81 is affected [CDATA[$tt_thumbsforums = array(78,79,81); <---only forum ID 81 is affected EDIT: The above problem is caused by editing the thread-thumbnail-plugins with further forum ID numbers and re-installing it without first deleting the initial install of the plugin. I noticed duplicate installations of this plugin which alerted me to the problem. It works where I want it to now NB: If you don't want threads displaying the thumbnail (No Thumbnail Available) when there isn't one attached to that particular thread simply create another transparent image 100 x 20 or something similar and overwrite images/misc/nothumb.jpg with misc/nothumb.gif. It was the easiest solution for me. A thumbnail does show up but it's transparent & smaller and so isn't noticeable to the viewer. You will need to edit the threadbit template from nothumb.jpg to nothumb.gif for this to work. The instructions could do with some editing. If clearer installation instructions were provided then that might cut down on duplicating the necessity to answer peoples questions to do with the basic install. Clear uninstall instructions would be great too. I'd love for this mod to work for me in more than just one forum. If anyone could provide help with that I would appreciate it. EDIT: fixed |
#103
|
||||
|
||||
i'm getting the same as well
|
#104
|
|||
|
|||
Hi!
Can somebody tell me if it's this hack (thread thumbnail) that have been used to obtain this result on the following website? http://www.virusphoto.com/forum-photo.php thank you All i want is just to have icon with my forums (like on the website) i don't want thumbnail or a "no image" thumbnail front of threads |
#105
|
|||
|
|||
Quote:
|
#106
|
|||
|
|||
do you know what hack have been use on the link i gave please?
|
#107
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/showthrea...ght=forum+icon or https://vborg.vbsupport.ru/showthrea...ght=forum+icon (u can play around with this one to accomplished what u want) |
#108
|
|||
|
|||
thank you, im gonna check that
|
#109
|
|||
|
|||
is this working with vb 3.7 beta 6 ?
|
#110
|
|||
|
|||
Hi, I installed this mod which is great, but it only shows "No Thumbnail Available" also if there is an image attachment. I'm running 3.6.8 patch level 2.
Any suggestions how to solve this ? thanks! |
#111
|
|||
|
|||
Can someone post the extra code that goes in search.php, so I can add it to the newest search file... Or it'd be great if someone could completely update this for 3.7. It works for me on 3.7, even search if I use the file included, but it's out of date now. It'd be great for this to work with tags, too.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|