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 |
#342
|
||||
|
||||
Quote:
not sure how much you've done, but it only requires a couple simple changes to the plugin and adding some code to the threadbit template.. |
#343
|
||||
|
||||
bobster65,
That's great news. Could you share what you've learned with the rest of us? The 'a couple simple changes,' the 'and adding some code code to threadbit.' Sounds good and I would love to know how you did it. ~OZ |
#344
|
|||
|
|||
Does it work with vbAdvanced CMPS?
|
#345
|
||||
|
||||
Did the Author give you permission to take this over or port it to vb4? If not, I can't just post a vb4 version of this without his consent. If he did, then let me know.
|
#346
|
||||
|
||||
Thx for you help; what part of Jason Merchant does not support this mod AND HASN'T SINCE HE RELEASED IT and everyone else who uses it has tried to pick up the slack isn't kosher with you?
I did NOT know there was some code of ethics here? And, stop quoting; any one following this thread can look up at the post above the current post to 'get the drift.' Ciao, Dennis "theOZer" Osborne |
#347
|
||||
|
||||
Quote:
I am MORE than willing to create a new Mod for vb4, hell, I was going to just give YOU the code so that you could post it as a new mod and support it, but wow with the attitude. NOT the response I thought I'd get, but then again, it doesn't surprise me here anymore. |
#348
|
||||
|
||||
Sorry.
I apologize. I'll figure it out on my own. And, if I succeeed, I'll share my success with every one that has been following this mod and using this mod and needing the thumbnails to show in their forums. And, I tried to contact this Jason Merchant. He did not respond. I tried to contact vB.org on how I could help or take over supporting this mod but, also here, I got no response. So...whatever. ~OZ |
#349
|
||||
|
||||
Hope everyone can shake hands and continue with this project. theOZer has made substantial contributions to the functionality and longevity of this mod. (Thank you, sir.)
I dropped Jason Merchant an email via his site, in case that helps. Hopefully something will come of it. I'm still shocked that this functionality isn't available in vB4 by default. It is absolutely required. (For everything from threads to articles to blogs...) |
#350
|
||||
|
||||
I have a coder friend of mine who wrote a custom code that did this for my VB3.- forum. I'll engage him to see if he can't figure out how to pull it off with VB4. If he does I'll post the addon here for everyone.
And geez.. play nice kids - it's just a Web site. |
#351
|
||||
|
||||
Hey this is a great mod, I love it!
I was wondering , is there a way use the latest attached image to the thread as a thumbnail, instead of the first one? We are doing work in progress threads on my forum and usually the last attached image is more representative of the work done. Cheers P. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|