The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Thread Thumbnail Details »» | |||||||||||||||||||||||||
The new version is available here.
This plugin was based on Thumbnail of Attachments on forum display by Dechevious(I hope its alright with you) It is mostly the same converted to the new 3.5 hook. I also fixed the "If the attachment is not an image, a thumbnail will not be shown" problem. Note: This plugin works in v3.68 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. 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 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 |
#62
|
|||
|
|||
Quote:
Miguel |
#63
|
|||
|
|||
Quote:
You have to have thumbnails enabled on vbulletin. Is there any way to do this WITHOUT having thumbnails enabled? I still want to be able to view attachments full size. Or at least only enable thums in a certain forum? You may want to add to your instructions that one MUST have thumbnails enabled in their VB options. I've been messing with this for days...LOL Thanks, Miguel |
#64
|
|||
|
|||
is it possible to load thumbnail from [img] tag of the 1st post?
|
#65
|
|||
|
|||
I just installed it today. I used to use it on my 3.0.x forum. Now I upgraded my forum to 3.5.3. I followed every instructions. But some of the thumbnails are not showing. some of them showing nothumb image even though it has thumnails. Please help somebody. Here is my forum url http://www.banglatorrents.com/forumdisplay.php?f=33
thanks in advanced. |
#66
|
|||
|
|||
I have installed hacks before but I can not get this one to work... I am installing this on a 3.5.3 board and have checked, rechecked and looked at all the settings. I can not find anything that would not allow it to work.
No thumbnails showing up for me... Can someone help me please... thank you! |
#67
|
|||
|
|||
Okay update... well in all my work on the thumbnail hacks, I had uploaded a 'nothumb.gif as oppsed to the .jpg it was looking for... so that image is working...
|
#68
|
|||
|
|||
I got it working guys, thank you... sorry for the false alarm.
|
#69
|
|||
|
|||
Quote:
|
#70
|
|||
|
|||
How can I show the differrent attachmentid as preview ? Like now it's showin only for the first attachment. If the first one is not thumbnail it doesn't show the preview. I have different attachment type in a thread. That's why it's not working properly. Please somebody tell me where can I change that.
|
#71
|
|||
|
|||
There is a BUG in this MOD. This bug was in the previous version as well.
If the first attachment is not an image file, it will not show the thumbnail. I believe you'll have to do a query to solve this issue. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|