Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #252  
Old 03-03-2010, 11:55 AM
Cust0ms Cust0ms is offline
 
Join Date: Jul 2008
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Null Parameter, please look @ the screenshot
Attached Images
File Type: jpg sss.jpg (88.7 KB, 0 views)
Reply With Quote
  #253  
Old 03-03-2010, 01:54 PM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cust0ms View Post
@Null Parameter, please look @ the screenshot
The First Attachment option is known to be broken at the moment. I should probably release a fix for that since I'm already messing with the code....
Reply With Quote
  #254  
Old 03-03-2010, 05:31 PM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got everything updated to vB4! New mod is posted for your enjoyment.

Also update this version of the mod to fix the First Attachment DB Error as well as include the fix for using First Image in Post for new threads.


Thanks again to everybody that helped get this going again and those that assisted people in my absence.
Reply With Quote
  #255  
Old 03-04-2010, 01:54 PM
motoxer311 motoxer311 is offline
 
Join Date: Aug 2008
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working for me, just shows regular icons..
Reply With Quote
  #256  
Old 03-05-2010, 09:05 AM
MrRem MrRem is offline
 
Join Date: Jun 2009
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to make the Thread Thumbnail a requirement before submitting a post?
Reply With Quote
  #257  
Old 03-05-2010, 01:24 PM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MrRem View Post
Is there a way to make the Thread Thumbnail a requirement before submitting a post?
That is currently an option in the vB4 version, but not in this one. If there's demand for it, I could probably port that functionality back here as well.
Reply With Quote
  #258  
Old 03-06-2010, 03:12 PM
Xtrigit's Avatar
Xtrigit Xtrigit is offline
 
Join Date: Jan 2010
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I manually add this to a custom style? I have a custom style that has basic functionality and I would like to know what code this MOD is calling that my style does not have and therefore not displaying the thumbnails.

Works great on all fully functional styles.

Thanks in advance =]
Reply With Quote
  #259  
Old 03-06-2010, 04:42 PM
Xtrigit's Avatar
Xtrigit Xtrigit is offline
 
Join Date: Jan 2010
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was able to get it to work and this is my final code. I'd really appreaciate it if you could take a minute to review it and see if there is anything I could change to improve it.

Code:
<table cellpadding="0" cellspacing="0">
<if condition="$bg++"><!-- Row: $bg --></if>
<tr class="<if condition="$bg%2 == 0">alt2<else />alt1</if>" height="40px">
<td width="24">
		<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="61"/>
                          </a>
                  <else />
                      <if condition="$show[threadicon]">
                       <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
                      </if>
                  </if>
          </td>
      </if>
	</td>
    <td width="100%">
Regards,
Xtrigit
Reply With Quote
  #260  
Old 03-30-2010, 12:03 PM
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All works fine except the "no thumbnail" images that appears as a red cross (/attachment.php?attachmentid=&stc=1&thumb=1). Can someone help me? If I select image url "no thumb" appear correctly but not for first attachment option.
Thanks
Reply With Quote
  #261  
Old 03-30-2010, 01:28 PM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cerbero1000 View Post
All works fine except the "no thumbnail" images that appears as a red cross (/attachment.php?attachmentid=&stc=1&thumb=1). Can someone help me? If I select image url "no thumb" appear correctly but not for first attachment option.
Thanks
Quote:
Originally Posted by Null Parameter View Post
The First Attachment option is known to be broken at the moment.
The First Attachment option doesn't work well in general.
Reply With Quote
Reply


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 08:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07401 seconds
  • Memory Usage 2,348KB
  • 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
  • (1)bbcode_code
  • (4)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
  • (2)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