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: 243
Released: 03 Mar 2010 Last Update: 30 Apr 2010 Downloads: 1662
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:	8240
Size:	148.2 KB
ID:	113497   Click image for larger version

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

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

Name:	adminoptions.jpg
Views:	2446
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 353 08 Sep 2021 17:23

  #271  
Old 30 May 2011, 07:04
Mikevet1984's Avatar
Mikevet1984 Mikevet1984 is offline
 
Join Date: Nov 2010
Τhis mod works prerfectly with fowxoody alterations shared here in the thead!

After making tests to my forum, here are the reults:

1. Thumbnail from first attachment, works perfectly from the beginning just installing the mod of Null Parameter.

2. Thumbnail from first image in post, needs 1 code substitution.
*See post number 212 on page 15. Click here

3. Thumbnail from first user spesified image url, needs 2 code substitutions.
*See post number 211 on page 15. Click here and also
*See post number 228 on page 15. Click here

Tested and working on a vbulletin 4.1.3 forum
__________________
http://www.vbulletin.org/custompics/forum/signaturepics/sigpic407391_1.gif

Last edited by Mikevet1984; 30 May 2011 at 18:25.
Reply With Quote
  #272  
Old 30 May 2011, 17:03
Khriz's Avatar
Khriz Khriz is offline
 
Join Date: Apr 2011
Thanks Mikevet1984
but I decided to use this product:

http://www.vbulletin.org/forum/showthread.php?t=259519

It seems broadly higher
Reply With Quote
  #273  
Old 30 May 2011, 18:06
joacocarp joacocarp is offline
 
Join Date: Mar 2011
Thanks! .. now found 100%
Reply With Quote
  #274  
Old 31 May 2011, 14:27
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Little update here, i'm still working on it in order to make every options to work fine!
Tho, i'm stuck with some necessary scripts that do not return right results

Once i will have my answer and fix them, i will open a new thread with the fully updated version.

Pls be patient as i'm not a full coder and learning as it goes
I will also try to modify the plugin to add the quick edit options for the thumb already posted.

Tks guys
Reply With Quote
  #275  
Old 03 Jun 2011, 08:06
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Ok, as it goes, i have made a few changes in it!
Every options should work fine except for the "Thumbnails are required" .
  1. User enter URL
  2. 1st image in post
  3. 1st attachment

Set up the options as seen on picture. The "Automatic Template Edits" is not totally well tuned, so i would recommend that you make the necessary modif manually.


I will open a new thread with the info and new file to import.

IT is attached here since lots of you are passing in
Attached Images
File Type: jpg cover.jpg (111.7 KB, 40 views)
Attached Files
File Type: zip Thread Thumbnails V4.zip (4.4 KB, 17 views)
Reply With Quote
  #276  
Old 03 Jun 2011, 10:33
Mikevet1984's Avatar
Mikevet1984 Mikevet1984 is offline
 
Join Date: Nov 2010
Thank you fxwoody!
__________________
http://www.vbulletin.org/custompics/forum/signaturepics/sigpic407391_1.gif
Reply With Quote
  #277  
Old 03 Jun 2011, 11:07
lachgas lachgas is offline
 
Join Date: Apr 2006
thaaaannnkksss... fxwoody
Reply With Quote
  #278  
Old 03 Jun 2011, 12:23
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Ok guys, i made a new fresh post with all the infos in it

http://www.vbulletin.org/forum/showthread.php?t=264655
Reply With Quote
  #279  
Old 18 Jun 2011, 11:49
mwink mwink is offline
 
Join Date: Mar 2008
[QUOTE=joacocarp;2201343]First Thanks for the mod!

The mod found but I have now 2 pics on the forum display page 1 before thread icon and 1 after thread icon:




Uploaded with ImageShack.us


I use Vbulletin 4.1.2

How did you fix this? We have the same problem!



Thanks!
Reply With Quote
  #280  
Old 21 Jul 2011, 07:18
radiofranky radiofranky is offline
 
Join Date: Jun 2011
Hi,

I was wondering if is possible to use it on vbadvanced. I have list of thread from each of the forum and would like display with a thumbnail in front of the title.

I added "{vb:raw thread.thumbnail}" but is not displaying anything.

your help is appreciated.

thanks


update: I have manually edited those templates and in the forum listing, the thumbnails are showing ok, but not with vbadvanced. It would be very nice if can be displayed in vbadvanced template. I think the variable somehow is not being returned

Last edited by radiofranky; 21 Jul 2011 at 17:19.
Reply With Quote
  #281  
Old 22 Jul 2011, 04:51
radiofranky radiofranky is offline
 
Join Date: Jun 2011
Originally Posted by Daniel_HBK View Post
WOW great hack !! , Installed + 5 Stars + nominated MOTM

can you make it for vbadvanced news module ?
Hi,
I'm also looking for this to be featured in vbadvanced. I have a list to thread on the frontpage and would like to display thumbnails next to the title.

I have tried to modify the vbadvanced template but somehow it seems like the img url variable is not being passed through. I'm not sure if you have a better luck?

thanks
Reply With Quote
  #282  
Old 22 Jul 2011, 20:55
radiofranky radiofranky is offline
 
Join Date: Jun 2011
Hi,
I was wondering if you could explain whey there are 3 files need to edit and why those files?
I would like to understand why so that I might able to implement it on vbadvanced module.

I really want to display thumbnails next to the title for my vbadvanced recent module but so far nothing is happening.

thanks
Reply With Quote
  #283  
Old 02 Sep 2011, 23:41
zairafusco zairafusco is offline
 
Join Date: Apr 2011
hi,
thanks for your work.. really awesome..
just one question for you:
using your mod i get to built a very nice ordered list, showing the thumbnails, now it'd be perfetc if i could show the threads not by date (newest first) but alphabetically by title.. is it possible?

thanks again
Reply With Quote
  #284  
Old 16 Sep 2011, 02:07
adambloch adambloch is offline
 
Join Date: Jun 2006
Hi Really enjoy this product but I have a little problem...

When I use RSS to thread when the tread is created the image is not displayed. If I go into the thread and edit then save the image will display... Can you think of a way around this problem? It's the same problem as when you add the product to an existing forum all the existing threads have missing images.

Many thanks

Adam
Reply With Quote
  #285  
Old 28 Sep 2011, 21:00
jacobsen1 jacobsen1 is offline
 
Join Date: Dec 2007
OK, installed it and loved it. I could maybe use some CSS help though? Any idea on how to take the image given and force it to be a square thumb WITHOUT squeezing it into a square shape? IE I'd like it to clip the edges.

Thanks,
Ben

http://newschoolofphotography.com/li...ring-critique/
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 01:33.

Layout Options | Width: Wide Color: