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 |
#92
|
|||
|
|||
I have a problem with this plugin...
The option for the users can turn off/on the images dont work, if you select no, the thumbails stills shows. And I have the unregistered users gruop without permissions to download attachments, but when they see the forum like a guest the thumbails shows the x error... The only way is give to guests permissions so can download / view attachments. I would like a option so the guests can see the thumbails threads, but when they go into the thread, dont let they see and dont cant download the attachment if they not register first. Thats is possible to do editing the code? Excuse my english but im from Spain, I have the 3.5.4 version. |
#93
|
||||
|
||||
I'm investigating a method of displaying the LAST attachment the thread ORGINAL POSTER uploads to display on forumdisplay.
Would anyone know how to modify the code to do this? Show the LAST ATTACHMENT made to the thread FROM the ORGINAL thread CREATOR. Any help would be appreciated. Aceman |
#94
|
|||
|
|||
Guys what am I missing here? I went to upload the plugin and it came back with: XML Error: not well-formed (invalid token) at Line 1
|
#95
|
|||
|
|||
Awesome hacvk, anway to make it work only in certain forums?
|
#96
|
|||
|
|||
Hi,
I detect a new bug, if we move a thread to other forum or subforum, the defect redirect link of the move thread shows a diferent thumbs and thats only registered users, the unregistered users see x error... Some help please? I like so much this plugin |
#97
|
|||
|
|||
Great hack, thanks, installed and work well
|
#98
|
|||
|
|||
Quote:
I didnlt see thumbnail and when I go to enable plugin and then it work admin CP > Enable Plugin/Hook System |
#99
|
||||
|
||||
thanks, nice mod
|
#100
|
|||
|
|||
I'm also looking for the original 3.0.x feature that display the last image attached to the original post, which is used as the thread thumbnail.
It was a very cool systeme.. you upload all the images you want (then, the vb will create the thumbnail) and then, you can, if the user want, upload a 100x100 picture (which is the size of my Thread thumbnail) and it was -always- this image which was used as the forum thumbnail. If I'm not wrong, it was not a part of the original hack in 3.0.x, but an edit made by someone else in the hack thread. |
#101
|
|||
|
|||
Found the post: https://vborg.vbsupport.ru/showthrea...660#post586660
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|