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 |
#132
|
||||
|
||||
then you have to play with <if>userfieldx</if> where x is the number off the useroption from "User Profile Fields" in admincp
|
#133
|
|||
|
|||
I forgot that I overwrote the addon. Thanks again.
Working fine! |
#134
|
|||
|
|||
If somebody moves a thread there is a X behind instead of the correct icon.
How can I correct that? Currently threadbit (from 1st line) looks like this: PHP Code:
|
#135
|
|||
|
|||
Doesnt work for me and now after installing this It wont let me make new posts. it keeps saying I didnt add enough characters when I have..
|
#136
|
|||
|
|||
is it working on 3.6.2?
|
#137
|
|||
|
|||
It would be very usful if members(select usergroups) could turn this feature on or off. I know there is a small mod to allow users to turn it on or off in there profiles etc. but what I mean is during the posting process.
The reason I say this is because there are times when an admin would like t o post a sticky in the forum(instructions or reminders) and the MOD assigns a no attachment icon instead of the default posting icon. Is this possible? |
#138
|
|||
|
|||
i think it would be cool if it does not show on the thread but will show the thumbs on mouse over only
|
#139
|
|||
|
|||
Has anyone gotten this to display on the actual forum home page. I must have searched VB.org for an hour tonight, simply looking for a way to post an icon on the main forum page for any forum I select.
Is this possible. Take a look at this forum, and notice the icon on the main forum on the main page, can anyone do this? Look here: http://www.inkjetgarmentprinters.com/forums/forums.html Notice a little ways down there are pictures of printers on some of the forums. Can anyone do this? |
#140
|
|||
|
|||
Anyone have this working on 3.6.4?
|
#141
|
|||
|
|||
It's working perfectly on 3.6.1, I don't see why it wouldn't do in 3.6.4 (I do the update today)
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|