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 |
#262
|
|||
|
|||
Geek Article and Review System (GARS) LITE or the paid GARS
Header images are uploaded images from article / review authors which are shown in threadlists and stored by GARS but not vB attachment system. It would be interresting how search results from Thread Thumbnail and GARS get together. |
#263
|
||||
|
||||
Cocko,
I got on thevBGeek forum; this GARS Module update/whatever has yet to be written by them; the vB3.5.3 GARS LITE Version 1 on vB.org doesn't contain the threadblock.php file. Get me a copy of this threadblock.php and I'll see if I can figure out how to incorporate this into displaying uploaded images in vB. I probably can't help you here, but, we will see. |
#264
|
||||
|
||||
Howdy!
I upgraded 3.7.4 from 3.6.8 and I can't get Thread Thumbnail to work. Thread Thumbnails worked great with 3.6.8. Is it something I might be doing wrong or is it not compatible with 3.7? Thanks James |
#265
|
||||
|
||||
James,
Yes, this mod works in vB3.7.4, also in vB3.8.0 betas & RC1. After reverting your threadbit template(s) to vB374 did you re-add the thread thumbnail code to the threadbit template(s)? The threadbit template IF statement you need to update is a bit different from vb3.6.8's threadbit template but you should be able to figure it out, where to add Jason's TT code. If you have the 'Thread Thumbnail - Search' plugin turned ON - Did you add the TT code to the vB3.7.4 search.php file? (see Post # 112 on Page 8, the change also applies to vB374) If you have the 'Thread Thumbnail - Tag Search' plugin turned ON - Did you add the TT code to the vB3.7.4 tags.php file? (see Post # 169 on page 12, this change also applies to vB374) I have a bit lengthy (too lengthy to post) write up on installing just the forum Thread Thumbnails mod. I can PM you it if you're interested. Regards, theOZer |
#266
|
|||
|
|||
Hi,
I am using vbulletin 3.7.4 version. I have enabled the display thumbnails option for viewing thumbnails in the thread by using the hack thread thumbnails. I have also enabled the view image inline to view full images in the posts. I want the attachment to be seen as a full image instead of a thumbnail in the posts. Please let me know how i can see both the thumbnails and the attachments. Thanks |
#267
|
|||
|
|||
Hi,
After using this plugin i am able to see the thumbnails in the thread, with the display thumbnail option set to 'yes', but by doing that the attachments also appear as thumbnails. so can you please suggest a way out in which i am able to see the thumbnails as well as view the attachments in line in the posts. really need your help in this. Thanks. |
#268
|
|||
|
|||
Quote:
|
#269
|
|||
|
|||
I have recently installed this mod, which seems to be working quite well, but for some reason when I go into the Quick Links >> New Posts, a bunch of code is displayed and it doesn't give me any of the new posts within the forum. Did I do something wrong? I do not have the thumbnail search enabled either, could that be it?
|
#270
|
||||
|
||||
StormLily,
The Thread Thumbnail - Search plugin is installed as 'Active' along with the forum Thread Thumbnail plugin when you do the install. If you have not also tweaked Search.php, adding Jason's code, you will get database errors when you do a New Post search. You need to go into Plugin Manager to turn plugins On/Off, to turn this plugin Off, if applicable. Does this help? OZ |
#271
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|