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
  #12  
Old 03-01-2011, 01:16 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent = 5 Stars

installed + translated to Arabic

plzz be nice and add XML file to 1st post
Attached Files
File Type: xml product-threadthumbnail Arabic by alra7ba.xml (12.5 KB, 9 views)
Reply With Quote
  #13  
Old 03-01-2011, 08:58 PM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.osamA View Post
Excellent = 5 Stars

installed + translated to Arabic

plzz be nice and add XML file to 1st post
Thanks! I already added you and the file in the modification.
Reply With Quote
  #14  
Old 03-02-2011, 12:31 AM
fishinstud fishinstud is offline
 
Join Date: Dec 2010
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, Installing right now. Attached my custom thumb made from a HQ EPS.
Installed tough but works well. Looks great
Reply With Quote
  #15  
Old 03-03-2011, 12:03 AM
dinodonk dinodonk is offline
 
Join Date: Aug 2005
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please add option to show avatar if there's no thumbnail selected.
Reply With Quote
  #16  
Old 03-03-2011, 12:23 AM
hiker's Avatar
hiker hiker is offline
 
Join Date: Sep 2009
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea. Can it be limited to a certain prefix of thread only?
Reply With Quote
  #17  
Old 03-03-2011, 10:48 AM
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Location: On Earth
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Humm looks like deja vue!

Simple and clean
Reply With Quote
  #18  
Old 03-03-2011, 08:10 PM
andrefedalto andrefedalto is offline
 
Join Date: Dec 2005
Location: Brazil
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fxwoody View Post
Humm looks like deja vue!

Simple and clean
Thanks

For the adittional requests, sorry, but if a lot of stuff is added, it will loose its main characteristic, the simplicity
Reply With Quote
  #19  
Old 03-04-2011, 04:55 AM
AlexisMedia AlexisMedia is offline
 
Join Date: Dec 2010
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This MOD is awesome! Exactly what I was looking for when the other thumbnail mods weren't supported or didn't do the simple thing I needed them too. 5 stars and look forward to more mods from this developer...

Please keep this one simple
Reply With Quote
  #20  
Old 03-05-2011, 04:03 PM
Baylyns Baylyns is offline
 
Join Date: Mar 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

In the template newthread it has to be searched :
PHP Code:
action="newthread.php?do=postthread&f={vb:raw forumid}" 
I am under VB 4.1.2 and I can't find the right place:

PHP Code:
<form class="vbform block" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?do=postthread&amp;f={vb:raw forumid}" method="post" name="vbform" onsubmit="return vB_Editor['{vb:raw editorid}'].prepare_submit(this.subject.value, {vb:raw vboptions.postminchars})"
Where should I place this:
PHP Code:
enctype="multipart/form-data" 
Best regards
Reply With Quote
  #21  
Old 04-02-2011, 09:18 PM
interfx interfx is offline
 
Join Date: Dec 2001
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to make this work only a specific, defined forum category? vs. all of my forums?

Thanks in advance, this is a very simple solution!
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 09:43 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.05347 seconds
  • Memory Usage 2,341KB
  • Queries Executed 27 (?)
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_php
  • (2)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)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
  • 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