The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
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 |
#302
|
||||
|
||||
![]()
Finally installed and got it working.
Now, I really need the thread thumb to show up above the thread itself on showthread. I already have a spot for the thread title above the first post, that works, but I can't get the thumbnail to show up. I copied and modified the template code from the threadbit, and inserted this where I want it to show up: Code:
<if condition="$tt_displaythumbs"> <if condition="($thread['attachmentid']) AND ($thread['thumbsize'])"> <img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" alt="" border="0" align="left" /> </a> <else /> <img src="$stylevar[imgdir_misc]/nothumb.jpg" alt="" border="0" /> </if> </if> |
#303
|
|||
|
|||
![]()
What's the name of the mod or a link to it?
|
#304
|
|||
|
|||
![]()
It is Advanced Forums. It really is one of the best products I have used. Lot's of flexibility when it comes down to things. The link is Provb
I used this mod here to begin with, then found provb AF and haven't turned back ![]() |
#305
|
||||
|
||||
![]() Quote:
Does it let you show the first attachment of the first post of a thread in the thread (and search, and tag listings)? If there's a commercial product that we can use instead of this I'd be willing to go that route. Right now the last piece of the puzzle is being able to display the image thumbnail above the thread, near the top of the showthread template. Do you know if that's possible? Thx! |
#306
|
|||
|
|||
![]()
PM sent instead of posting in this thread anymore
![]() |
#307
|
||||
|
||||
![]()
Thanks for the reminder.
![]() |
#308
|
|||
|
|||
![]()
Anyone running this with the latest release?
|
#309
|
||||
|
||||
![]()
I'm running it on 3.8.1, if that helps. I haven't tried 3.8.2 but I doubt anything should break between such minor version changes.
|
#310
|
|||
|
|||
![]()
No luck here with 3.8.1.
|
#311
|
||||
|
||||
![]()
kyle1745,
Thread Thumbnails in (your selected) forums works in all vB38x versions so far. You should not need to make any changes/tweaks to this mod's base thread thumbnails plugin after a vB update. To display thread thumbnails in your Search lists and/or your Tags list you need to tweak search.php and/or tags.php (like we have had to for all previous vB version updates since 368). If you have the 'Thread Thumbnail - Search' plugin turned ON - Did you change, add the TT code to the vB3.8.x search.php file? (see Post # 112 on Page 8 or do a Search this Mod looking for search.php, whatever) If you have the 'Thread Thumbnail - Tag Search' plugin turned ON - Did you change, add the TT code to the vB3.8.x tags.php file? (see Post # 169 on page 12 or do a Search this Mod looking for tags.php, whatever) In my testvb instance I successfully upgraded to vB3.8.x, after adding the TT code to both search.php and tags.php, and both plugins work for me. ~theOZer |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|