vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - [SIMPLISTIC] Thread Thumbnails (https://vborg.vbsupport.ru/showthread.php?t=259519)

andrefedalto 02-26-2011 10:00 PM

[SIMPLISTIC] Thread Thumbnails
 
1 Attachment(s)
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.

sulasno 02-27-2011 02:25 AM

tagged and thanks

sadiq6210 02-27-2011 06:55 AM

Great but can I put the avatar as a thread thumbnail automatically?? (i.e no need to add new avatar)

fluidswork 02-27-2011 07:35 AM

Will come useful someday .................

andrefedalto 02-27-2011 09:55 AM

Quote:

Originally Posted by sadiq6210 (Post 2167450)
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.

Manoel J?nior 02-27-2011 12:28 PM

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.

Sayid 02-27-2011 01:07 PM

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

andrefedalto 02-27-2011 03:23 PM

Quote:

Originally Posted by Manoel J?nior (Post 2167509)
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 (Post 2167516)
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.

mfnforex 02-27-2011 07:22 PM

Thanks

Randomm 02-27-2011 07:58 PM

tagged and will surely install later
rated and nominated
thanks


All times are GMT. The time now is 11:22 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00994 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete