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 |
#232
|
|||
|
|||
I dont think this mod has anything to do with the error I am getting...thanks!
|
#233
|
|||
|
|||
I have A Problem.
I have install this Hack. And replace the ID. Now i can see the image "no Thumbnail avaliable" but how can i replatze this image with a picture in a thread? what musst i do? |
#234
|
||||
|
||||
Diniska,
This plugin will ONLY display a thumbnail for the FIRST post of a thread, and, ONLY an image posted as an attachment, using Manage Attachments, will show as a thumbnail picture. Posts with Image INSERTs and LINKs won't show as thumbnails in the post nor as thumbnails in this plugin. I hope this helps answer your question. ~OZ |
#235
|
|||
|
|||
Ok after deleting every mod one by one because I was getting a search error link can be found below
https://vborg.vbsupport.ru/showthread.php?t=189322 I deleted this Mod last and guess what everything worked! Now I reinstalled every mod but this one and my search is still working. What is causing this? |
#236
|
||||
|
||||
Shmaba,
If you have the 'Thread Thumbnail - Search' plugin turned on then you HAVE to modify search.php, adding the TT code, or New Posts and/or regular searches will bomb with database errors. End of chat here. See Post # 228 this page which references other posts that no one seems to read that could possibly have the answer to your question hidden away somewhere in them. ~OZ |
#237
|
|||
|
|||
How do you turn if off?
|
#238
|
|||
|
|||
Quote:
|
#239
|
|||
|
|||
anyone anyone? Bueller? Anyone.
|
#240
|
||||
|
||||
Go to the Plugin Manager screen (AdminCP > Plugins & Products > Plugin Manager):
For the ‘Thread Thumbnail – Search’ plugin: Disable (uncheck the Active box) OR Delete the ‘Thread Thumbnail – Search’ plugin (REQUIRES REINSTALL IF YOU EVENTUALLY DECIDE TO USE THIS PLUGIN!!) Then, do a Save Active Status. |
#241
|
|||
|
|||
Quote:
So for example if you want to exclude forum 3 and 5, it'd look like this $tt_thumbsforums = array(3,5); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|