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: 244
Released: 03 Mar 2010 Last Update: 30 Apr 2010 Downloads: 1664
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:	8242
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

  #241  
Old 31 Mar 2011, 11:33
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Originally Posted by dr.tawy View Post
i tried adding the template but didn't work for me

i really appreciate any help as i am trying to set thread thumbnails for more than 8.000 threads and all with a small thumbnail (specific image) and cannot be the first image nor attachment so any help would me very much appreciated

sorry for being pushy.
Let me get you here! Are the Thumbnail showing in the threadlist???
If so, you can use megamoose's Script to get the first images of every posts!

here:

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

Reply With Quote
  #242  
Old 31 Mar 2011, 11:51
Mikevet1984's Avatar
Mikevet1984 Mikevet1984 is offline
 
Join Date: Nov 2010
A lot of bugs really...

The instructions included in the mod's folder do not work....

Follow fxwoody and dirk2103 tutorial which works 100%. It is on page 15 posts 211 and 212.

I think a moderator should ad these html script tutorials in the first post so the user's to get help without needed to read 17 pages of posts.
__________________
http://www.vbulletin.org/custompics/forum/signaturepics/sigpic407391_1.gif

Last edited by Mikevet1984; 31 Mar 2011 at 11:56.
Reply With Quote
  #243  
Old 01 Apr 2011, 03:25
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Tks Mikevet1984

I think it should mandatory for mods that are not supported anymore to be replaced or like you said UPDATED !
We have been working on this to make it work for looooong time without Null P. and ........well we'll see what future is reserved

Cheers Mike!
Reply With Quote
  #244  
Old 01 Apr 2011, 07:36
Mikevet1984's Avatar
Mikevet1984 Mikevet1984 is offline
 
Join Date: Nov 2010
Dear fxwoody!

I have seen some mods here in the vbulletin.org which did not got updated by the coders and and as a result some other coder took the responsibility to post a new thread with the same mod updated by themselves.

I think this is the solution to the problem with all these abandoned mods. In terms of this mod sb should change the plug-inscripts with working ones, plus making html script to be added automatically in the templates (in the user defined url) and release this mod as a new one making reference of course as source to this one.
__________________
http://www.vbulletin.org/custompics/forum/signaturepics/sigpic407391_1.gif
Reply With Quote
  #245  
Old 01 Apr 2011, 10:27
dr.tawy dr.tawy is offline
 
Join Date: Feb 2010
Originally Posted by fxwoody View Post
Let me get you here! Are the Thumbnail showing in the threadlist???
If so, you can use megamoose's Script to get the first images of every posts!

here:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
Yes the thumbnails are showing in the threadlist, Mod is working and everything is fine

the problem is that i am following the "User Entered URL" option as i am making a thumbnail image for each thread

i now have about 8.000 threads that i am willing to edit to put a thumbnail image in them (threads are already made)

all what i want is a field on the quick edit mode to enter the url of the thumbnail instead of going to advanced edit mode

it would save a lot of time for me

Thanks,
I really appreciate your help
Reply With Quote
  #246  
Old 01 Apr 2011, 11:09
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Doc! There is no other way for now to import those images with out Megamoose's script
I'm not qualified enough to make those changes inside the scripts, tho, i can tell you from experience that his script works with out a flaw when importing first image from post !
I had the same situation and use URL too, if you have a test site you can try it there first in case of, but, i pretty confident that the script will work fine!
Only trouble is the image itself! If the first one of every posts or so, is a banner or other then the cover page, it will be attach to the thumbnail
Tho you can after, edit the ones that are no good for the post display.

Hope it helps
Reply With Quote
  #247  
Old 01 Apr 2011, 23:27
dr.tawy dr.tawy is offline
 
Join Date: Feb 2010
Originally Posted by fxwoody View Post
Doc! There is no other way for now to import those images with out Megamoose's script
I'm not qualified enough to make those changes inside the scripts, tho, i can tell you from experience that his script works with out a flaw when importing first image from post !
I had the same situation and use URL too, if you have a test site you can try it there first in case of, but, i pretty confident that the script will work fine!
Only trouble is the image itself! If the first one of every posts or so, is a banner or other then the cover page, it will be attach to the thumbnail
Tho you can after, edit the ones that are no good for the post display.

Hope it helps
i see , my only problem is that the first image in post is large in dimension and size so in the end the forumdisplay page loads very slowly as i have it set to show 30 threads per page

i decided to create a thumbnail image with less dimensions and size

anyway i really appreciate your time and i hope you keep supporting this mod as it the best.
Reply With Quote
  #248  
Old 04 Apr 2011, 00:03
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Real name: Lisa
Originally Posted by megamoose View Post
Going to repost this as it works the exact some for this version as the old:

Thanks that worked perfectly
Reply With Quote
  #249  
Old 19 Apr 2011, 22:20
downloadfound downloadfound is offline
 
Join Date: Dec 2007
Originally Posted by megamoose View Post
Null, thanks for this mod. It is perfect.

The thumbnail generator I created in the previous version had a bug in it which would cause a great server load. This new version should run a lot quicker and more efficient. Remember if it does hang on your server decrease the STEP_AMOUNT variable.

Create a file on your server called threadthumbupdate.php with the following in the file and open it in your browser.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
I want to give a big shout out to everyone who's helped make this script happen. It is GREAT!!!!! I hope it continues to work through-out VBs update.

Last edited by downloadfound; 26 Apr 2011 at 05:43.
Reply With Quote
  #250  
Old 26 Apr 2011, 09:24
ahmedipa ahmedipa is offline
 
Join Date: Feb 2009
nice thank you
Reply With Quote
  #251  
Old 05 May 2011, 04:12
shrimpca shrimpca is offline
 
Join Date: Apr 2011
hello

Thumbnail me not show Before Thread.But Show in After Thread in Site

http://www.shrimp-cafe.com/forum/for...B9%89%E0%B8%87
Reply With Quote
  #252  
Old 06 May 2011, 00:04
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Originally Posted by shrimpca View Post
hello

Thumbnail me not show Before Thread.But Show in After Thread in Site

http://www.shrimp-cafe.com/forum/for...B9%89%E0%B8%87
WOW!!! I'm going to have a lot of problem trying to read your site! hahahaha
Did you make all the adjustments in the options???
Reply With Quote
  #253  
Old 23 May 2011, 14:33
vigape vigape is offline
 
Join Date: Feb 2007
nice thank you
Reply With Quote
  #254  
Old 23 May 2011, 15:04
Mikevet1984's Avatar
Mikevet1984 Mikevet1984 is offline
 
Join Date: Nov 2010
fxwoody one smαll request please if possible....

As it was you here in thread that you released the alterations needed to make this mod work with the last version, and also you are a coder, could you please release an updated version of the xml file which will contain all the updated codes?

Or could you release a txt file with all the instructions on how to manually do the alteration to the original mod in a single document to have is as a tutorial and not need to reed some many pages of comments form the date of thread releasing.

Sorry for my bad english!
__________________
http://www.vbulletin.org/custompics/forum/signaturepics/sigpic407391_1.gif

Last edited by Mikevet1984; 23 May 2011 at 15:20.
Reply With Quote
  #255  
Old 23 May 2011, 19:42
Tize. Tize. is offline
 
Join Date: Oct 2009
Hello.
My problem is that I have activated all right but the image never appears in the forums.
The permissions are correct and do not understand.
If I can help please would be great.
Thanks.
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 17:31.

Layout Options | Width: Wide Color: