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

Reply
 
Thread Tools
[SIMPLISTIC] Thread Thumbnails Details »»
[SIMPLISTIC] Thread Thumbnails
Version: 1.00, by andrefedalto andrefedalto is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.1.0 Rating:
Released: 02-26-2011 Last Update: 02-28-2011 Installs: 28
DB Changes Uses Plugins Template Edits
Re-useable Code Translations  
No support by the author.

A client asked me to create a simpler Thread Thumbnail for his forums, since the other modification had too many steps for his users, lowering the use of the feature. So here it is a simpler version:
  • The ability to upload a little image for each thread, that will be displayed in forumdisplay.
  • You can set the default width and height for the image through control panel
  • When creating a thread or editing the first post, there is a file input field you can pick the thumbnail you wanna use.
  • The user can upload ANY file with ANY size, but only images will be processed and they will be resized (keeping the proportion) to the previously defined size. The original file will be deleted and only the thumbnail will be stored.
  • You can enable the thumbnails in all forums or only in the ones you specify
  • If the user doesn't upload a thumbnail you can display a default one (settable in admincp) or just don't show it at all. Only display the thumbnail when its uploaded.
  • When editing the thread, the thumbnail can be removed.

So well, its as simple as it can be. Refer to the screenshots for more details. Install instructions are in the zip. I chose to not use auto-template edits since some users may have custom templates and auto-changes shouldn't work. So its just 3 minor templates edits that can be done in a few seconds. Make sure you have set the right permissions for folder ./images/threadthumbnails/.

Before anyones says, yeah i know the included default no-thumbnail image sucks! Just made it in a sec in paint. Feel free to make a better one and send me. I'll add to the modification.

I'll be supporting this modification and fixing bugs, although i think its very functional right now. I try to keep my code as simple as possible, making it low-resource consuming and very user-friendly. Any tips on that would be greatful. If you want a nice new feature added to it, let me know. I'll add it if its a GREAT idea and is a MUST for the modification. If we add a lot of things, it looses its main characteristic: the simplicity.

Did you like this modification? Support me making a donation, and in the future i can release more simplistic modifications.

Arabic translation by Dr.osamA was added as "product-threadthumbnail Arabic by alra7ba.xml". I haven't reviewed the code, so use it at your own risk.

Download Now

File Type: zip product-threadthumbnail.zip (4.1 KB, 272 views)
File Type: xml product-threadthumbnail Arabic by alra7ba.xml (12.5 KB, 55 views)

Screenshots

File Type: jpg ss_admin.jpg (76.7 KB, 0 views)
File Type: png ss_new.png (26.0 KB, 0 views)
File Type: png ss_edit.png (26.3 KB, 0 views)
File Type: jpg ss_forumdisplay.jpg (81.5 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-27-2011, 02:25 AM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged and thanks
Reply With Quote
  #3  
Old 02-27-2011, 06:55 AM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great but can I put the avatar as a thread thumbnail automatically?? (i.e no need to add new avatar)
Reply With Quote
  #4  
Old 02-27-2011, 07:35 AM
fluidswork's Avatar
fluidswork fluidswork is offline
 
Join Date: Apr 2010
Location: India
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will come useful someday .................
Reply With Quote
  #5  
Old 02-27-2011, 09:55 AM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sadiq6210 View Post
Great but can I put the avatar as a thread thumbnail automatically?? (i.e no need to add new avatar)
Sorry, but this modification is only to upload a thumbnail.
Reply With Quote
  #6  
Old 02-27-2011, 12:28 PM
Manoel J?nior Manoel J?nior is offline
 
Join Date: Feb 2009
Location: SP / Brasil
Posts: 778
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Parabéns André!!!

É muito bom vermos desenvolvedores brasileiros. Estou até precisando de algumas modificações a nível particular, se estiver interesse, por favor, entre em contato.

Abraços.
Reply With Quote
  #7  
Old 02-27-2011, 01:07 PM
Sayid Sayid is offline
 
Join Date: Jan 2009
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice mod and many users will like it. It should be built in
anyway, I have some questions:
do thumbnails appear in search results without problems?
because it is a common problem in two of thumbnail mods released before.
moreover, can you add an option to take the first image in the topic as a default thumbnail ? and if possible, apply the same method with the old topics?
Many thanks
Reply With Quote
  #8  
Old 02-27-2011, 03:23 PM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Manoel J?nior View Post
Parab?ns Andr?!!!

? muito bom vermos desenvolvedores brasileiros. Estou at? precisando de algumas modifica??es a n?vel particular, se estiver interesse, por favor, entre em contato.

Abra?os.
Valeu! Mandei uma MP.

Quote:
Originally Posted by Sayid View Post
Very nice mod and many users will like it. It should be built in
anyway, I have some questions:
do thumbnails appear in search results without problems?
because it is a common problem in two of thumbnail mods released before.
moreover, can you add an option to take the first image in the topic as a default thumbnail ? and if possible, apply the same method with the old topics?
Many thanks
Sorry, thumbnails won't appear in search result (haven't thought of that before). The option to take the first image in the topic will not be implemented, since its a feature in the other Thread Thumbnail modification here in vborg. As stated before, this mod was meant to be VERY simplistic, just going straight to the point. Just do a search for "thumbnails" in thread titles and you'll find the other modification i'm talking about.
Reply With Quote
  #9  
Old 02-27-2011, 07:22 PM
mfnforex mfnforex is offline
 
Join Date: Jan 2010
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #10  
Old 02-27-2011, 07:58 PM
Randomm Randomm is offline
 
Join Date: Jul 2010
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged and will surely install later
rated and nominated
thanks
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 04: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.05034 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (6)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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