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 |
#252
|
||||
|
||||
Hello ricardoNJ,
This mod works in vB 3.7.3. |
#253
|
|||
|
|||
Hey, I installed it in my Vbulletin 3.7.4 and it works. I used only the thumbnail in posts function and not the search and tags options that mentioned in this thread. (***Installed and Nominated ***)
I wonder if we could find a way to make the plugin to search a little bit further into the posts of a thread and a) find an image thumb to use (deeper in the trhead) automatically If the first posts don't have any images. b) If the administrator (or in general we could have permissions for usergroups for yes/no to the thread-starters) is not happy with the automatic result, then he could be able to set what image the admin like through the image attachments of every posts in a thread (choose what he want by choosing the apropriate image attachment or even attach an external image). :-) Also..., because I have a forum for art (3D Modeling) and what I am searching for is a plugin that can do the below: 1. Admin should be able to "Special Rate a thread" (or better choose it via normal thread selection) and put it to an Thread Archive Spotlight that can be found in the forumhome.(something like the Recent album pics on forum home plugin, but instead of albums pics, I want to have threads and a thread thumbnail and when someone click the thumbnail, the forum should land him to the appropriate thread...!!! 2. If someone press the Archive link/button to the forum home (it should be one there for this kind of plugin), then, all the spotlighted threads history should appear as thumbnail board with titles above (or without titles), with several pages (for example we could have table of thumbnails of 5 Horizontal X 10 Vertical Thumbnails and number of pages...!!!) I am willing to pay for this kind of plugin for the thread Archive Spotlight. If everyone knows something I would like to hear it (PM me):-) |
#254
|
|||
|
|||
is there any newr version of this hack??
|
#255
|
||||
|
||||
None that I know of.
FYI: I posted that thread thumbnails would be a good enhancement to vB4.0 on vB.com's vB4.0 WishList forum (now a closed forum) and was notified that my request was deleted because there already was a request of that nature on their v4.0 list and, so...., maybe, just maybe, we'll see this simple, priceless thread thumbnail mod incorporated into vB's Version 4.0 base code. We will see. |
#256
|
|||
|
|||
Does this work for .png images?
|
#257
|
||||
|
||||
It should; the plugin checks for .jpg, .gif, and .png.
|
#258
|
|||
|
|||
Hi,
I have vb 3.7 version. From the Admin panel i tried to import/download the .xml file, but i am not able to do it. I am new to vb..so can you please tell me how do i get the xml file and then install the plugin. Thanks. |
#259
|
|||
|
|||
Hi,
I installed the plugin..but it is dispalying no thumbnails available file instead of showing the attachment. Please let me know what needs to be done..i am using 3.7.4 vb version. Thanks |
#260
|
|||
|
|||
Did somebody get the search results working with GARS header images
instead of attachment thumbnails? |
#261
|
||||
|
||||
indiawilds, I sent you a PM. Hope it helps.
Cocko, What is 'GARS header images?' Is that a person or a software package or...? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|