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
  #102  
Old 10-11-2009, 01:47 PM
mrthe mrthe is offline
 
Join Date: May 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i edit the post the thumbnails disappeare i use the version 3.6.8 of vb and don0t save the url if i edit the post,why?
Reply With Quote
  #103  
Old 10-21-2009, 08:58 AM
Cerbero1000 Cerbero1000 is offline
 
Join Date: May 2005
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to thumbs working in showthread template?
Reply With Quote
  #104  
Old 10-22-2009, 01:35 PM
Lietha Lietha is offline
 
Join Date: May 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to set this to show the last attachment rather than the first?
Reply With Quote
  #105  
Old 10-22-2009, 07:13 PM
Canadians360's Avatar
Canadians360 Canadians360 is offline
 
Join Date: Jul 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cerbero1000 View Post
Is there a way to thumbs working in showthread template?
Yes the Image URL is still acessable in the showthread template. Use $thread[thumbnailurl]
Quote:
Originally Posted by Lietha View Post
Is there any way to set this to show the last attachment rather than the first?
It does not show attatchments, not yet anyway acording to the developer.
Reply With Quote
  #106  
Old 10-22-2009, 10:59 PM
dai-kun dai-kun is offline
 
Join Date: Jul 2005
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can get the full image to show when your hover over it by:

Edit MAIN CSS of style, at the bottom ADDITIONAL CSS DEFINITIONS (1st or 2nd box depending on how you use it), add in (or edit to your preference)
Quote:
.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position:absolute;
left:-1000px;
background-color: black;
padding: 5px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: -200px;
left: 200%; /*position where enlarged image should offset horizontally */
}
Do the following template edits:
threadbit
Find
PHP Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]"
Replace with
PHP Code:
<class="thumbnailhref="showthread.php?$session[sessionurl]t=$thread[threadid]"
Reply With Quote
  #107  
Old 10-23-2009, 04:11 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 mrthe View Post
when i edit the post the thumbnails disappeare i use the version 3.6.8 of vb and don0t save the url if i edit the post,why?
I'm pretty sure I have a fix in for this when the newest version is released.

Quote:
Originally Posted by Cerbero1000 View Post
Is there a way to thumbs working in showthread template?
Right now, there isn't a way to do that, but I could definitely add in a way to at least access the variable from the template.

Quote:
Originally Posted by Lietha View Post
Is there any way to set this to show the last attachment rather than the first?
That isn't the in the plan at the moment, but I can definitely see the merit in having such a feature. I'll add it to the To Do List.

Quote:
Originally Posted by dai-kun View Post
You can get the full image to show when your hover over it by:
....
Very nice addition! I'll see about possibly adding this into future versions, if you don't mind?
Reply With Quote
  #108  
Old 10-23-2009, 05:28 PM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 2 is Now Available!

New Features Include:
  • Automatic Template Edits
  • Search Integration
  • Get Thumbnail from First Image in Post
  • Get Thumbnail from First Attachment
  • Thumbnails on Sticky Threads
  • Use Status Icon if No Thumbnail is found
Reply With Quote
  #109  
Old 10-23-2009, 07:07 PM
Lulubelle Lulubelle is offline
 
Join Date: Dec 2008
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed this and for some reason when enabled it now only shows the first thread posted in the forum, all other threads disappear.

I'm using the 'Get thumbnail from first attachment' option.

If there is more than one page, it shows the first thread on that page. So I am getting a lot of pages with only one thread showing, and the other threads just aren't showing.

I'd love to use this is it isn't slowing my forum down like another thumbnail mod I tried, so please help

Thanks

On a side note, the thumbnail on that one thread looks great!
Reply With Quote
  #110  
Old 10-23-2009, 07:50 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 Lulubelle View Post
installed this and for some reason when enabled it now only shows the first thread posted in the forum, all other threads disappear.

I'm using the 'Get thumbnail from first attachment' option.

If there is more than one page, it shows the first thread on that page. So I am getting a lot of pages with only one thread showing, and the other threads just aren't showing.

I'd love to use this is it isn't slowing my forum down like another thumbnail mod I tried, so please help

Thanks

On a side note, the thumbnail on that one thread looks great!
Yep, I knew that there might be some bugs in that option, because I asked for testers for that feature and nobody took me up on the offer. But that bug I definitely didn't expect, it's a very interesting one.

I'll look into it and hopefully get a fix out very soon. Thanks for your patience.
Reply With Quote
  #111  
Old 10-23-2009, 08:06 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I simply overlooked this one! Huh lol I have been using the 3.6 version of this but downloading the new one thanks

Mike

Edit: NM apparently I'm just out of it today lol I looked up before DL'ing and saw "Mark as Uninstalled" so it must be this version I swear there was 3.6 or I found the info how to in a 3.6 area... ohh well it works and I love it, currently using on a gaming tournament forum, it shows animated .gif's of custom maps for BF2142 so you can view them and comes in handy for the Generals and Command staff of the armies to do map picks for the following week after the battle each sunday is over

Thanks for the update!
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 01:23 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.05102 seconds
  • Memory Usage 2,361KB
  • 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
  • (2)bbcode_php
  • (8)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
  • (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