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 |
#12
|
|||
|
|||
thank you nice work
|
#13
|
|||
|
|||
Thanks a lot. I was waiting for this for a long time. Is there a way to show thumbnails to unregistered users ?
|
#14
|
|||
|
|||
WOW this looks awesome, I will need to have a good look at this one for sure. Thanks.
|
#15
|
|||
|
|||
Quote:
And in the original hack of the thread thumbnail, if an attached image (I mean an image which is equal or less the size of the thumbnail size) and and attachement which is a full size image, the hack display in the threadlist only the attached image and not the thumbnail of the full size image. If no attached image, then, it's the thumbnail which is display. It's the exact behavior of the original hack. Anyway, the current one is better than the previous one, thank you for your update! PS: if you don't understand what I mean, I can show you some sample on my own forum |
#16
|
|||
|
|||
Im not sure why mine isn't working. Using vb 3.6.7pl1.
|
#17
|
|||
|
|||
The only problem with the search thumbs is if you don't use thumbs in all forums you get a load of no thumb available. Could you not make it so it would only work if someone is searching a section that has it active?
|
#18
|
||||
|
||||
I'll definitely install this when I have the time. Thanks anyway!
|
#19
|
||||
|
||||
is there anyway that it uses the image that users posted via [img] tag ??
|
#20
|
|||
|
|||
nnjj.net:
I'm not sure what you mean. Do you just want to show an empty space instead of the "no thumbnail" image? theOzer: Yes you will need to delete the old plugin first. If there is an alternative standard with other plugins, please let me know. I will look into the new posts page. It should not be difficult. b65ran: Unregistered users see the thumbnails by default. ThomasR: Please send me a link, and I will take a look at it. rayphua: If you installed the plugin correctly, be sure that you inserted your forum ids into the 1st line of the plugin. Peterpigman: I will look into it, possibly by next weekend. Mecho: Unfortunately that would require a larger plugin. As the images would need to be searched for and resized on the fly. I have a few projects at the moment, so I don't know how soon I can start working on it. I will let you if any progress is made. |
#21
|
|||
|
|||
Will this work without globally enabling image thumbnailing? I want to view the full sized image attachments within threads but would like to use this mod.
Any ideas how I can do this? Thanks! |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|