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
  #22  
Old 05-28-2009, 05:44 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 tlwwolfseye View Post
I just wondered why you said when no URL then attachment. But it would be good if it would also mean that if no URL and no attachment, then just the NOIMAGE thing.
I just meant that both are supported, but if a URL isn't specified then the Attachment will be used.

Quote:
Originally Posted by Bernd View Post
It would be nice if adding an image attachment is an optional REQUIREMENT. For example, one could create a simple gallery this way and have all the images hosted on their own site instead of annoying hosts like imageshack. Furthermore, image attachments can be automatically thumbnailed by simple adding &thumb=1 behind the url. This means, true resizing of the image using GD instead of scaling an external image using width or height (which should never be done).

Attachments can be filtered for images with the following query
WHERE (attachment.extension = 'jpg' OR attachment.extension = 'gif' OR attachment.extension = 'png')

In short,
-allow attachments.
-option that sets an image attachment as a requirement.
-allow external images.
Thanks for the bit about being able to automatically thumbnail the attachments, that will come in handy.

Quote:
Originally Posted by Bill from Cleve View Post
Looks like a great feature! I'm going to wait for the Automatic Template Edits version though.
That will be out in the next version hopefully, so stay tuned.


Thanks everybody for the positive and helpful comments, I'll try to get these changes out as soon as possible.
Reply With Quote
  #23  
Old 05-28-2009, 05:57 PM
mindhunter77 mindhunter77 is offline
 
Join Date: Jan 2006
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not speaking to your MOD specifically, just mods that do this in general. This is a neat feature to have but unfortunately it ads some high overhead as all the thumbs on the page are usually served up by php, requiring more php processes and on large forums that's an issue.

If you could figure out how to serve the image thumbs through direct links, that would be much better.

Take a look at this, he has the right idea here, though this will only work with nginx

https://vborg.vbsupport.ru/showthread.php?t=207566
Reply With Quote
  #24  
Old 05-28-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

Quote:
Originally Posted by mindhunter77 View Post
I'm not speaking to your MOD specifically, just mods that do this in general. This is a neat feature to have but unfortunately it ads some high overhead as all the thumbs on the page are usually served up by php, requiring more php processes and on large forums that's an issue.

If you could figure out how to serve the image thumbs through direct links, that would be much better.

Take a look at this, he has the right idea here, though this will only work with nginx

https://vborg.vbsupport.ru/showthread.php?t=207566
If you use the URL option (which is actually the only option as we speak), then it is served through direct links. The only things that will go through PHP would be if you decided to use the Attachment Thumbnails (future feature).

Because right now, it is just an img html tag with the url for the src.
Like this:
HTML Code:
<img src="http://www.google.com/intl/en_ALL/images/logo.gif">
No PHP at all.
Reply With Quote
  #25  
Old 05-28-2009, 08:33 PM
twitch's Avatar
twitch twitch is offline
 
Join Date: Apr 2005
Posts: 260
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great idea. option to upload the thumbnail to be used would be perfect
Reply With Quote
  #26  
Old 05-28-2009, 08:43 PM
Sayid Sayid is offline
 
Join Date: Jan 2009
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow I can't believe it @_@

I was searching today for something like this

installed+nominated
Reply With Quote
  #27  
Old 05-28-2009, 08:54 PM
Dr.LoVe Dr.LoVe is offline
 
Join Date: Aug 2008
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx ,

good job
Reply With Quote
  #28  
Old 05-29-2009, 01:15 AM
Etab
Guest
 
Posts: n/a
Default

Great mod! It would be cool if it were also possible to have the thumbnail display in the RSS2 feed somehow, in addition to the forumdisplay page.
Reply With Quote
  #29  
Old 05-29-2009, 01:32 AM
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 Etab View Post
Great mod! It would be cool if it were also possible to have the thumbnail display in the RSS2 feed somehow, in addition to the forumdisplay page.
Interesting idea! I'll look into it.
Reply With Quote
  #30  
Old 05-29-2009, 01:49 AM
aztecboi2003 aztecboi2003 is offline
 
Join Date: Apr 2007
Location: Marysville,Wa
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod looks sick, I will tag and wait for the auto template edits.
Reply With Quote
  #31  
Old 05-29-2009, 06:53 AM
mktrilogy mktrilogy is offline
 
Join Date: May 2006
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be nice to show the preview image when you hover over the thread. And also auto assign image. gets the first image available, that would be really nice. subscribing to this thread.
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 03:56 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.07862 seconds
  • Memory Usage 2,343KB
  • 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_html
  • (5)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
  • (10)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