View Full Version : Forum Display Enhancements - Thread Thumbnails V4 *Upgraded*
fxwoody
06-02-2011, 10:00 PM
Thread Thumbnails V4 Rev 1.1
Description of the main feature:
The Thread Thumbnails V4 plugin is an extra image that will be displayed onto the Forumdisplay Threadlist of specified Forums and subForums.
The user will either have the possibility to add manually or automatically (option setup) the image of is choice to be shown as a Thumbnail.
This mod was originally created by Null Parameter for 3.8 and 4.0, but, for several reasons and many hours of trying to make the mod stable and fully working in vB 4.1.x, i'ved reworked the script and put it in an easier approach.
Functions:
When submitting a New Thread or editing an existing Thread, you can select the option for:
User Entered URL
First Attachment
First Image In Post
When making a new post, the user will either have to input the URL for the thumbnail (User Entered URL option) or the thumbnail will be automatically displayed if the "FIRST" image or attachment option is selected.
To edit a thumbnail, if the "User Entered URL" is selected, a text box will be shown in the editor for them or staff to edit it.( I will try to add the editing option from the quickedit box in the future releases)
If other options are selected, the thumb will be automatically updated when the first image is replace, either from the post or the attachment.
Notes:
For the attachment editing, you will have to delete the first image and then reload it last for the plugin to work. The sequence of attachment doesn't get automatically changed when transferring attachment inside the vBulletin attachment options!
This is part of vBulletin, not the plugin.
For the first image in post option, you can edit directly from the quickeditor in order to replace the thumb.
What's new:
I'ved included an image folder with two thumbnail style for your board, you can easily select the one you need by replacing the name of the thumb in the ACP "Thread Thumbnails Options" from "No Thumbnail Replacement Image"
Thumbnail choice:
nothumb.jpg
nothumb1.jpg
Installation:
Upload the "thumbs" folder into: images->misc->
Import XML file from your ACP Manage Products
You will have to make some manual modifications in you forum's skin in order for the plugin to work well.
Every template mods are included in the Text file of the attachment.
Follow the instructions and you shouldn't have any problems.
Version:
v4.0
-------------
Support for vB4
Removed the Automatic Template Edits
Use Phrases
Option to make Thumbnails Required (fully upgraded)
Option to specify the CSS Style of thumbnail images
New Thumb images added
Thumb Editing upgraded
Megamoose PHP script included in folder
V4.0 Rev1.0 *Updated to 4.1.5*
V4.0 Rev1.1 Changed Selection option
Enjoy the plugin and don't forget to CLICK INSTALLED !
fxwoody
06-03-2011, 11:18 AM
As per requested , i replaced the option for selecting the forums by listing instead of by IDs.
Enjoy!
Mikevet1984
06-03-2011, 11:36 AM
thank you very much fxwoody!
fxwoody
06-03-2011, 11:40 AM
Welcome Mikevet ;)
Now i will have to delete tons of posts in my test forum lolllll
Cheers and let me know if you get any problems :)
Mikevet1984
06-03-2011, 11:42 AM
One question please...
For those already installed the previous mod if I unistall Null parameter mod and install yours will the thumbnails be replaced using this new nod or I will have to manually re-enter all images using the edit function.
I use the User Entered URL.
And one more thing, there is a php file inside the rar file. What does this file do? Do we have to upload this file to the server?
mwink
06-03-2011, 02:15 PM
First of all : Thanks!
And how about this question:
When I choose the First Image in Post option, no thumbnails show up in my current threads. Why?
Will the old add-on work?
Thanks again!
fxwoody
06-03-2011, 09:12 PM
@Mikevet
No this wont replace the old thumbs, it's mostly an update of the plugin.
The PHP is Megamoose script to retrieve missing thumbs or if you add a full forum and do not want to edit every post.
@mwink
This depends on how you had the setup before. If it was on URL or 1st attachment, you wont get the first image to show automatically. This will be done with megamoose script.
Just try manually to edit the post and you will see it appear.
I asked Megamoose if he could modify the script to retrieve the 1st attachment image also.
To be followed .....
nacaruncr
06-03-2011, 10:11 PM
something that would be good, is that when the user places an image in html code hack take the picture too ... because some use the html code and the truth would be nice :D
thanks ;)
fxwoody
06-04-2011, 11:33 AM
I will check for this nacaruncr ;)
No promises tho :)
shrimpca
06-14-2011, 01:16 PM
Where is path .php ???
mitch84
06-14-2011, 01:20 PM
tagged for a future install
COL NIL SATIS
06-14-2011, 01:23 PM
tagged
fxwoody
06-15-2011, 04:54 PM
Where is path .php ???
Path of what shrimpca? The updater for first image in post???
need more info here ;)
mitch84
06-16-2011, 01:47 PM
work fine on vb4.1.4, thx!
mwink
06-18-2011, 07:44 AM
We don't get it to work. It seems installed ok, it shows thread thumbnail options in the admin, I checked the settings, they are also ok. But I just don't get it working. Nothing happens when I make a post... Any suggestions? Thanks!
fxwoody
06-18-2011, 08:17 AM
We don't get it to work. It seems installed ok, it shows thread thumbnail options in the admin, I checked the settings, they are also ok. But I just don't get it working. Nothing happens when I make a post... Any suggestions? Thanks!
Did you upload all the files, made the changes in the templates?
Most important did you add {vb:raw thread.thumbnail} in the threadbit under the right code?
Lots of possibilities, why it would not work mwink.
mwink
06-18-2011, 11:02 AM
Thanks a lot for the quick response. It is working now! Only... we have 2 thumbnails now, 1 before and 1 after the thread icon. Any ideas?
Thanks again!
fxwoody
06-18-2011, 12:35 PM
Yes it's for the 3D effect! lolll just kidding ;)
look in the options and see where the thumbnail location is set to! It should be "After Threadicon"
The location of the thumb is placed with the {vb:raw thread.thumbnail}! If you have a custom template, you might have to play with the location in the script!
But in general, it shouldn't be a problem of script, mostly options ;)
radiofranky
07-22-2011, 03:54 AM
Hi,
I was wondering if you could help me make it work on vbadvanced "recent post module".
I tried to edit the template by inserting the code but it seems like the img url variable is not being passed.
thanks
fxwoody
07-22-2011, 04:50 PM
i will try to help you out but i have not vbadvanced installed on my site :(
The script should be added like in a normal state from the templates...i assume
Let me check it out in my test site to see ;)
radiofranky
07-22-2011, 10:26 PM
thanks very much.
radiofranky
07-23-2011, 01:49 AM
i will try to help you out but i have not vbadvanced installed on my site :(
The script should be added like in a normal state from the templates...i assume
Let me check it out in my test site to see ;)
In your regular edit, you have edited 3 different files. However, in vbadvanced theren't those files.
I only added the code to "adv_portal_recthreads_lean" and is returns nothing.
thanks
trackpads
07-30-2011, 06:34 PM
With 4.1.5 when you install this mod it will tall you it is unsupported. I edited the XML to change the version to 4.2 or something and installed it anyway and it works like a charm. I apprecaite all of your work, thanks alot!!
-Jason
james7zt
07-31-2011, 06:25 AM
hello fxwoody, would you please make it works with vb 4.1.5 I dont have xml editor tool and had never done it before ...
thank you much.
trackpads
07-31-2011, 01:57 PM
Just use notepad and it will be fine.
TEMPESTADE
07-31-2011, 04:24 PM
works fine with vb 4.1.5 tanks
fxwoody
07-31-2011, 07:48 PM
@james7zt : the adjustment as been done
james7zt
08-01-2011, 12:28 AM
@james7zt : the adjustment as been donethank you so much!!!! 1000000000000000000 times :) it working great!!! i love it.
regards,
Chris Ober
08-02-2011, 04:40 PM
Can it be easily modified to add an option to show thumbs for both First Attachment OR
First Image In Post instead of only one or the other? That way if a person uploads an attachment or enters with the IMG tags, a thumbnail is created instead of only creating for the setting it's on.
misericorde
08-04-2011, 10:42 AM
Thank you so much for this update
Installed and working
Luca_ITA
08-05-2011, 04:00 PM
Work on vb4.1.5pl1.
Thank you for this mod!!
Note:
Update instruction for v4.1.5pl1
<img id="posticon_preview" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" title="Selected post icon" />
to
<img id="posticon_preview" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" title="{vb:rawphrase selected_post_icon}" />
nando99
08-12-2011, 04:56 PM
anyway this can be used on the cms front page? i'd like to show my latest threads and have the thread thumbnail show up with it, is that possible?
fxwoody
08-13-2011, 10:17 AM
I do not use the CMS function :(
I will take a look a it from my test site , for curiosity ;)
e3fnxs6p
08-21-2011, 05:12 PM
Currently, when "first image in post" (source2) is set, it won't display thumbnails from attachments. When "first attachment" (source1) is set, it won't display thumbnails from the first image. But often, you would like to have a combination of these options, instead of excluding each other.
You can solve this by doing this:
1) set the thumbnail source to "First Attachment".
2) go to plugin manager > "Forum Display - Threadbit Display" > find the line containing
$hook_query_fields .= ", MIN(attachment.attachmentid) AS attachmentid";
and append under that line, the following line:
$hook_query_fields .= ", thread.thumbnailurl AS thumbnailurl";
That's all.
fxwoody
08-21-2011, 09:36 PM
I'm not sure this would work my friend!
Let me check it out
my123world
09-03-2011, 08:47 PM
The "No Thumb" Image Doesnt Appear For Me... :( What Should i Do?
fxwoody
09-04-2011, 11:27 AM
Did you have you added the scripts from the instruction in every templates??
If thumbs are not showing, normally it's because you are missing the threadbit script.
Or you didn't add the forums from the options?!?!
nacaruncr
09-21-2011, 07:50 AM
Is it work with the align codecs?
center, left, right??
because are someone who not work with them....
excuse me my english :S
angeljs
09-21-2011, 12:19 PM
anyway this can be used on the cms front page? i'd like to show my latest threads and have the thread thumbnail show up with it, is that possible?
I would love this mod to be able to do this :)
angeljs
09-21-2011, 12:21 PM
Does this mod work with the forums' search function?
nacaruncr
09-23-2011, 05:31 AM
Installed and working so fine in 4.1.3 :D thanks :D
misericorde
09-23-2011, 06:49 PM
Thank you
Very nice v.4.1.5
spencerp
09-23-2011, 10:16 PM
I'm interested in this modification, but is there a way to get a thumbnail from like image codes posted in threads/posts using imagevenue.com, photobucket.com type submitted image codes? Like example code for posts below here...
https://vborg.vbsupport.ru/external/2011/09/17.jpg (http://img237.imagevenue.com/img.php?image=381794733_imagesinthreadlookingweird _122_97lo.jpg)
It would just draw out the thumbnail of first image code posted? Usually they're already including a thumbnail image anyway...
fxwoody
09-25-2011, 12:28 PM
as long as you have an [img] tag, the link will be fetch automatically by the hack no mater where it comes from and that the link is alive
fxwoody
09-25-2011, 12:30 PM
I would love this mod to be able to do this :)
I'm looking into it. Will give more info as soon as i can :)
spencerp
10-01-2011, 09:14 PM
as long as you have an [img] tag, the link will be fetch automatically by the hack no mater where it comes from and that the link is alive
Oh okay, well I must have done something wrong or missed something then. When I went into forum display area, it looked like it was going to load some thumbnails, but then they vanished lol. Perhaps I was missing some template coding or the image paths weren't right... >_>
patrixon78
10-30-2011, 05:27 PM
Can anyone tell me where is the proper path for uploading this .php script and how can I run it? Or this .php script need to be uploaded only to some directory? I've managed the thumb's to work but I need to edit every single post to get this work. So I assumed that this .php script will do it automatically?
EDIT:
Nevermind I did like I've been thinking just uploaded the thumbupdater.php to root directory and I've ran the script.
Everything works great on 4.1.7 thanks
Darksome
10-31-2011, 06:48 AM
I'm just wondering, is there anyway to have both first attachment and first image in post in use at the same time?
It would be great to not have nothumb.jpg shown at all if this was possible?
fxwoody
10-31-2011, 09:34 AM
It won't work using both darksome, i end up with conflicts all the time if they are both in the post.
It has to be one or the other.
But a frind of mine is trying something with the script about this ;)
Darksome
10-31-2011, 12:00 PM
That'd be great if it becomes a possibility!
Currently, when "first image in post" (source2) is set, it won't display thumbnails from attachments. When "first attachment" (source1) is set, it won't display thumbnails from the first image. But often, you would like to have a combination of these options, instead of excluding each other.
You can solve this by doing this:
1) set the thumbnail source to "First Attachment".
2) go to plugin manager > "Forum Display - Threadbit Display" > find the line containing
$hook_query_fields .= ", MIN(attachment.attachmentid) AS attachmentid";
and append under that line, the following line:
$hook_query_fields .= ", thread.thumbnailurl AS thumbnailurl";
That's all.
I had tried this solution offered and it does work... to a degree.
I found if I set the option to first image in post and then opened and saved a thread with an [IMG] tag already in it, then changed the option back to first attachment. Thumbnails are shown for threads that have an attachment in them or a thread with an [IMG] tag. :confused:
Which is exactly what I'm after, but having to change options back 'n' forth and open and save every thread that has an [IMG] tag image in it, isn't ideal obviously! :)
fxwoody
10-31-2011, 12:37 PM
i tried it too and yes it's a problem!
I played a lot with "if then" "or else" etc etc and couldn't make it to get one or the other :(
davio33
11-28-2011, 12:10 AM
Doesn't work with imported rss feeds.
I have some imported feeds that have pictures, these pictures use the img code, but cant get the thumbnail to work.
james shadle
01-12-2012, 05:22 AM
I'm just wondering, is there anyway to have both first attachment and first image in post in use at the same time?
It would be great to not have nothumb.jpg shown at all if this was possible?
That would be awesome.!!
downloadfound
01-12-2012, 09:36 PM
Is there a way to use this mod with similar threads?
alhidaya
02-12-2012, 02:30 PM
Hello,
It s ok for 4.1.1.0 ?
talkgraphics
03-09-2012, 02:28 PM
I'm also wondering if this will be OK to install on our forum (v 4.1.10)?
Does anyone have any experience of this?
I'm also wondering if this will be OK to install on our forum (v 4.1.10)?
Does anyone have any experience of this?Yes, It's working perfect on my vb 4.1.10. Thank you much fxwoody.
Tarek128
05-15-2012, 01:04 PM
I don't know why its not working with my 4.1.12 version ;(
Darksome
05-29-2012, 10:02 AM
It works fine on our install of 4.1.10. Anybody know if it's working on 4.2 ?
inigo
07-05-2012, 05:51 AM
Interested in the option to show:
First thumbnail OR first image
We hope any of the coders could help us, because I see we are a lot of people with the same question.
Thanks!
larry suttles
07-07-2012, 01:50 AM
Does anyone know of a plugin that will display the latest thread images on the sidebar? I'm trying to setup a classified system using this mod.. Thanks!
Kirk Fitzgerald
08-04-2012, 10:04 AM
Working fine on 4.2.0 PL2, just edit the xml
change this:
maxversion="4.2.0"
to this:
maxversion="4.2.2"
the xml will install then. ;)
Don't forget to edit posts to get thumbs to show, caught me out at first. :)
Kavada
08-11-2012, 03:28 AM
Would it be possible to do this same function but on the Recent Activity Widget? What I want to do is show the thumbnail from a thread on the Recent Activity Widget where the preview text would go. If someone could get back to me ASAP!!!
Thanks
benative
10-06-2012, 12:48 PM
Working fine on 4.2.0 PL2, just edit the xml
change this:
maxversion="4.2.0"to this:
maxversion="4.2.2"the xml will install then. ;)
Don't forget to edit posts to get thumbs to show, caught me out at first. :)
Working like a charm :)
Though I wish there are 2 more features.
1. Thumbnail serves as a link so people can click on thumbnail to open the thread.
2. prevent stretching problem, whatever the thumbnail ratio or orientation is, whether it's in a portrait or landscape view.
Anyone want to give it a shot and become our hero?
sticky
10-06-2012, 06:03 PM
This is very cool, can it do a preview for videos as well?
nacaruncr
10-07-2012, 06:14 AM
Working like a charm :)
Though I wish there are 2 more features.
1. Thumbnail serves as a link so people can click on thumbnail to open the thread.
2. prevent stretching problem, whatever the thumbnail ratio or orientation is, whether it's in a portrait or landscape view.
Anyone want to give it a shot and become our hero?
1. If you want when someone click in the thumbnail imagen go to thread its easy :D
open thread_thumbnail_threadbit template and remplace all with:
<vb:if condition="$thread['thumbnaildisplay'] AND (!$thread[sticky] OR ($vbulletin->options[thread_thumbnails_sticky] == '1'))">
<a href="{vb:link thread, {vb:raw thread}}" id="thread_gotonew_{vb:raw thread.realthreadid}" style="float:left;clear:right;display:block;padding-right:5px;"><img style="{vb:raw thread.thumbnailstyle}" src="{vb:raw thread.thumbnailurl}"></a>
</vb:if>
Check if this is that you wanna ;)
Regards
p.s excuse me my bad english :p
sticky
10-12-2012, 09:30 AM
Does it do a thumbnail if the thread has a video and not a picture?
Ichigo88
10-15-2012, 12:31 PM
hi! thanks for this mod work fine for m on 4.2.0 :D .
i have a question, are possible to use a query to upograde all post for see the thumb? becouse edit any post for see the thum is very hard i have many posts :(
thanks
abhimation
10-17-2012, 03:31 PM
Went through the whole install instructions again but not sure why it isnt working in my 4.1.10
macpeer
10-26-2012, 02:34 PM
Hi, I am not able to install it. VB say: not compatible with 4.2.0 vBulletin.
My VB version: (vBulletin 4.2.0 Patch Level 2)
Thank you in advance
nacaruncr
10-26-2012, 05:13 PM
macpeer check this post:
Working fine on 4.2.0 PL2, just edit the xml
change this:
maxversion="4.2.0"
to this:
maxversion="4.2.2"
the xml will install then. ;)
Don't forget to edit posts to get thumbs to show, caught me out at first. :)
benative
11-08-2012, 01:21 AM
1. If you want when someone click in the thumbnail imagen go to thread its easy :D
open thread_thumbnail_threadbit template and remplace all with:
<vb:if condition="$thread['thumbnaildisplay'] AND (!$thread[sticky] OR ($vbulletin->options[thread_thumbnails_sticky] == '1'))">
<a href="{vb:link thread, {vb:raw thread}}" id="thread_gotonew_{vb:raw thread.realthreadid}" style="float:left;clear:right;display:block;padding-right:5px;"><img style="{vb:raw thread.thumbnailstyle}" src="{vb:raw thread.thumbnailurl}"></a>
</vb:if> Check if this is that you wanna ;)
Regards
p.s excuse me my bad english :p
Thanks!!!! That did the trick!
Btw, do you know how to fix the thumbnail stretching problem?
katie hunter
11-08-2012, 03:03 AM
Can we have a version like this for vb 3.7.x ?
benative
11-12-2012, 02:27 AM
If it prevents the thumbnail stretching problem, it would be perfect!!
Does anyone know how to do it?
b65ran
06-01-2013, 04:02 PM
This working like a champ except one scenario, when user is doing post preview. In that case the thumbnail url in the new thread going blank. I am using the Thumbnail Url textbox feature with thumbnail url as required.
benative
11-29-2013, 11:17 PM
I have been waiting for someone to answer my question for the past one year :(
Does anyone know how to prevent stretching?
I would like to prevent stretching problem, whatever the thumbnail ratio or orientation is, whether it's in a portrait or landscape view.
Please pm me or reply to this post.
cem3203
12-09-2015, 05:33 AM
Thank you for the great work mate :)
Working fine with vB 4.2.3.
i have a small question for you, i want to show thumbs on "search results", what can i do about it ?
Thank you again..
keyla31
11-03-2017, 02:19 PM
Is this working on 4.2.5 ?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.