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

  #271  
Old 11 Dec 2008, 00:41
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Real name: Dennis "theOZer" Osborne
The search.php supplied with this mod works in vB3.6.8-9. It most likely works in vB3.6.10-12.

To use the Thread Thumbnail - Search plugin in either/both vb3.7.x and vB3.8.x you need to tweak your copy of search.php, then turn this Thread Thumbnail - Search plugin ON. See my post on Page 8, Post #112 for the search.php code tweak.

Hope this helps. ~OZ

Always test changes first in your testvb instance.

Rename, NEVER DELETE, your current copy of search.php, e.g., rename it to search_original.php. Easy to go back to it if things go awry.

Last edited by theOZer; 11 Dec 2008 at 01:31.
Reply With Quote
  #272  
Old 11 Dec 2008, 06:41
indiawilds indiawilds is offline
 
Join Date: Nov 2008
Thumbnails to be dispalyed with full image in the Post

Originally Posted by NeverBored View Post
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.
Can you please tell me in detail, i tried to search for your post but was unable to find the relevant information.

Please let me know how to set the image size to full in the post.

Thanks.
Reply With Quote
  #273  
Old 12 Dec 2008, 04:10
indiawilds indiawilds is offline
 
Join Date: Nov 2008
Viewing images full in the Post

Originally Posted by NeverBored View Post
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.
Hello,

Can you please let me know what i need to do to display the images in full in the post.

What do i change in the Thumbnail file?

It is really urgent.

Awaiting your reply.
Thanks.
Reply With Quote
  #274  
Old 12 Dec 2008, 14:48
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Real name: Dennis "theOZer" Osborne
If it's that urgent try doing a 'Search this Mod' looking for Neverbored.
Reply With Quote
  #275  
Old 16 Dec 2008, 22:18
Lulubelle Lulubelle is offline
 
Join Date: Dec 2008
Wonder if anyone can help...I really want to use this mod but no matter what I do the thumbnail in the thread is huge (the actual size of the uploaded image).

I have 'create thumbnails' turned on and made them size 150px...but it made the thumbnails in the post tiny...but the thread thumbnails were still huge.

Any help anyone?
Reply With Quote
  #276  
Old 17 Dec 2008, 09:52
indiawilds indiawilds is offline
 
Join Date: Nov 2008
Displaying Thumbnails and Attachments in Posts

Hello,

I am desperately seeking your advice. I am using your hack for displaying thumbnails in the thread. But after making the view Thumbnails option i am not able to view the attachments in the post.

Can you please tell me in detail what settings I have to do to the Thumbnail template to display the thumbnails as well as the attachment in the post.

I am waiting eagerly for your reply, since i am facing the problem in my forum.

Thanks.
Reply With Quote
  #277  
Old 17 Dec 2008, 11:14
indiawilds indiawilds is offline
 
Join Date: Nov 2008
Hello,

At last found your code and updated the template. The thumbnail issue is solved.

Thanks a lot NeverBored and theOZer.

Regards.
Reply With Quote
  #278  
Old 17 Dec 2008, 20:09
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Real name: Dennis "theOZer" Osborne
Originally Posted by Lulubelle View Post
the thumbnail in the thread is huge
Hello Lulubelle,
If you're talking about the Threads in Forum displayed thumbnails add Width and Height to the thread thumbnail <img src= threadbit template code where applicable.
For example, try this (change 50 to whatever size value you end up liking):
<img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" alt="" width="50" height="50" border="0" />
~OZ

Last edited by theOZer; 27 Dec 2008 at 14:38.
Reply With Quote
  #279  
Old 18 Dec 2008, 16:51
Lulubelle Lulubelle is offline
 
Join Date: Dec 2008
that worked great thanks!!
Reply With Quote
  #280  
Old 21 Dec 2008, 18:31
ThomasR ThomasR is offline
 
Join Date: Mar 2005
works on 3.8 RC2
Reply With Quote
  #281  
Old 21 Jan 2009, 17:20
dmknights dmknights is offline
 
Join Date: Jul 2007
Real name: Darren
will this work for 3.8?
Reply With Quote
  #282  
Old 21 Jan 2009, 17:51
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Real name: Mj Bain
mine still working on 3.8
__________________
____________
BossLady
Reply With Quote
  #283  
Old 21 Jan 2009, 19:19
dmknights dmknights is offline
 
Join Date: Jul 2007
Real name: Darren
*Installed*
Works Perfect on 3.8.0
Reply With Quote
  #284  
Old 29 Jan 2009, 11:23
hieronymous hieronymous is offline
 
Join Date: Dec 2007
this is a great little plug-in that i've been using almost since i set my board up

i notice it's marked as "not supported" so i guess no tweak was ever released to get it to create thumbnails from embedded [img] files, a facility that was requested early on in the thread?


(for some reason if i search the thread for "[img]" it returns 0 posts, and i don't want to wade through all 19 pages if somebody knows the answer straight off)
Reply With Quote
  #285  
Old 30 Jan 2009, 15:20
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Real name: Dennis "theOZer" Osborne
You are correct. In this mod, at least, no tweak was ever released to create thumbnails from embedded [img] files. This mod simply, and so effectively, can only grab/see/display a thumbnail 1) if the thumbnail was created thru vB Attachment Manager and 2) if the thumbnail is in the thread's first post.
Possibly doing a search thru all of vB.org's forums may turn something up.
~theOZer
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 07:29.

Layout Options | Width: Wide Color: