Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Thread Thumbnails Details »»
Thread Thumbnails
Version: 2.20, by Null Parameter Null Parameter is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 05-27-2009 Last Update: 04-08-2010 Installs: 258
DB Changes Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

Thread Thumbnails
--------------------------------------
Created By: Null Parameter

This mod is officially tested with 3.8.1, but has been reported to work with many other versions.

Please leave any comments, suggestions or bugs.

Description

This mod allows a user, when creating or editing a thread, to specify a Thumbnail image to be used for display next to the thread in the Thread Listing.

With this mod you can define a set of forums that have thumbnails enabled, then in those forums whenever a user creates or edits their thread they can change their thumbnail, based on the method that you choose to allow.

This image is then shown in the Forum Display, in place of the Thread Icon.
The image also appears in Search & Tag Search, and I can add it to the regular Search if somebody requests it. And possibly have options for displaying in each area.

Forum Display:
Forum.jpg

Search:
Search.jpg

ACP Options:
ACP Options.jpg

Installation

Install the Product XML File. That's it!

All Template Edits Are Now Automatic.

If you are Upgrading from the older version, see directions in the README file on how to undo the template edits.

Demo

Possible Future Features (With Request)
  • Additional column instead of replacing Thread Icon
  • Displaying Thumbnail within thread
  • Edit thumbnail through Thread Edit
  • Thumbnail Preview in Edit Window
Fixes
  • Version 2.2
    • Fix Attachment + Default Thumbnail Option Combo
  • Version 2.1
    • Fix DB Error when using First Attachment option
    • Fix issue with New threads not saving thumbnail
  • Version 2
    • Added Features:
      • Automatic Template Edits
      • Thumbnails in Search
      • Thumbnails from First Image/First Attachment
      • Thumbnails on Sticky Threads
    • Fixes:
      • Miscellaneous Fixes

Download Now

File Type: zip product-thread_thumbnails_v22.zip (401.1 KB, 1523 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
chikkoo, vijayninel

Comments
  #82  
Old 08-23-2009, 04:46 PM
Zaki Shafqat Zaki Shafqat is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great job i loved this MOD

but its not showing the thumbnail for the sticky posts? what do i edit to show so it shows for sticky posts too? please help
Reply With Quote
  #83  
Old 09-02-2009, 03:55 PM
CGhostGroup CGhostGroup is offline
 
Join Date: Oct 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Plugin but where can I find one with Attachments? I Only found one for 3.6* but with that I can't exclude the Forum-IDs
Reply With Quote
  #84  
Old 09-08-2009, 12:09 AM
Canadians360's Avatar
Canadians360 Canadians360 is offline
 
Join Date: Jul 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zaki Shafqat View Post
great job i loved this MOD

but its not showing the thumbnail for the sticky posts? what do i edit to show so it shows for sticky posts too? please help
This is what you have...
Code:
<if condition="$show[threadicons]">
    <td class="alt2" align="center" valign="middle">
            <if condition="$thread[thumbnaildisplay] AND !$thread[sticky]">
                     <a href="showthread.php?$session[sessionurl]t=$thread[threadid]">
                      <img src="$thread[thumbnailurl]" alt="" border="0" width="$thread[thumbnailwidth]"/>
                    </a>
            <else />
                <if condition="$show[threadicon]">
                 <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
                </if>
            </if>
    </td>
</if>


This is what you need. All I did was delete the "is not a sticky" part of the conditional wich is bold and red above.
Code:
<if condition="$show[threadicons]">
    <td class="alt2" align="center" valign="middle">
            <if condition="$thread[thumbnaildisplay]">
                     <a href="showthread.php?$session[sessionurl]t=$thread[threadid]">
                      <img src="$thread[thumbnailurl]" alt="" border="0" width="$thread[thumbnailwidth]"/>
                    </a>
            <else />
                <if condition="$show[threadicon]">
                 <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
                </if>
            </if>
    </td>
</if>
That was the threadbit template by the way.

Note: This will make all forums with thumbnails enabled have thread stickies with thumbnails. So you cant have some thumbnail threads with icons for stickies and some thumbnail threads with thumbnails for stickies.
Reply With Quote
  #85  
Old 09-09-2009, 12:45 PM
elenh elenh is offline
 
Join Date: Jun 2009
Location: Germany
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i make this addon working with the first [IMG] tag from the topic too?

Great hack thanks!
Reply With Quote
  #86  
Old 09-10-2009, 07:14 PM
ravi_9793 ravi_9793 is offline
 
Join Date: Sep 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
great mod, just installed and its working with no problem. Thanks for the MOD.

Is there any way to show same thumbnail as Post Icons at very first post of the thread.
Reply With Quote
  #87  
Old 09-17-2009, 03:51 PM
SoloX SoloX is offline
 
Join Date: Jun 2002
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elenh View Post
how do i make this addon working with the first [IMG] tag from the topic too?

Great hack thanks!
i want this as well. [IMG] tag thumbnail.
Reply With Quote
  #88  
Old 09-25-2009, 11:13 PM
Charged Charged is offline
 
Join Date: Jun 2005
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be possible to do either of the following:

When a user selects a thread prefix, automatically use a predefined thumbnail image, with a diff thumbnail per prefix.

or

have a selection of radio buttons under the box where they can just click on one of them and it puts the predtermined thumbnail img url into the thumbnail box for them?

this would greatly avoid users not putting one in
Reply With Quote
  #89  
Old 09-26-2009, 06:00 PM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey guys, sorry for the very long delay, but don't worry, I've returned.
Been doing things in life, like work and having a beautiful daughter, hopefully you can forgive me.


I'm working on a new version at this very moment, including the following features:
  • Option to use Thumbnail from First Attachment
  • Option to use Thumbnail from First Image in Thread
  • Option to include/exclude Sticky Threads
  • Automatic Template Edits
Still contemplating adding in
  • Displaying Thumbnail in Search
  • Displaying Thread Icon instead of requiring No Thumbnail Image
Hoping to get this out relatively soon, for all of your enjoyment, because I know a lot of you have been asking for many of these features!
Reply With Quote
  #90  
Old 09-26-2009, 06:02 PM
SoloX SoloX is offline
 
Join Date: Jun 2002
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Null Parameter View Post
[*]Option to use Thumbnail from First Image in Thread
yaaay!!!!
Reply With Quote
  #91  
Old 09-26-2009, 06:07 PM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Almost forgot, also thinking about adding in an option to specify CSS for the image, or something similar, so you get a lot more flexibility instead of just the standard "Set Width".

And I also have custom code that I might adapt that makes a Media RSS Feed using the thumbnails, which gives you the ability to have built in Cooliris support.

Despite those being cool features to add in, I might put it off for a while to get these more pertinent features out to you more quickly.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:04 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09123 seconds
  • Memory Usage 2,338KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete