Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Thread Thumbnail Details »
Thread Thumbnail
Mod Version: 1.1, by jasonmerchant (Member) jasonmerchant is offline
Developer Last Online: Jun 2009 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (21 votes - 4.81 average) Installs: 208
Released: 21 Sep 2007 Last Update: 21 Sep 2007 Downloads: 1391
Not Supported Uses Plugins Template Edits  

This plugin is the newest version of the Thread Thumbnail plugin

This plugin will display the first attachment as a thumbnail on forumdisplay.php

New Features:
  • If there are attachments that are not images, it will skip them and go to the first image attachment.
  • Optional - you can now display thumbnails on search results.



Installation:

In your AdminCP, go to Plugin System, Download/Upload Plugins and import the xml document.

Be sure to change the forum ids in the $thumbsforums array to the forum ids you want to enable thumbnails in.

The plugin comes with the Search Thumbnails enabled. If you do not want to have thumbnails show up in the search results, make sure you deactivate it.

If you would like thumbnails to display in the search results, you will need to replace your search.php page with the one in the zip file. Unfortunately vBulletin forgot to include a hook variable where it is necessary for this to work. I have added 1 line to search.php with the hook variable. There is no way around this until vbulletin adds it themselves.

Next you will need to modify your threadbit template:

Find:

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

Replace With:

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

You will also need to upload an image to display if there are no image attachments here: $stylevar[imgdir_misc]/nothumb.jpg(ex: http://www.mysite.com/forums/images/misc/nothumb.jpg). I've made a simple one you can use or you can make your own. By default thumbnails are confined in a 100x100 px area, I found that it looks good to make the "no image" image about 100x83 px.

_____________________________________________________

Add-ons (Optional)

UserCP option to turn the thumbnails on/off on a per user basis

Go into your admincp and click User Profile Fields->Add New User Profile Field.

Select "single selection radio buttons", click continue.

For title put "Thread Thumbnails", for description put "This will allow you to turn the thumbnails of threads on and off."

For options, enter "On" and "Off".

Skip down to Display Page and choose "Options: Thread Viewing".

In your threadbit template(assuming you already applied the template changes above):

Find:

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

Replace with:

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

You need to replace field5 with the field name of the profile field you created earlier.

Download Now

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

Screenshots

Click image for larger version

Name:	attachment.jpg
Views:	5492
Size:	36.5 KB
ID:	70123  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Thread Thumbnail jasonmerchant vBulletin 3.5 Add-ons 196 04 Jan 2009 10:26

Comments
  #2  
Old 21 Sep 2007, 21:30
V-T-H V-T-H is offline
 
Join Date: Feb 2007
let me be the 1st to thank u
Reply With Quote
  #3  
Old 21 Sep 2007, 21:37
grazianno grazianno is offline
 
Join Date: May 2006
wow great
Reply With Quote
  #4  
Old 21 Sep 2007, 21:40
nnjj.net nnjj.net is offline
 
Join Date: Dec 2002
Be sure to change the forum ids in the $thumbsforums array to the forum ids you want to enable thumbnails in


where???
Reply With Quote
  #5  
Old 21 Sep 2007, 21:44
peterpigman peterpigman is offline
 
Join Date: May 2006
Nice, i will update later ty.
__________________
Uncover Reality
Reply With Quote
  #6  
Old 21 Sep 2007, 21:53
ThomasR ThomasR is offline
 
Join Date: Mar 2005
Is this plugin show the first -image- in attachement? I mean, if the first attachemnt is a file and the second an attachement, does it display the thumbnail and not an "no image" icon?
Reply With Quote
  #7  
Old 21 Sep 2007, 22:17
jasonmerchant jasonmerchant is offline
 
Join Date: Jun 2005
nnjj.net:


On the first line:


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

Change 2 to the forum id. So if you want to enable thumbnails in forums 3, 7, and 12, it would look like:


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

A new version of the plugin is available. You can find the new thread here.


ThomasR:

If the first attachment is a non-image file(ie: zip, txt, etc.), it will be skipped, and it will show the first image attachment.

This is a new feature, just added in this version.
Reply With Quote
  #8  
Old 21 Sep 2007, 23:00
nnjj.net nnjj.net is offline
 
Join Date: Dec 2002
how I can disaply the image if there is no image attachment instead of showing no thumb?
Reply With Quote
  #9  
Old 21 Sep 2007, 23:13
Spank Spank is offline
 
Join Date: Jan 2007
Real name: Mark
This will come in handy in the near future. Thanks.
Reply With Quote
  #10  
Old 22 Sep 2007, 02:16
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Real name: Dennis "theOZer" Osborne
Upgraded from TT V1.0. Works great. Seems a bit perkier, too. Excellent.
May I advise that if updating from TT V1.0, after noting the forums in your current Thread Thumbnail plugin that will need re-inserted, delete your TT V1.0 plugin, then install TT V1.1. Maybe this is just understood when doing plugin updates. I'm a rookie mostly. Whatever...
Also, the V1.0 template changes didn't appear to need massaged. Those changes are already in place. Good.
Great Hack/Mod. This adds so much to displayed art forums. Great idea.
Post Thoughts 9/22/2007:
Thumbnails in New Posts caps this off! Nice touch.

Last edited by theOZer; 22 Sep 2007 at 18:38.
Reply With Quote
  #11  
Old 22 Sep 2007, 02:20
bing11 bing11 is offline
 
Join Date: Feb 2003
thank you nice work
Reply With Quote
  #12  
Old 22 Sep 2007, 03:17
b65ran b65ran is offline
 
Join Date: Apr 2005
Thanks a lot. I was waiting for this for a long time. Is there a way to show thumbnails to unregistered users ?
Reply With Quote
  #13  
Old 22 Sep 2007, 07:26
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
WOW this looks awesome, I will need to have a good look at this one for sure. Thanks.
Reply With Quote
  #14  
Old 22 Sep 2007, 10:14
ThomasR ThomasR is offline
 
Join Date: Mar 2005
Originally Posted by jasonmerchant View Post
nnjj.net:
ThomasR:

If the first attachment is a non-image file(ie: zip, txt, etc.), it will be skipped, and it will show the first image attachment.

This is a new feature, just added in this version.
Ok, great !
And in the original hack of the thread thumbnail, if an attached image (I mean an image which is equal or less the size of the thumbnail size) and and attachement which is a full size image, the hack display in the threadlist only the attached image and not the thumbnail of the full size image. If no attached image, then, it's the thumbnail which is display.
It's the exact behavior of the original hack.
Anyway, the current one is better than the previous one, thank you for your update!

PS: if you don't understand what I mean, I can show you some sample on my own forum
Reply With Quote
  #15  
Old 22 Sep 2007, 10:30
rayphua rayphua is offline
 
Join Date: Jul 2007
Im not sure why mine isn't working. Using vb 3.6.7pl1.
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 11:55.

Layout Options | Width: Wide Color: