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 |
#352
|
|||
|
|||
Let me clear some things up as it seems there is some confusion here.
Any original work is automatically copyrighted to the author. This means that you can not use the code he/she has written without permission from the original author. It doesn't change anything if the original coder has not been online for some time or does not respond to your inquiries. What you may do is: - Modifiy the modification yourself to suite your needs. You are not allowed to redistribute such a derived work without the original authors permission. - Create a new modification coded from scratch implementing the same idea. Such a self coded modification may be distributed at places of your choice. Quote:
|
#353
|
|||
|
|||
work in vB4 ?
|
#354
|
||||
|
||||
No it does not work with VB4.
|
#355
|
||||
|
||||
Not sure the policy is on "advertising", but since people here have been asking for a thread thumbnail mod for vB4 I'll just say that the thread thumbnail mod that I wrote for 3.8 is now ported over to vB4 and is available here.
|
#356
|
|||
|
|||
How can I get the thumbnails to preview only on a certain forum section been searched? Thanks!!
|
#357
|
||||
|
||||
Rare missfunction on our site.
We had it previously installed and worked properly for a long time. As no cacheable being xml, did slow down perfomance with old server, so decided to disable temporary. Now on new server, oopps !! doesn't work at all. Any error, any message, just not showing anything. (vB v3.7.3) Nullparameter's version 2.2 is not working either. Any suggestion ?? |
#358
|
||||
|
||||
I'd like to be able to show the images with this, too...is there any way?
|
#359
|
||||
|
||||
Can anyone tell me what I need to input into the templates to make the images show up in various locations, such as search.php etc?
|
#360
|
|||
|
|||
I would love this too. The ability to bring up the first thread of a thumb in search results would be awesome
|
#361
|
|||
|
|||
Just FYI, installed and working on vBulletin 3.6.12:
http://gridironfans.com/forums/latest-nfl-headlines/ |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|