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:	5493
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 09:26

  #256  
Old 16 Nov 2008, 14:29
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Real name: Dennis "theOZer" Osborne
Originally Posted by siliconfinance View Post
Does this work for .png images?
It should; the plugin checks for .jpg, .gif, and .png.
Reply With Quote
  #257  
Old 03 Dec 2008, 12:05
indiawilds indiawilds is offline
 
Join Date: Nov 2008
Thumnail plugin for vb 3.7

Hi,

I have vb 3.7 version. From the Admin panel i tried to import/download the .xml file, but i am not able to do it.

I am new to vb..so can you please tell me how do i get the xml file and then install the plugin.

Thanks.
Reply With Quote
  #258  
Old 03 Dec 2008, 13:22
indiawilds indiawilds is offline
 
Join Date: Nov 2008
not displaying thumnails in 3.7.4

Hi,

I installed the plugin..but it is dispalying no thumbnails available file instead of showing the attachment.

Please let me know what needs to be done..i am using 3.7.4 vb version.

Thanks
Reply With Quote
  #259  
Old 03 Dec 2008, 13:52
Cocko Cocko is offline
 
Join Date: Oct 2006
Question about search results with GARS

Did somebody get the search results working with GARS header images
instead of attachment thumbnails?
Reply With Quote
  #260  
Old 03 Dec 2008, 17:09
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Real name: Dennis "theOZer" Osborne
indiawilds, I sent you a PM. Hope it helps.

Cocko, What is 'GARS header images?' Is that a person or a software package or...?
Reply With Quote
  #261  
Old 03 Dec 2008, 18:31
Cocko Cocko is offline
 
Join Date: Oct 2006
Geek Article and Review System (GARS) LITE or the paid GARS

Header images are uploaded images from article / review authors
which are shown in threadlists and stored by GARS but not vB
attachment system.

It would be interresting how search results from Thread Thumbnail
and GARS get together.
Reply With Quote
  #262  
Old 03 Dec 2008, 22:32
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Real name: Dennis "theOZer" Osborne
Cocko,
I got on thevBGeek forum; this GARS Module update/whatever has yet to be written by them; the vB3.5.3 GARS LITE Version 1 on vB.org doesn't contain the threadblock.php file.
Get me a copy of this threadblock.php and I'll see if I can figure out how to incorporate this into displaying uploaded images in vB.
I probably can't help you here, but, we will see.
Reply With Quote
  #263  
Old 06 Dec 2008, 17:29
james shadle's Avatar
james shadle james shadle is offline
 
Join Date: Oct 2007
Thread Thumdnail with 3.7.4 ?

Howdy!
I upgraded 3.7.4 from 3.6.8 and I can't get Thread Thumbnail to work.
Thread Thumbnails worked great with 3.6.8.

Is it something I might be doing wrong or is it not compatible with 3.7?

Thanks James
Reply With Quote
  #264  
Old 06 Dec 2008, 20:39
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Real name: Dennis "theOZer" Osborne
James,
Yes, this mod works in vB3.7.4, also in vB3.8.0 betas & RC1.
After reverting your threadbit template(s) to vB374 did you re-add the thread thumbnail code to the threadbit template(s)? The threadbit template IF statement you need to update is a bit different from vb3.6.8's threadbit template but you should be able to figure it out, where to add Jason's TT code.
If you have the 'Thread Thumbnail - Search' plugin turned ON - Did you add the TT code to the vB3.7.4 search.php file? (see Post # 112 on Page 8, the change also applies to vB374)
If you have the 'Thread Thumbnail - Tag Search' plugin turned ON - Did you add the TT code to the vB3.7.4 tags.php file? (see Post # 169 on page 12, this change also applies to vB374)
I have a bit lengthy (too lengthy to post) write up on installing just the forum Thread Thumbnails mod. I can PM you it if you're interested.
Regards, theOZer
Reply With Quote
  #265  
Old 08 Dec 2008, 09:47
indiawilds indiawilds is offline
 
Join Date: Nov 2008
Display thumbanils in threads and full image in posts

Hi,

I am using vbulletin 3.7.4 version. I have enabled the display thumbnails option for viewing thumbnails in the thread by using the hack thread thumbnails.

I have also enabled the view image inline to view full images in the posts.
I want the attachment to be seen as a full image instead of a thumbnail in the posts.

Please let me know how i can see both the thumbnails and the attachments.

Thanks
Reply With Quote
  #266  
Old 09 Dec 2008, 08:36
indiawilds indiawilds is offline
 
Join Date: Nov 2008
View Thumbnails and Attachments

Hi,

After using this plugin i am able to see the thumbnails in the thread, with the display thumbnail option set to 'yes', but by doing that the attachments also appear as thumbnails.

so can you please suggest a way out in which i am able to see the thumbnails as well as view the attachments in line in the posts.

really need your help in this.

Thanks.
Reply With Quote
  #267  
Old 10 Dec 2008, 00:14
NeverBored NeverBored is offline
 
Join Date: Feb 2008
Originally Posted by indiawilds View Post
Hi,

After using this plugin i am able to see the thumbnails in the thread, with the display thumbnail option set to 'yes', but by doing that the attachments also appear as thumbnails.

so can you please suggest a way out in which i am able to see the thumbnails as well as view the attachments in line in the posts.

really need your help in this.

Thanks.
Keep thumbnails on, but edit the thumbnail template to display the full size image. If that's not enough info I explained exactly what to do earlier in this thread, just find my post.
Reply With Quote
  #268  
Old 10 Dec 2008, 19:35
StormLily StormLily is offline
 
Join Date: Jan 2008
I have recently installed this mod, which seems to be working quite well, but for some reason when I go into the Quick Links >> New Posts, a bunch of code is displayed and it doesn't give me any of the new posts within the forum. Did I do something wrong? I do not have the thumbnail search enabled either, could that be it?
Reply With Quote
  #269  
Old 10 Dec 2008, 20:12
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Real name: Dennis "theOZer" Osborne
StormLily,
The Thread Thumbnail - Search plugin is installed as 'Active' along with the forum Thread Thumbnail plugin when you do the install. If you have not also tweaked Search.php, adding Jason's code, you will get database errors when you do a New Post search. You need to go into Plugin Manager to turn plugins On/Off, to turn this plugin Off, if applicable.
Does this help?
OZ
Reply With Quote
  #270  
Old 10 Dec 2008, 21:40
StormLily StormLily is offline
 
Join Date: Jan 2008
Originally Posted by theOZer View Post
StormLily,
The Thread Thumbnail - Search plugin is installed as 'Active' along with the forum Thread Thumbnail plugin when you do the install. If you have not also tweaked Search.php, adding Jason's code, you will get database errors when you do a New Post search. You need to go into Plugin Manager to turn plugins On/Off, to turn this plugin Off, if applicable.
Does this help?
OZ
What exactly needs to be done with the Search.php?
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 12:08.

Layout Options | Width: Wide Color: