View Full Version : Forum Display Enhancements - [SIMPLISTIC] Thread Thumbnails
andrefedalto
02-26-2011, 10:00 PM
A client asked me to create a simpler Thread Thumbnail for his forums, since the other modification had too many steps for his users, lowering the use of the feature. So here it is a simpler version:
The ability to upload a little image for each thread, that will be displayed in forumdisplay.
You can set the default width and height for the image through control panel
When creating a thread or editing the first post, there is a file input field you can pick the thumbnail you wanna use.
The user can upload ANY file with ANY size, but only images will be processed and they will be resized (keeping the proportion) to the previously defined size. The original file will be deleted and only the thumbnail will be stored.
You can enable the thumbnails in all forums or only in the ones you specify
If the user doesn't upload a thumbnail you can display a default one (settable in admincp) or just don't show it at all. Only display the thumbnail when its uploaded.
When editing the thread, the thumbnail can be removed.
So well, its as simple as it can be. Refer to the screenshots for more details. Install instructions are in the zip. I chose to not use auto-template edits since some users may have custom templates and auto-changes shouldn't work. So its just 3 minor templates edits that can be done in a few seconds. Make sure you have set the right permissions for folder ./images/threadthumbnails/.
Before anyones says, yeah i know the included default no-thumbnail image sucks! Just made it in a sec in paint. Feel free to make a better one and send me. I'll add to the modification.
I'll be supporting this modification and fixing bugs, although i think its very functional right now. I try to keep my code as simple as possible, making it low-resource consuming and very user-friendly. Any tips on that would be greatful. If you want a nice new feature added to it, let me know. I'll add it if its a GREAT idea and is a MUST for the modification. If we add a lot of things, it looses its main characteristic: the simplicity.
Did you like this modification? Support me making a donation, and in the future i can release more simplistic modifications.
Arabic translation by Dr.osamA was added as "product-threadthumbnail Arabic by alra7ba.xml". I haven't reviewed the code, so use it at your own risk.
sulasno
02-27-2011, 02:25 AM
tagged and thanks
sadiq6210
02-27-2011, 06:55 AM
Great but can I put the avatar as a thread thumbnail automatically?? (i.e no need to add new avatar)
fluidswork
02-27-2011, 07:35 AM
Will come useful someday .................
andrefedalto
02-27-2011, 09:55 AM
Great but can I put the avatar as a thread thumbnail automatically?? (i.e no need to add new avatar)
Sorry, but this modification is only to upload a thumbnail.
Manoel J?nior
02-27-2011, 12:28 PM
Parabéns André!!!
É muito bom vermos desenvolvedores brasileiros. Estou até precisando de algumas modificações a nível particular, se estiver interesse, por favor, entre em contato.
Abraços.
Sayid
02-27-2011, 01:07 PM
Very nice mod and many users will like it. It should be built in
anyway, I have some questions:
do thumbnails appear in search results without problems?
because it is a common problem in two of thumbnail mods released before.
moreover, can you add an option to take the first image in the topic as a default thumbnail ? and if possible, apply the same method with the old topics?
Many thanks
andrefedalto
02-27-2011, 03:23 PM
Parab?ns Andr?!!!
? muito bom vermos desenvolvedores brasileiros. Estou at? precisando de algumas modifica??es a n?vel particular, se estiver interesse, por favor, entre em contato.
Abra?os.
Valeu! Mandei uma MP.
Very nice mod and many users will like it. It should be built in
anyway, I have some questions:
do thumbnails appear in search results without problems?
because it is a common problem in two of thumbnail mods released before.
moreover, can you add an option to take the first image in the topic as a default thumbnail ? and if possible, apply the same method with the old topics?
Many thanks
Sorry, thumbnails won't appear in search result (haven't thought of that before). The option to take the first image in the topic will not be implemented, since its a feature in the other Thread Thumbnail modification here in vborg. As stated before, this mod was meant to be VERY simplistic, just going straight to the point. Just do a search for "thumbnails" in thread titles and you'll find the other modification i'm talking about.
mfnforex
02-27-2011, 07:22 PM
Thanks
Randomm
02-27-2011, 07:58 PM
tagged and will surely install later
rated and nominated
thanks
Dr.osamA
03-01-2011, 01:16 PM
Excellent = 5 Stars
installed + translated to Arabic
plzz be nice and add XML file to 1st post
andrefedalto
03-01-2011, 08:58 PM
Excellent = 5 Stars
installed + translated to Arabic
plzz be nice and add XML file to 1st post
Thanks! I already added you and the file in the modification.
fishinstud
03-02-2011, 12:31 AM
Thank you, Installing right now. Attached my custom thumb made from a HQ EPS.
Installed tough but works well. Looks great
dinodonk
03-03-2011, 12:03 AM
please add option to show avatar if there's no thumbnail selected.
hiker
03-03-2011, 12:23 AM
Great idea. Can it be limited to a certain prefix of thread only?
fxwoody
03-03-2011, 10:48 AM
Humm looks like deja vue! ;)
Simple and clean
andrefedalto
03-03-2011, 08:10 PM
Humm looks like deja vue! ;)
Simple and clean
Thanks :)
For the adittional requests, sorry, but if a lot of stuff is added, it will loose its main characteristic, the simplicity :)
AlexisMedia
03-04-2011, 04:55 AM
This MOD is awesome! Exactly what I was looking for when the other thumbnail mods weren't supported or didn't do the simple thing I needed them too. 5 stars and look forward to more mods from this developer...
Please keep this one simple :)
Baylyns
03-05-2011, 04:03 PM
Hello,
In the template newthread it has to be searched :
action="newthread.php?do=postthread&f={vb:raw forumid}"
I am under VB 4.1.2 and I can't find the right place:
<form class="vbform block" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?do=postthread&f={vb:raw forumid}" method="post" name="vbform" onsubmit="return vB_Editor['{vb:raw editorid}'].prepare_submit(this.subject.value, {vb:raw vboptions.postminchars})">
Where should I place this:
enctype="multipart/form-data"
Best regards
interfx
04-02-2011, 09:18 PM
Is there a way to make this work only a specific, defined forum category? vs. all of my forums?
Thanks in advance, this is a very simple solution!
hoadiem
04-03-2011, 12:24 AM
Hello,
In the template newthread it has to be searched :
action="newthread.php?do=postthread&f={vb:raw forumid}"
I am under VB 4.1.2 and I can't find the right place:
<form class="vbform block" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?do=postthread&f={vb:raw forumid}" method="post" name="vbform" onsubmit="return vB_Editor['{vb:raw editorid}'].prepare_submit(this.subject.value, {vb:raw vboptions.postminchars})">
Where should I place this:
enctype="multipart/form-data"
Best regards
i have the same issue
andrefedalto
04-03-2011, 01:04 PM
Hello,
In the template newthread it has to be searched :
action="newthread.php?do=postthread&f={vb:raw forumid}"
I am under VB 4.1.2 and I can't find the right place:
<form class="vbform block" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newthread.php?do=postthread&f={vb:raw forumid}" method="post" name="vbform" onsubmit="return vB_Editor['{vb:raw editorid}'].prepare_submit(this.subject.value, {vb:raw vboptions.postminchars})">
Where should I place this:
enctype="multipart/form-data"
Best regards
Right before "action="
Is there a way to make this work only a specific, defined forum category? vs. all of my forums?
Thanks in advance, this is a very simple solution!
The is an option called Forums to TurnOn. Enter the forumids, separated by a comma, and the system will only work on these forums.
dnk.it
04-05-2011, 02:47 PM
is there a way to allow only certain usergroup to upload thumbnail? thanks
Khriz
05-30-2011, 03:37 PM
Best seen eh I hope that you continue with the project and have compatibility with future versions of vbulletin as far as possible in the case of making a donation.
congratulations!
PuttsMoBiles
05-30-2011, 07:12 PM
Where is In "threadbit"
I dont have a file named that.
LethalGaming
06-03-2011, 10:40 PM
you should edit this addon and make it show users avatars ahead of the thread title :D.
RedHacker
05-23-2016, 02:52 PM
I have 4.1.7 Version but not find manage file to upload when create new thread. Why ?
oimel28
02-17-2017, 03:23 PM
Hello if a user forget to upload a thumbnail, than there will be show a "error empty picture" . How can i fix it? I want if you dont choose a thumbnail, that you will see the basic thumbnail symbol ???
Outlaw Mantis
02-19-2017, 11:42 PM
I have the same problem with no upload option on thread creation. I'd be sure to chuck a donation your way but unfortunately in its current state this mod won't work for me. Like the person who requested it, I only wanted something simple. Apparently the coder hasn't been here in a year, so I'll move onto the fully-fledged mod in a couple of weeks if nobody has anything to add. :)
IggyP
12-30-2018, 04:52 AM
Hello if a user forget to upload a thumbnail, than there will be show a "error empty picture" . How can i fix it? I want if you dont choose a thumbnail, that you will see the basic thumbnail symbol ???
idk whats the chances of getting help with this one, but i concur....if a thread is created without uploading an image, rather than the default of "no image" it shows a broken image
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.