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 |
#72
|
||||
|
||||
Quote:
My forum is here and U can see an example: http://www.forumocchisullanatura.it/...splay.php?f=40 M. |
#73
|
|||
|
|||
did anyone find out a correct way to eliminate the thumbnail if the thread doens't have thumbnail in it?
|
#74
|
||||
|
||||
Quote:
Here: <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> Put: <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /> so U have the normal icon. M. |
#75
|
|||
|
|||
Is it at all possible this would work on 3.6.5?
|
#76
|
|||
|
|||
Is it possible to take a thumbnail from the first youtube video posted in a thread?
As youtube has the thumbnails from the videos. http://img.youtube.com/vi/videoid/default.jpg |
#77
|
||||
|
||||
Hi guys,
instelled on 3.6.7 VBSEO installed as well. A few issues: 1- this features: * If there are attachments that are not images, it will skip them and go to the first image attachment. * Optional - you can now display thumbnails on search results. Are not working. 2- the search doesn't show any thumbnail. I mean when the search result it's a thread with thumbnail. 3- a thumbnail created from other images as [IMG] links or Youtube videos, could be very very very very great! 4- Doesn't show the No Thumbs Available picture, even if correctly uploaded in the server. Thanks in advance. Steve |
#78
|
|||
|
|||
This is working fine for me in 3.6.8.
Does anyone have any idea how to get the thumbnail to appear in the news module in vbadvanced as well? |
#79
|
|||
|
|||
Working fine for me to in 3.6.8 but I have a problem.
I want to disable the download attachments for unregistered users, but they get this: Its possible to show icons only for unregistered user? Ok, I found the solution here and works: https://vborg.vbsupport.ru/showpost....&postcount=113 |
#80
|
|||
|
|||
Where do I find the "threadbit template"??
|
#81
|
|||
|
|||
Works perfectly on a 3.68 testforum, I am very glad about this plugin, thank you!
Style & Templates, search in Templates and then just search for "threadbit" and click customize. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|