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
  #12  
Old 05-28-2009, 04:30 PM
tlwwolfseye's Avatar
tlwwolfseye tlwwolfseye is offline
 
Join Date: Dec 2008
Location: Germany
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you maybe then give me all the details for the template changes ? Is it a lot changes ? Because i think if it is, it will keep many people from using the Mod, usually Mods do automatic template edits as far as I have seen.

Update:

LOL, now i see the edits above. Sorry
Reply With Quote
  #13  
Old 05-28-2009, 04:44 PM
tlwwolfseye's Avatar
tlwwolfseye tlwwolfseye is offline
 
Join Date: Dec 2008
Location: Germany
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did all the edits and it works now.

The only thing I see which might be a problem for users is that the Image can only be added as URL. Not anyone likes to offer Imagehosting on his Webspace and Image hosting Services out there often don?t like direct links to images but rather use their image code. And in the long run, those images will be gone because Imagehosters don?t store images for life.

Using the attachment function for that might not be the nicest but it would make it easier for people to find a place to direct upload their images instead of first searching for a Public imagehosting site with direct links allowed.

Might be thinking about offering both, direct URLs like it is now, and also using a attached image in the thread. How about that ?
Reply With Quote
  #14  
Old 05-28-2009, 04:51 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 did all the edits and it works now.

The only thing I see which might be a problem for users is that the Image can only be added as URL. Not anyone likes to offer Imagehosting on his Webspace and Image hosting Services out there often don?t like direct links to images but rather use their image code. And in the long run, those images will be gone because Imagehosters don?t store images for life.

Using the attachment function for that might not be the nicest but it would make it easier for people to find a place to direct upload their images instead of first searching for a Public imagehosting site with direct links allowed.

Might be thinking about offering both, direct URLs like it is now, and also using a attached image in the thread. How about that ?
I can definitely attempt to add support for that.

What kind of options do you think should accompany it?

Quick draft of my thoughts:
  • Thumbnail Source
    • URL Only
    • Attachment Only
    • If No URL, use Attachment
Any other options you can think of?
Reply With Quote
  #15  
Old 05-28-2009, 04:56 PM
tlwwolfseye's Avatar
tlwwolfseye tlwwolfseye is offline
 
Join Date: Dec 2008
Location: Germany
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be possible that the attached image, when used for that, would only show in the Thread Thumbnail and not also attached below or in the posting ?

Quote:
Thumbnail Source

* URL Only
* Attachment Only
* If No URL, use Attachment
And in case someone doesn?t want to add a Image, how about also allowing that. In that case it would just show the NoImage picture. Should be up to the poster I think. He doesn?t have to.
Reply With Quote
  #16  
Old 05-28-2009, 04:59 PM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I'm assuming that if there isn't a URL or Attachment then it would show the no thumbnail image. But for the Admin CP options, they can choose to allow thumbnails from one of those 3.

So if an admin only wants to allow thumbnails from Attachments or only from a URL, then they can do that.
Reply With Quote
  #17  
Old 05-28-2009, 05:06 PM
tlwwolfseye's Avatar
tlwwolfseye tlwwolfseye is offline
 
Join Date: Dec 2008
Location: Germany
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 05-28-2009, 05:07 PM
Bernd Bernd is offline
 
Join Date: Apr 2005
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tlwwolfseye View Post
Would it be possible that the attached image, when used for that, would only show in the Thread Thumbnail and not also attached below or in the posting ?



And in case someone doesn?t want to add a Image, how about also allowing that. In that case it would just show the NoImage picture. Should be up to the poster I think. He doesn?t have to.
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.
Reply With Quote
  #19  
Old 05-28-2009, 05:11 PM
Veer Veer is offline
 
Join Date: Feb 2006
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think both (URL and Attachment) options are good and should be available.
Reply With Quote
  #20  
Old 05-28-2009, 05:20 PM
Bill from Cleve Bill from Cleve is offline
 
Join Date: Sep 2008
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like a great feature! I'm going to wait for the Automatic Template Edits version though.
Reply With Quote
  #21  
Old 05-28-2009, 05:35 PM
nooofe nooofe is offline
 
Join Date: Mar 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
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 12:30 PM.


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.15857 seconds
  • Memory Usage 2,347KB
  • 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
  • (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
  • (3)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