Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Thread Thumbnails Details »
Thread Thumbnails
Mod Version: 3.1.0, by Null Parameter (Member) Null Parameter is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (29 votes - 4.76 average) Installs: 240
Released: 03 Mar 2010 Last Update: 30 Apr 2010 Downloads: 1652
Not Supported DB Changes Uses Plugins Auto-Template Translations  

Thread Thumbnails
Created By: Null Parameter

The Thread Thumbnails mod allows users of a forum to specify, in several possible ways, a thumbnail for their thread to be displayed on Forumdisplay thread list.

I had created the mod for vB 3.8, but people we're crying out for a ported version to vB4, and, thanks to help from several of the members, here it is!


Description of Features

Thumbnails are displayed on the Forumdisplay next to the threadicon.
In the ACP Options, assuming you are using the Auto-Template Edits, you can choose which side of the icon to display it on.

Forum Display Screenshot


When submitting a new thread or editing the first post of a thread, a thumbnail can be specified directly if the User Entered URL option is chosen in the ACP. Another option is to Require the thumbnail. If the thumbnail isn't required, it may be left blank by the user, and it can either not be shown at all on forumdisplay or be replaced by a default thumbnail image specified in the ACP.

New Thread Screenshot

Edit Post Screenshot


All available options in the ACP include...
  • Turn Off/On Thumbnails
  • Turn Off/On Auto-Template Edits
  • Which forums to use thumbnails in
  • Turn Off/On thumbnails on sticky threads
  • Require thumbnails (doesn't work with attachment option)
  • Choose to retrieve thumbnails from one of the following
    • User Entered URL
    • First Attachment
    • First Image in Post
  • Choose where thumbnail is displayed in threadbit (relies on Auto-Template Edits)
  • Thumbnail CSS Style
  • Specify No Thumbnail Replacement Image
ACP Options Screenshot


This version is also now using phrases, so it can more easily be translated!


Installation

Install the product XML file. That's it!

If you have a highly customized style, there is a chance that the auto-template edits will not work. In that case, you will need to make the template edits manually. See the included README for more details.


Thumbnail Style

The style for thumbnails is specified in the ACP. It is used to choose exactly how thumbnails will be displayed, including width, height, margins, borders and many other attributes.

The style is specified in CSS, and is applied directly to the HTML img tag.

Here are some examples of possible thumbnail styles, along with a description of what they will do. If you don't know much about CSS, you can learn more here.
  • Every thumbnail will have a width of 100 pixels, but be constrained to being a maximum of 150 pixels in height
    • width:100px;max-height:150px;
  • Every thumbnail will have a width of 120 pixels and have a margin of 3 pixels around the thumbnail, so that it doesn't touch any of the other elements in the threadbit
    • width:120px;margin:3px;
  • Thumbnails aren't allowed to exceed 150 pixels in either dimension, and are also mildly transparent
    • max-width:150px;max-height:150px;opacity:0.8;filter:alpha(opacity=80);
Note: Using CSS positioning attributes (i.e. position, float, clear, etc.) could mess up the threadbit structure, so beware.


FAQs

The version of this mod for vB 3.8 showed thumbnails in the search results. Where did they go?
The search system between vB 3.x and vB4 changed significantly. I didn't have the time to figure out the complexity of it, and was unable to find any examples of other mods that integrated into the search results.

If you know how this is done, feel free to contact me and we can work to get this feature back in!
Does this mod work for RTL Languages, such as Arabic?
There is a separate product XML file available for download that has the appropriate changes to support RTL languages.
When I choose the First Image in Post option, no thumbnails show up in my current threads. Why?
Thumbnails are only updated when a new thread is created or when the first post is edited. Parsing through every forum/thread whenever the options are changed could be disastrous for performance.

Luckily, a user of this mod, megamoose, created a script that you can use to help this out. I want this method to be known, but because I didn't write this, I make no promises that it will work.

Originally Posted by megamoose View Post
This should enable batch processing. I have tested it.
Change the $STEP_AMOUNT at the top to something lower if you still get errors
Remember this is for vB version 3.8
Always backup your data before running scripts like these

TO THOSE WHO HAVEN'T BEEN FOLLOWING THE CONVERSATION:
This script will go through all your existing posts and give them thumbnails, based on the First IMG in post option.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Translations

Arabic

Versions

v3.1
  • Fix for Required Thumbnails
  • New feature to automatically use ALL Forums
v3.0
  • Support for vB4!
  • Use Phrases
  • Option to make Thumbnails Required
  • Option to select where to show the thumbnail on Forumdisplay
  • Option to specify the CSS Style of thumbnail images
Mod Support

I am fully willing to support this mod and continue to add new feature to it when they are desired enough to make them applicable to the product as a whole. The issue is that I do not have access to a vB4 installation, and therefore cannot develop.

Several people were gracious enough to offer up a test installation for me to use, and that is how this mod exists today. If any new features/fixes are wanted, other people will need to be just as gracious.

Also, since I don't own a vB4 instance, I'm supporting this strictly out of the kindness of my heart. So, if you wish to Support me as a developer, it would be much appreciated.

Enjoy!

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	forumdisplay.png
Views:	8159
Size:	148.2 KB
ID:	113497   Click image for larger version

Name:	editpost.png
Views:	3017
Size:	24.6 KB
ID:	113498   Click image for larger version

Name:	newthread.png
Views:	2936
Size:	36.1 KB
ID:	113499   Click image for larger version

Name:	adminoptions.jpg
Views:	2409
Size:	121.5 KB
ID:	113500  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
New Posting Features Thread Thumbnails Null Parameter vBulletin 3.8 Add-ons 350 16 Apr 2020 09:57

  #76  
Old 16 May 2010, 12:51
hotfilepro hotfilepro is offline
 
Join Date: Jan 2010
Hello,
Thank you for this mod.
Can you please develop it more further functions ?
For me, I really like this feature : Mouse hovers over thumbnail, then large preview pops up,when you hover over the thumbs, it is automatically shown in FULL or larger SIZE.

It can't be greater if the product has this !!!
Again, thank you !
Reply With Quote
  #77  
Old 17 May 2010, 13:17
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Real name: Marcus
Hi,
is there an Option to Displayed Out the Statusicon in the Forums, who the Addon is enabled?
__________________
Greetz from Dortmund/Germany
Marcus
Reply With Quote
  #78  
Old 17 May 2010, 17:47
share4vn.com share4vn.com is offline
 
Join Date: Feb 2008
SHOW THUMBNAILURL IN EDIT THREAD

Edit editpost temp
Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add below:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

FIX Required Thumbnails function:
Attached Files
File Type: xml product-thread_thumbnails-fixed.xml (19.0 KB, 37 views)
Reply With Quote
  #79  
Old 18 May 2010, 07:52
maidos maidos is offline
 
Join Date: Jul 2006
thanks alot, that fixed the issue


Originally Posted by share4vn.com View Post
SHOW THUMBNAILURL IN EDIT THREAD

Edit editpost temp
Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add below:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

FIX Required Thumbnails function:
Reply With Quote
  #80  
Old 30 May 2010, 15:34
steve71 steve71 is offline
 
Join Date: Dec 2006
Excellent mod thanks. I was wondering if in a future update we could limit thumbnails to specific user groups as well?
Reply With Quote
  #81  
Old 30 May 2010, 17:34
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Real name: Dennis "theOZer" Osborne
Thank you, Null Parameter. This is a priceless mod that greatly enhances any and all forums that have attachments tied to threads. I'm running vB4.0.3 and the mod install went effortlessly, smoothly, and IT WORKS! I set this mod up to display ALL forums, First Attachment, and, from the get go, it started displaying the thumbnails.
Thank you, thank you, thank you, Null Parameter.
Reply With Quote
  #82  
Old 30 May 2010, 20:52
RedFoxy's Avatar
RedFoxy RedFoxy is offline
 
Join Date: Sep 2007
I fixed the install file to go with lastes vb 4.x
Attached Files
File Type: xml product-thread_thumbnails.xml (19.2 KB, 33 views)
Reply With Quote
  #83  
Old 02 Jun 2010, 20:42
Globe Globe is offline
 
Join Date: Sep 2007
hmm there are still the forum icons is there anyway to remove that?
Reply With Quote
  #84  
Old 03 Jun 2010, 21:28
Globe Globe is offline
 
Join Date: Sep 2007
whe i post a thread with a image it doesnt show so i have to edit the post and after that (create new post>create>edit) it show up why?
Reply With Quote
  #85  
Old 07 Jun 2010, 14:55
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Real name: Bob
There is a problem with your preg_match selecting "First Image In Post", some pic's don't show and this is the properties of the blank images:

http://www.imagebanana.com/img/54s2q80t/blah.png[/IMG][/URL]%20[URL=

This is based on how the poster adds the image.

Last edited by Dark_Wizard; 08 Jun 2010 at 12:26.
Reply With Quote
  #86  
Old 08 Jun 2010, 12:38
Aceman's Avatar
Aceman Aceman is offline
 
Join Date: Mar 2002
The addon is working fine on my site. However, I really need a way to turn OFF Threadicons when the thumbnails are used. It would reallly make the layout of my site look alot nicer. I updated my site to the latest version today and all well.. however that option isn't available.

Null mentioned a "Replace threadicon" which would be ideal!!

Thanks
__________________
www.scifi-meshes.com (Vb4.0)
www.military-meshes.com (Vb3.8)
Reply With Quote
  #87  
Old 08 Jun 2010, 12:59
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Real name: Bob
Originally Posted by Aceman View Post
The addon is working fine on my site. However, I really need a way to turn OFF Threadicons when the thumbnails are used. It would reallly make the layout of my site look alot nicer. I updated my site to the latest version today and all well.. however that option isn't available.

Null mentioned a "Replace threadicon" which would be ideal!!

Thanks
Working fine? How are you using this, url or first post? Just went to your site and I see no images in "3D Gallery" just a box with the x in it.....turning off thread icons is simple and I will post a quick way to do it very shortly.

Last edited by Dark_Wizard; 08 Jun 2010 at 13:13.
Reply With Quote
  #88  
Old 08 Jun 2010, 13:18
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Real name: Bob
To turn off Thread Icons do the following in threadbit template:

find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

change to this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Tested and working fine.
Reply With Quote
  #89  
Old 08 Jun 2010, 14:26
Aceman's Avatar
Aceman Aceman is offline
 
Join Date: Mar 2002
You must be registered to see the images.
Attached Images
File Type: jpg 6-8-2010 10-26-36 AM.jpg (131.2 KB, 64 views)
__________________
www.scifi-meshes.com (Vb4.0)
www.military-meshes.com (Vb3.8)
Reply With Quote
  #90  
Old 08 Jun 2010, 14:28
Dark_Wizard Dark_Wizard is offline
 
Join Date: Nov 2001
Real name: Bob
Originally Posted by Aceman View Post
You must be registered to see the images.
Then this hack needs more work, nothing should show if the user isn't registered....
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 08:53.

Layout Options | Width: Wide Color: