Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Thread Thumbnails Details »
Thread Thumbnails
Mod Version: 2.20, by Null Parameter (Member) Null Parameter is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (31 votes - 4.45 average) Installs: 258
Released: 28 May 2009 Last Update: 09 Apr 2010 Downloads: 2043
Not Supported DB Changes Uses Plugins Auto-Template Re-usable Code Translations  

Thread Thumbnails
--------------------------------------
Created By: Null Parameter

This mod is officially tested with 3.8.1, but has been reported to work with many other versions.

Please leave any comments, suggestions or bugs.

Description

This mod allows a user, when creating or editing a thread, to specify a Thumbnail image to be used for display next to the thread in the Thread Listing.

With this mod you can define a set of forums that have thumbnails enabled, then in those forums whenever a user creates or edits their thread they can change their thumbnail, based on the method that you choose to allow.

This image is then shown in the Forum Display, in place of the Thread Icon.
The image also appears in Search & Tag Search, and I can add it to the regular Search if somebody requests it. And possibly have options for displaying in each area.

Forum Display:
Attachment 105596

Search:
Attachment 105597

ACP Options:
Attachment 105595

Installation

Install the Product XML File. That's it!

All Template Edits Are Now Automatic.

If you are Upgrading from the older version, see directions in the README file on how to undo the template edits.

Demo

Possible Future Features (With Request)
  • Additional column instead of replacing Thread Icon
  • Displaying Thumbnail within thread
  • Edit thumbnail through Thread Edit
  • Thumbnail Preview in Edit Window
Fixes
  • Version 2.2
    • Fix Attachment + Default Thumbnail Option Combo
  • Version 2.1
    • Fix DB Error when using First Attachment option
    • Fix issue with New threads not saving thumbnail
  • Version 2
    • Added Features:
      • Automatic Template Edits
      • Thumbnails in Search
      • Thumbnails from First Image/First Attachment
      • Thumbnails on Sticky Threads
    • Fixes:
      • Miscellaneous Fixes

Download Now

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

Screenshots

Click image for larger version

Name:	ACP Options.jpg
Views:	2540
Size:	120.3 KB
ID:	105595   Click image for larger version

Name:	Forum.jpg
Views:	4785
Size:	81.0 KB
ID:	105596   Click image for larger version

Name:	Search.jpg
Views:	2620
Size:	77.3 KB
ID:	105597  

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.
  #46  
Old 01 Jun 2009, 01:41
kalisekj kalisekj is offline
 
Join Date: Dec 2006
Update : Making a New Thread it works , but editing a thread and putting in a url does not work. It will not save the URL.
Reply With Quote
  #47  
Old 01 Jun 2009, 01:41
kalisekj kalisekj is offline
 
Join Date: Dec 2006
No Image shows up when I remove the No thumbnail Image. Not even the selected Smiley
Reply With Quote
  #48  
Old 01 Jun 2009, 01:52
kalisekj kalisekj is offline
 
Join Date: Dec 2006
I even tried using the code for newthread and still no good, the url is not being saved. I checked to see if it was because I was not owner of the thread and that was not the problem either. I'm running out of ideas of why it will not save the url info.
Reply With Quote
  #49  
Old 01 Jun 2009, 01:58
kalisekj kalisekj is offline
 
Join Date: Dec 2006
This is very important since there are 6,000 movies already posted I would like to show the Thumbnail for the movie.
Also Stickied Threads are not showing anything but the post icon.
Sure would be nice if I had the option to pull in the first attachment.??

Last edited by kalisekj; 01 Jun 2009 at 02:07.
Reply With Quote
  #50  
Old 01 Jun 2009, 02:01
aztecboi2003 aztecboi2003 is offline
 
Join Date: Apr 2007
Sorry I can't help you. My smilies don't show either, but I don't mind. I can edit an post and add a smilie but it doesn't save. But on my board i don't mind. But if I edit a post and add a url it works for me.
Reply With Quote
  #51  
Old 01 Jun 2009, 02:17
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Posting 6 times in under an hour isn't going to get me to reply any quicker, I can't be sitting at my computer every minute of every day.

I don't know what to tell you about the edit not working, because it has been working for everybody else. You could try uninstalling and reinstalling it, but besides that I can't really tell you anything else.

You can also try this version, it includes a little change to add the URL differently, more similar to the New Thread way. But besides that, I wouldn't even know where to start.

Last edited by Null Parameter; 01 Jun 2009 at 03:17.
Reply With Quote
  #52  
Old 01 Jun 2009, 02:31
kalisekj kalisekj is offline
 
Join Date: Dec 2006
Sorry about the multiple posts, Dawned on me kinda late to just edit my thread and add in new info. More info on the problem though, if I create a thread and put in a thumbnail url (which works fine), then decide to edit the thread and change the url, it lets me edit the url and saves it fine. Example of how things are going, http://freeonlinemoviesforum.com/2009-movies-f126.html.


I appreciate any and all help you can give on this. I will try the new file you gave and let you know.
Ok I installed new file and allowed overwrite but appears nothing happened and no difference, also if new thread is moved to another forum i lose the ability to change the url or even add one.

Are there any different template edits I need to make with that new file?

Last edited by kalisekj; 01 Jun 2009 at 03:17.
Reply With Quote
  #53  
Old 01 Jun 2009, 03:17
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Originally Posted by kalisekj View Post
Ok I installed new file and allowed overwrite but appears nothing happened and no difference, also if new thread is moved to another forum i lose the ability to change the url or even add one.
Moving the thread to a different forum will remove the ability to change the URL because that second forum probably isn't in the list of forums in the ACP.

As far as not saving the information, I'm not sure what's going on. I'll keep looking into it, but at this time I don't have a clue.
Reply With Quote
  #54  
Old 01 Jun 2009, 03:50
kalisekj kalisekj is offline
 
Join Date: Dec 2006
I have enabled like 50 forums for the thumbnail, could that be causing the problem? Having too many forums enabled? This mod you made is truly AWESOME and exactly what I have been looking for on my site and works good on new threads made. I appreciate any and all help on this and any upgrades you may make, like if it will bring in the first attached image that will automatically bring in all posters for my site on activated forums. If you can do that then you can surely expect a donation from me for that solves all my problems and will make the site Look so much better. WooHoo!
Reply With Quote
  #55  
Old 01 Jun 2009, 03:58
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
You could try just enabling it on one and see if that fixes the issue, but I don't think that will do it.

I'll be working on the attachment thing in the very near future, that's been requested a few times, so it's high on the priority list.
Reply With Quote
  #56  
Old 01 Jun 2009, 14:35
kalisekj kalisekj is offline
 
Join Date: Dec 2006
I did a little more digging into this, as I see it you are creating a db table "$db->query_write("ALTER TABLE " . TABLE_PREFIX . "thread ADD thumbnailurl varchar(250) NOT NULL");"
I checked my DB and there is not a Table_Prefix , nor a threadinfo, nor a thumbnailurl field

<td><input type="text" class="bginput" name="thumbnailurl" value="$threadinfo[thumbnailurl]

I think the problem is that the table was never created nor the field for the table so the info is not getting saved properly. Can you help me figure this out?

I manually created the Table "threadinfo" and put in the field "thumbnailurl" but it did not seem to make a difference.
http://i42.tinypic.com/29bkl6h.jpg

Last edited by kalisekj; 01 Jun 2009 at 14:40.
Reply With Quote
  #57  
Old 01 Jun 2009, 15:14
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
You may or may not have a Table Prefix, that depends upon the database, but vBulletin should take care of that, this is how all of the vBulletin code works.

The db code you mentioned above adds the thumbnailurl column to the thread table, which I can see from the image does already exist. The $threadinfo doesn't reference the table itself, but a PHP variable that's defined to hold information retrieved from the thread table.
Reply With Quote
  #58  
Old 01 Jun 2009, 18:35
kalisekj kalisekj is offline
 
Join Date: Dec 2006
Hey Null where can I go to see if the url values are being written to the db?
I also had to manually add in thumbnailurl field to the Thread Table, still made no difference.
I manually inserted data into the thumbnailurl field for a particular thread and still the system is not bringing in the poster. So I am obviously looking in the wrong place for the db info on these thumbnails.
I also searched the entire db for one of the url's from a new post in which the thumbnail is working and see no results in the DB for that thumbnail, where is the system hiding this info?
Thanks for all your help on this.

MySQL client version: 4.1.22
MySQL charset: UTF-8 Unicode (utf8)

Last edited by kalisekj; 01 Jun 2009 at 19:43.
Reply With Quote
  #59  
Old 01 Jun 2009, 19:02
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
From that screenshot you sent earlier, you'll have to search in the thread table using a threadid that you have attempted to set the thumbnail on. Then look for the thumbnail url field, there will either be a url there or there will be nothing.
Reply With Quote
  #60  
Old 01 Jun 2009, 20:21
kalisekj kalisekj is offline
 
Join Date: Dec 2006
Hi Null,
First off the thumbnailurl was not even a field in the Thread Table, I created the field manually in the Thread Table, input a image url on a particular thread and it did not show up when I edited that thread. I then took the url for the thread thumbnail that does work and did a complete search of the entire VB DB and it did not find the url. Although it did find the url I did put in manually. So I am missing something, mostly curious where is it writing the info to if not the Site's DB? Also shouldn't it pull the one thumbnailurl I manually put in the db?

I appreciate you helping me with this,
Maybe you could help me tell it to write and retrieve the url from the Table and field I created, I have created Table = Threadinfo with Field = thumbnailurl, I also put in Table = Thread the Field = thumbnailurl, with the same parameters I believe you intended to use.
I am sorry to be such a bother but this is very important to my website and its users and you would earn the gratitude of me and thousands of people all around the world for your help on this matter.

Last edited by kalisekj; 01 Jun 2009 at 20:41.
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:06.

Layout Options | Width: Wide Color: