View Full Version : New Posting Features - Thread Thumbnails
Null Parameter
05-27-2009, 10:00 PM
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:
105596
Search:
105597
ACP Options:
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 (http://xforgery.com/forum/forumdisplay.php?f=83)
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 WindowFixes
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
tlwwolfseye
05-28-2009, 03:05 PM
That looks promising. ;) I will check that out.
tlwwolfseye
05-28-2009, 03:26 PM
I installed it, and I do have it in the AdminCP. I set it to one of my forums but when I create a thread there, I dont see anything to choose an Image instead of Icon for the thread. There is no change to my Theme (not standard!) done.
I thought templates get edited automatically ?
My vB Version is 3.8.2 btw.
Null Parameter
05-28-2009, 03:28 PM
There might be a possibility if your style isn't standard that the auto-edits might not work, although they have worked with my styles. I can write up directions on how to manually edit it in, if you would like.
dxflw
05-28-2009, 03:30 PM
Thanks very nice!!
Null Parameter
05-28-2009, 03:31 PM
Actually, it looks like the initial Create Thread isn't working correctly, sorry about that. (I haven't used it in a while because I use a custom form to submit threads.)
I'll get a fix in for that right away.
In the mean time, if you edit the first post of the thread, there should be an option for the thumbnail though.
tlwwolfseye
05-28-2009, 03:35 PM
No, i don´t see anything where I could that, no matter if I create a thread or re-edit it. So i guess the template edits aren´t done.
What do I have to change, and where, to check if the template edits are done ?
josh2007
05-28-2009, 03:37 PM
Looks good may considering adding on our site later on. Good job
Null Parameter
05-28-2009, 03:48 PM
Sorry, I uploaded a bad version of the product. I made some changes on my version but forgot to export them down.
As of now, I'll add a guide to the first post on how to manually update the templates, because I don't think the auto is working.
Null Parameter
05-28-2009, 04:22 PM
Okay, everything should be fixed in the product file now. New thread should work, but for now you will have to do all of the template edits yourself, which are also now listed. Sorry for the inconvenience.
I'll be working on the auto-edits in the near future.
tlwwolfseye
05-28-2009, 04:30 PM
Could you maybe then give me all the details for the template changes ? Is it a lot changes ? Because i think if it is, it will keep many people from using the Mod, usually Mods do automatic template edits as far as I have seen.
Update:
LOL, now i see the edits above. Sorry :)
tlwwolfseye
05-28-2009, 04:44 PM
I did all the edits and it works now. :)
The only thing I see which might be a problem for users is that the Image can only be added as URL. Not anyone likes to offer Imagehosting on his Webspace and Image hosting Services out there often don?t like direct links to images but rather use their image code. And in the long run, those images will be gone because Imagehosters don?t store images for life.
Using the attachment function for that might not be the nicest but it would make it easier for people to find a place to direct upload their images instead of first searching for a Public imagehosting site with direct links allowed.
Might be thinking about offering both, direct URLs like it is now, and also using a attached image in the thread. How about that ?
Null Parameter
05-28-2009, 04:51 PM
I did all the edits and it works now. :)
The only thing I see which might be a problem for users is that the Image can only be added as URL. Not anyone likes to offer Imagehosting on his Webspace and Image hosting Services out there often don?t like direct links to images but rather use their image code. And in the long run, those images will be gone because Imagehosters don?t store images for life.
Using the attachment function for that might not be the nicest but it would make it easier for people to find a place to direct upload their images instead of first searching for a Public imagehosting site with direct links allowed.
Might be thinking about offering both, direct URLs like it is now, and also using a attached image in the thread. How about that ?
I can definitely attempt to add support for that.
What kind of options do you think should accompany it?
Quick draft of my thoughts:
Thumbnail Source
URL Only
Attachment Only
If No URL, use AttachmentAny other options you can think of?
tlwwolfseye
05-28-2009, 04:56 PM
Would it be possible that the attached image, when used for that, would only show in the Thread Thumbnail and not also attached below or in the posting ?
Thumbnail Source
* URL Only
* Attachment Only
* If No URL, use Attachment
And in case someone doesn?t want to add a Image, how about also allowing that. In that case it would just show the NoImage picture. Should be up to the poster I think. He doesn?t have to. ;)
Null Parameter
05-28-2009, 04:59 PM
Well, I'm assuming that if there isn't a URL or Attachment then it would show the no thumbnail image. But for the Admin CP options, they can choose to allow thumbnails from one of those 3.
So if an admin only wants to allow thumbnails from Attachments or only from a URL, then they can do that.
tlwwolfseye
05-28-2009, 05:06 PM
I just wondered why you said when no URL then attachment. But it would be good if it would also mean that if no URL and no attachment, then just the NOIMAGE thing.
Bernd
05-28-2009, 05:07 PM
Would it be possible that the attached image, when used for that, would only show in the Thread Thumbnail and not also attached below or in the posting ?
And in case someone doesn?t want to add a Image, how about also allowing that. In that case it would just show the NoImage picture. Should be up to the poster I think. He doesn?t have to. ;)
It would be nice if adding an image attachment is an optional REQUIREMENT. For example, one could create a simple gallery this way and have all the images hosted on their own site instead of annoying hosts like imageshack. Furthermore, image attachments can be automatically thumbnailed by simple adding &thumb=1 behind the url. This means, true resizing of the image using GD instead of scaling an external image using width or height (which should never be done).
Attachments can be filtered for images with the following query
WHERE (attachment.extension = 'jpg' OR attachment.extension = 'gif' OR attachment.extension = 'png')
In short,
-allow attachments.
-option that sets an image attachment as a requirement.
-allow external images.
I think both (URL and Attachment) options are good and should be available. :)
Bill from Cleve
05-28-2009, 05:20 PM
Looks like a great feature! I'm going to wait for the Automatic Template Edits version though. :p
nooofe
05-28-2009, 05:35 PM
Thanks
Null Parameter
05-28-2009, 05:44 PM
I just wondered why you said when no URL then attachment. But it would be good if it would also mean that if no URL and no attachment, then just the NOIMAGE thing.
I just meant that both are supported, but if a URL isn't specified then the Attachment will be used.
It would be nice if adding an image attachment is an optional REQUIREMENT. For example, one could create a simple gallery this way and have all the images hosted on their own site instead of annoying hosts like imageshack. Furthermore, image attachments can be automatically thumbnailed by simple adding &thumb=1 behind the url. This means, true resizing of the image using GD instead of scaling an external image using width or height (which should never be done).
Attachments can be filtered for images with the following query
WHERE (attachment.extension = 'jpg' OR attachment.extension = 'gif' OR attachment.extension = 'png')
In short,
-allow attachments.
-option that sets an image attachment as a requirement.
-allow external images.
Thanks for the bit about being able to automatically thumbnail the attachments, that will come in handy.
Looks like a great feature! I'm going to wait for the Automatic Template Edits version though. :p
That will be out in the next version hopefully, so stay tuned. :)
Thanks everybody for the positive and helpful comments, I'll try to get these changes out as soon as possible.
mindhunter77
05-28-2009, 05:57 PM
I'm not speaking to your MOD specifically, just mods that do this in general. This is a neat feature to have but unfortunately it ads some high overhead as all the thumbs on the page are usually served up by php, requiring more php processes and on large forums that's an issue.
If you could figure out how to serve the image thumbs through direct links, that would be much better.
Take a look at this, he has the right idea here, though this will only work with nginx
https://vborg.vbsupport.ru/showthread.php?t=207566
Null Parameter
05-28-2009, 06:07 PM
I'm not speaking to your MOD specifically, just mods that do this in general. This is a neat feature to have but unfortunately it ads some high overhead as all the thumbs on the page are usually served up by php, requiring more php processes and on large forums that's an issue.
If you could figure out how to serve the image thumbs through direct links, that would be much better.
Take a look at this, he has the right idea here, though this will only work with nginx
https://vborg.vbsupport.ru/showthread.php?t=207566
If you use the URL option (which is actually the only option as we speak), then it is served through direct links. The only things that will go through PHP would be if you decided to use the Attachment Thumbnails (future feature).
Because right now, it is just an img html tag with the url for the src.
Like this:
<img src="http://www.google.com/intl/en_ALL/images/logo.gif">
No PHP at all.
twitch
05-28-2009, 08:33 PM
great idea. option to upload the thumbnail to be used would be perfect
Sayid
05-28-2009, 08:43 PM
Wow I can't believe it @_@
I was searching today for something like this
installed+nominated :D
Dr.LoVe
05-28-2009, 08:54 PM
thanx ,
good job
Great mod! It would be cool if it were also possible to have the thumbnail display in the RSS2 feed somehow, in addition to the forumdisplay page.
Null Parameter
05-29-2009, 01:32 AM
Great mod! It would be cool if it were also possible to have the thumbnail display in the RSS2 feed somehow, in addition to the forumdisplay page.
Interesting idea! I'll look into it.
aztecboi2003
05-29-2009, 01:49 AM
This mod looks sick, I will tag and wait for the auto template edits.
mktrilogy
05-29-2009, 06:53 AM
It would be nice to show the preview image when you hover over the thread. And also auto assign image. gets the first image available, that would be really nice. subscribing to this thread.
Sofia
05-29-2009, 09:09 AM
Very good work. Thank you ;)
marshal_ramdev
05-29-2009, 11:03 AM
thank you
aztecboi2003
05-30-2009, 02:47 AM
Installed. How do I make the thumbs be 150x150? I had a user try it out and it's 150x225.
Null Parameter
05-30-2009, 03:04 AM
Installed. How do I make the thumbs be 150x150? I had a user try it out and it's 150x225.
I don't have a max height defined right now, only width. So that just means that the width is scaled down to 150, and the height is just scaled accordingly.
I'll add a height restriction to this list of additional features.
aztecboi2003
05-30-2009, 03:11 AM
I don't have a max height defined right now, only width. So that just means that the width is scaled down to 150, and the height is just scaled accordingly.
I'll add a height restriction to this list of additional features.
Ok cool, I just installed this and it's great. Keep up the good work.
WebCraker
05-30-2009, 10:45 AM
Thank you
awsome add-on
And i get it translated into arabic language for arabic froums
تم تعريب الهاك وهذا هو الرابط
http://www.support-ar.com/vb/showthread.php?t=23758
Interesting idea! I'll look into it.
That would be fantastic! Thanks, Null Parameter. :)
Null Parameter
05-30-2009, 04:43 PM
Thank you
awsome add-on
And i get it translated into arabic language for arabic froums
تم تعريب الهاك وهذا هو الرابط
http://www.support-ar.com/vb/showthread.php?t=23758
Looks good. I'll probably make it work with phrases in the next version as well, so the strings aren't coded in, so that should make translation substitution easier in the future.
Thanks again everybody for all of the great comments. I'll be working on the new version this weekend most likely!
dancue
05-31-2009, 12:33 AM
I would love for this to search the thread for a thumbnail or url to a picture if user has not already uploaded one.
Null Parameter
05-31-2009, 12:47 AM
I would love for this to search the thread for a thumbnail or url to a picture if user has not already uploaded one.
So if the URL doesn't specify a Thumbnail URL then automatically use the first one in their post? Interesting idea as well.
It's amazing what people can come up with that I never would have thought of.
And back on the thought of adding this to the RSS2 Feed, I actually have another mod I wrote (not posted, yet) that creates a Media RSS Feed using the thumbnail, which also allows your website to be enabled for cooliris (http://www.cooliris.com/). Think that is sufficient, or do you think I should still try to inject it into the RSS2 feed?
dancue
05-31-2009, 01:20 AM
Can you make it where the author of the thread is directed to edit thread when he clicks on the "no thumbnail" image?
dancue
05-31-2009, 01:21 AM
So if the URL doesn't specify a Thumbnail URL then automatically use the first one in their post? Interesting idea as well.
It's amazing what people can come up with that I never would have thought of.
And back on the thought of adding this to the RSS2 Feed, I actually have another mod I wrote (not posted, yet) that creates a Media RSS Feed using the thumbnail, which also allows your website to be enabled for cooliris (http://www.cooliris.com/). Think that is sufficient, or do you think I should still try to inject it into the RSS2 feed?
Or 1st attached thumbnail...
That feature is one that is offered in the mod "Article Forums". :D
And I love it!!
kalisekj
06-01-2009, 12:20 AM
:( I made all the edits and made the no thumbnail image and put it on the server, but now all the threads show the no thumbnail image, I go into thread and on first post I put the url IE: http://i44.tinypic.com/293zoz6.jpg and I save, but I still get the No thumbnail image , i edit again and it has nothing in the url field. So it appears the system is not saving the url I give it. Help Please!
kalisekj
06-01-2009, 12:22 AM
BTW I am at 3.8.2
aztecboi2003
06-01-2009, 12:23 AM
:( I made all the edits and made the no thumbnail image and put it on the server, but now all the threads show the no thumbnail image, I go into thread and on first post I put the url IE: http://i44.tinypic.com/293zoz6.jpg and I save, but I still get the No thumbnail image , i edit again and it has nothing in the url field. So it appears the system is not saving the url I give it. Help Please!
Did you try removing the no thumbnail image? And then seeing if that would work? I'm using it without the thumbnail image and it works fine. I'm on 3.8.2 also.
kalisekj
06-01-2009, 12:41 AM
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. :(
kalisekj
06-01-2009, 12:41 AM
No Image shows up when I remove the No thumbnail Image. Not even the selected Smiley
kalisekj
06-01-2009, 12:52 AM
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.
kalisekj
06-01-2009, 12:58 AM
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.??
aztecboi2003
06-01-2009, 01:01 AM
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.
Null Parameter
06-01-2009, 01:17 AM
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.
kalisekj
06-01-2009, 01:31 AM
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. :D
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?
Null Parameter
06-01-2009, 02:17 AM
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.
kalisekj
06-01-2009, 02:50 AM
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!
Null Parameter
06-01-2009, 02:58 AM
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.
kalisekj
06-01-2009, 01:35 PM
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
Null Parameter
06-01-2009, 02:14 PM
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.
kalisekj
06-01-2009, 05:35 PM
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)
Null Parameter
06-01-2009, 06:02 PM
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.
kalisekj
06-01-2009, 07:21 PM
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, :D
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. :D
Null Parameter
06-01-2009, 07:47 PM
I guarantee that the field is in the thread table, otherwise it wouldn't work when you create a new thread either, but you said that it does work in that case.
Null Parameter
06-01-2009, 08:09 PM
kalisekj,
make sure to use the original product file, the second one that I sent you isn't thoroughly tested and I think it might have a bug in it. While the first one is highly tested and I know it works for several people.
Chadi
06-04-2009, 12:18 AM
Not sure what's going on, did the 3 manual template edits and
although I see the field to insert a thumbnail link, the actual
forum I chose (id 75) shows no thumbnail column at all.
I am using a custom skin.
Thanks in advance for any help.
Null Parameter
06-04-2009, 12:41 AM
Not sure what's going on, did the 3 manual template edits and
although I see the field to insert a thumbnail link, the actual
forum I chose (id 75) shows no thumbnail column at all.
I am using a custom skin.
Thanks in advance for any help.
It's probably something to do with the template edit in threadbit, if you want you can PM me your template and I'll take a look.
Chadi
06-04-2009, 12:51 AM
Thanks, pm sent.
Chadi
06-05-2009, 04:08 AM
Thanks Null for your help. Got it working.
Just one thing, please have this also apply to sticky threads as well.
Thanks!
Null Parameter
06-05-2009, 12:57 PM
Thanks Null for your help. Got it working.
Just one thing, please have this also apply to sticky threads as well.
Thanks!
I'll definitely put that in as an option.
dancue
06-05-2009, 02:58 PM
Will the next update include getting the thumbnail from the first post of the thread automatically? I've had this installed for a few days now and no one seems to be using this. Would be nice for it to automatically search for it's thumbnail.
Null Parameter
06-05-2009, 03:07 PM
Will the next update include getting the thumbnail from the first post of the thread automatically? I've had this installed for a few days now and no one seems to be using this. Would be nice for it to automatically search for it's thumbnail.
It will definitely have the attachment option, where it will automatically use the first attachment. I'm not sure about using the first image in the post, I haven't looked into how difficult that will be. I'll have to get back to you on that.
WebCraker
06-12-2009, 12:38 PM
Making a New Thread it works , but editing a thread and putting in a url does not work. It will not save the URL.
same problem with me and with some other users here (http://www.support-ar.com/vb/showthread.php?t=23758) got the same issue, so i came back to you to find a solution if there's away we can figure out a fix for this problem
I tried to edit the field thumbnailurl on the thread table and the thumbnail changed perfecto but not a good solution for users who can't deal with db's or phpmyadmin :(
Just one thing, please have this also apply to sticky threads as well.
Yeah it will be good
It will definitely have the attachment option, where it will automatically use the first attachment. I'm not sure about using the first image in the post, I haven't looked into how difficult that will be. I'll have to get back to you on that.
what about if there's an option or a check box behind the attachments to choose a thmbnail for the thread .. this is my idea about attachment
will be back to you if there's any new
chao
erictitan
06-13-2009, 01:03 AM
Hi,
is this the best solution to for attaching an icon to the left of a thread just below a post catagory?
I dont want users to be able to post thumbnails but would like to add a set of icons to the threads I created.
Thanks
ricardoNJ
06-14-2009, 06:48 AM
Installed... Thanks!!! :)
steve71
06-15-2009, 10:02 PM
Possible Future Features (With Request)
•Display Thumbnail in Search
•Options for Display Locations
•Additional column instead of replacing Thread Icon
•Displaying Thumbnail within thread
•Edit thumbnail through Thread Edit
•Thumbnail Preview in Edit Window
•Automatic Template Edits
Any luck with the update for displaying thumbnails with the search or new/today's posts pages?
spmatrix
07-21-2009, 03:04 AM
I made it and it's ok for some threads, but some other threads still sawing the nothumb image.
And what about to have and for stikys too ?
stevetank
07-21-2009, 03:41 PM
This works a treat...
Well done,
Thanks.
Sayid
07-29-2009, 05:12 AM
waiting for Future Features
and I hope you solve the bug of sticky threads
vktechnology
07-30-2009, 08:57 PM
I use this plug in with this thumbnail
https://vborg.vbsupport.ru/showthread.php?t=158396
it will display thumbnail from attacement automaticly
both are working togetther
Dribbles
08-18-2009, 03:24 PM
nice
doileloi
08-21-2009, 04:23 PM
thank you work verry good [install] . any ideas how to show at Potal vBadvanced CMPS thanks
Zaki Shafqat
08-23-2009, 04:46 PM
great job i loved this MOD
but its not showing the thumbnail for the sticky posts? what do i edit to show so it shows for sticky posts too? please help
CGhostGroup
09-02-2009, 03:55 PM
Nice Plugin but where can I find one with Attachments? I Only found one for 3.6* but with that I can't exclude the Forum-IDs
Canadians360
09-08-2009, 12:09 AM
great job i loved this MOD
but its not showing the thumbnail for the sticky posts? what do i edit to show so it shows for sticky posts too? please help
This is what you have...
<if condition="$show[threadicons]">
<td class="alt2" align="center" valign="middle">
<if condition="$thread[thumbnaildisplay] AND !$thread[sticky]">
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]">
<img src="$thread[thumbnailurl]" alt="" border="0" width="$thread[thumbnailwidth]"/>
</a>
<else />
<if condition="$show[threadicon]">
<img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
</if>
</if>
</td>
</if>
This is what you need. All I did was delete the "is not a sticky" part of the conditional wich is bold and red above.
<if condition="$show[threadicons]">
<td class="alt2" align="center" valign="middle">
<if condition="$thread[thumbnaildisplay]">
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]">
<img src="$thread[thumbnailurl]" alt="" border="0" width="$thread[thumbnailwidth]"/>
</a>
<else />
<if condition="$show[threadicon]">
<img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
</if>
</if>
</td>
</if>
That was the threadbit template by the way.
Note: This will make all forums with thumbnails enabled have thread stickies with thumbnails. So you cant have some thumbnail threads with icons for stickies and some thumbnail threads with thumbnails for stickies.
elenh
09-09-2009, 12:45 PM
how do i make this addon working with the first [IMG] tag from the topic too?
Great hack thanks!
ravi_9793
09-10-2009, 07:14 PM
Hi,
great mod, just installed and its working with no problem. Thanks for the MOD.
Is there any way to show same thumbnail as Post Icons at very first post of the thread.
SoloX
09-17-2009, 03:51 PM
how do i make this addon working with the first [IMG] tag from the topic too?
Great hack thanks!
i want this as well. [IMG] tag thumbnail.
Charged
09-25-2009, 11:13 PM
Would it be possible to do either of the following:
When a user selects a thread prefix, automatically use a predefined thumbnail image, with a diff thumbnail per prefix.
or
have a selection of radio buttons under the box where they can just click on one of them and it puts the predtermined thumbnail img url into the thumbnail box for them?
this would greatly avoid users not putting one in
Null Parameter
09-26-2009, 06:00 PM
Hey guys, sorry for the very long delay, but don't worry, I've returned.
Been doing things in life, like work and having a beautiful daughter, hopefully you can forgive me. ;)
I'm working on a new version at this very moment, including the following features:
Option to use Thumbnail from First Attachment
Option to use Thumbnail from First Image in Thread
Option to include/exclude Sticky Threads
Automatic Template EditsStill contemplating adding in
Displaying Thumbnail in Search
Displaying Thread Icon instead of requiring No Thumbnail Image
Hoping to get this out relatively soon, for all of your enjoyment, because I know a lot of you have been asking for many of these features!
SoloX
09-26-2009, 06:02 PM
Option to use Thumbnail from First Image in Thread
yaaay!!!!
Null Parameter
09-26-2009, 06:07 PM
Almost forgot, also thinking about adding in an option to specify CSS for the image, or something similar, so you get a lot more flexibility instead of just the standard "Set Width".
And I also have custom code that I might adapt that makes a Media RSS Feed using the thumbnails, which gives you the ability to have built in Cooliris (http://cooliris.com/) support.
Despite those being cool features to add in, I might put it off for a while to get these more pertinent features out to you more quickly.
John69Steph
09-27-2009, 07:56 AM
Is it possible to have the thumbnail when i see the result of searh, like this
http://www.imagefacile.com/img/zolly_image_4.png
Null Parameter
09-28-2009, 05:01 PM
Is it possible to have the thumbnail when i see the result of searh, like this
Yep, that will be in the new version coming out.
I've got almost all of the functionality complete, but I've run into an issue.
For some reason, I can't get attachments working on my local test server, so if somebody would like to volunteer to test the attachment part, then we can make sure that is working the same as everything else and I can get the new version released.
John69Steph
09-29-2009, 04:25 AM
Thank's for your answer. I wait for the new version with display thumbnail in search
Sayid
09-29-2009, 06:57 AM
Happy to see you back :)
We are ready to test new features, I liked all them all
regards to the first image thumb or the attachment one , we will encounter a problem if someone posts very big image in his first post , it will be hard to display the forumdisplay page! correct me If i am wrong
I have a small idea to solve it , can you add an image input field with browse button to upload thumbnails of threads from the desktop? and if the thumb is bigger than x width and y length, it automatically resize it using gd library.
nh.vu
09-29-2009, 07:30 AM
This Mod is not run with vbb v3.8.2
I was try my best!
:((
Null Parameter
09-29-2009, 02:18 PM
Happy to see you back :)
We are ready to test new features, I liked all them all
regards to the first image thumb or the attachment one , we will encounter a problem if someone posts very big image in his first post , it will be hard to display the forumdisplay page! correct me If i am wrong
I have a small idea to solve it , can you add an image input field with browse button to upload thumbnails of threads from the desktop? and if the thumb is bigger than x width and y length, it automatically resize it using gd library.
Right now there is a "Image Width" Property available in the Settings.
If you set this to 100, then all of the images will be resized to 100 pixels wide.
This is done at the html img tag level, so it doesn't decrease the load time for the image, but it won't mess up the page at all, because all of the images will be the same width.
My site people use very large images all of the time, and we haven't had any issues at all.
This Mod is not run with vbb v3.8.2
I was try my best!
:((
I know somebody who is using it on 3.8.3, so I assume it will work on 3.8.2 as well.
Make sure that you did the template edits (or just wait for this new version that does them for you) and make sure that you have Thread Icons enabled for your forums, because the Thumbnails simply replace those icons. Lastly, make sure that the mod is set to active in the options.
angeljs
10-06-2009, 01:48 PM
I would really love to see the thumbnails in search feature :)
Null Parameter
10-08-2009, 07:06 PM
I would really love to see the thumbnails in search feature :)
Yep, that'll be there, don't you worry. ;)
Seeing as how nobody has volunteered to test out the attachment part (since I can't get attachments working for unknown reasons), I might have to remove support for that feature, or release it with that part not fully tested.
realdx
10-10-2009, 09:57 PM
my 2c, it would be nice having a library of thumbs where users could pick up one.. :)
jkcerda
10-11-2009, 03:17 AM
cool
mrthe
10-11-2009, 01:47 PM
when i edit the post the thumbnails disappeare i use the version 3.6.8 of vb and don0t save the url if i edit the post,why?
Cerbero1000
10-21-2009, 08:58 AM
Is there a way to thumbs working in showthread template?
Lietha
10-22-2009, 01:35 PM
Is there any way to set this to show the last attachment rather than the first?
Canadians360
10-22-2009, 07:13 PM
Is there a way to thumbs working in showthread template?
Yes the Image URL is still acessable in the showthread template. Use $thread[thumbnailurl]
Is there any way to set this to show the last attachment rather than the first?
It does not show attatchments, not yet anyway acording to the developer.
dai-kun
10-22-2009, 10:59 PM
You can get the full image to show when your hover over it by:
Edit MAIN CSS of style, at the bottom ADDITIONAL CSS DEFINITIONS (1st or 2nd box depending on how you use it), add in (or edit to your preference)
.thumbnail{
position: relative;
z-index: 0;
}
.thumbnail:hover{
background-color: transparent;
z-index: 50;
}
.thumbnail span{ /*CSS for enlarged image*/
position:absolute;
left:-1000px;
background-color: black;
padding: 5px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}
.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: -200px;
left: 200%; /*position where enlarged image should offset horizontally */
}
Do the following template edits:
threadbit
Find
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]">
Replace with
<a class="thumbnail" href="showthread.php?$session[sessionurl]t=$thread[threadid]">
Null Parameter
10-23-2009, 04:11 PM
when i edit the post the thumbnails disappeare i use the version 3.6.8 of vb and don0t save the url if i edit the post,why?
I'm pretty sure I have a fix in for this when the newest version is released.
Is there a way to thumbs working in showthread template?
Right now, there isn't a way to do that, but I could definitely add in a way to at least access the variable from the template.
Is there any way to set this to show the last attachment rather than the first?That isn't the in the plan at the moment, but I can definitely see the merit in having such a feature. I'll add it to the To Do List.
You can get the full image to show when your hover over it by:
....Very nice addition! I'll see about possibly adding this into future versions, if you don't mind?
Null Parameter
10-23-2009, 05:28 PM
Version 2 is Now Available!
New Features Include:
Automatic Template Edits
Search Integration
Get Thumbnail from First Image in Post
Get Thumbnail from First Attachment
Thumbnails on Sticky Threads
Use Status Icon if No Thumbnail is found
Lulubelle
10-23-2009, 07:07 PM
installed this and for some reason when enabled it now only shows the first thread posted in the forum, all other threads disappear.
I'm using the 'Get thumbnail from first attachment' option.
If there is more than one page, it shows the first thread on that page. So I am getting a lot of pages with only one thread showing, and the other threads just aren't showing.
I'd love to use this is it isn't slowing my forum down like another thumbnail mod I tried, so please help :)
Thanks
On a side note, the thumbnail on that one thread looks great! :rolleyes:
Null Parameter
10-23-2009, 07:50 PM
installed this and for some reason when enabled it now only shows the first thread posted in the forum, all other threads disappear.
I'm using the 'Get thumbnail from first attachment' option.
If there is more than one page, it shows the first thread on that page. So I am getting a lot of pages with only one thread showing, and the other threads just aren't showing.
I'd love to use this is it isn't slowing my forum down like another thumbnail mod I tried, so please help :)
Thanks
On a side note, the thumbnail on that one thread looks great! :rolleyes:
Yep, I knew that there might be some bugs in that option, because I asked for testers for that feature and nobody took me up on the offer. But that bug I definitely didn't expect, it's a very interesting one.
I'll look into it and hopefully get a fix out very soon. Thanks for your patience.
TheLastSuperman
10-23-2009, 08:06 PM
I simply overlooked this one! Huh lol I have been using the 3.6 version of this but downloading the new one thanks :D
Mike
Edit: NM apparently I'm just out of it today lol I looked up before DL'ing and saw "Mark as Uninstalled" so it must be this version I swear there was 3.6 or I found the info how to in a 3.6 area... ohh well it works and I love it, currently using on a gaming tournament forum, it shows animated .gif's of custom maps for BF2142 so you can view them and comes in handy for the Generals and Command staff of the armies to do map picks for the following week after the battle each sunday is over ;)
Thanks for the update!
Lulubelle
10-23-2009, 08:14 PM
Yep, I knew that there might be some bugs in that option, because I asked for testers for that feature and nobody took me up on the offer. But that bug I definitely didn't expect, it's a very interesting one.
I'll look into it and hopefully get a fix out very soon. Thanks for your patience.
Thanks :) I look forward to the fix so I can enable this baby on my forum!
BlessedFWI
10-23-2009, 10:56 PM
This is such a great mod! Would there be any way that we could edit the thumbnail at a later time. On our boards we have a market place to sell items and it would be great to have an image that said SOLD that could be edited after the item has sold. So this would be very helpful if this could be done.
Again, great mod! :)
Thanks!
Canadians360
10-23-2009, 11:32 PM
This is such a great mod! Would there be any way that we could edit the thumbnail at a later time. On our boards we have a market place to sell items and it would be great to have an image that said SOLD that could be edited after the item has sold. So this would be very helpful if this could be done.
Again, great mod! :)
Thanks!
Thats already an option, Just hit edit, then hit go advanced and you can change the thumbnail url, thats with the url system Im not sure about the first image post or attached image settings though.
BlessedFWI
10-23-2009, 11:47 PM
Hmmmmm, it won't let me change the image once I put the original URL in. I have no clue what I am doing wrong.
EDIT: OK, I tried it again and it won't let me change it. :( It shows the original image and then when I edit it again it also shows the original URL. I would so love to get this to work...just not sure what I did wrong. Any help would be much appreciated.
Ghostt
10-24-2009, 02:07 PM
that is the plan you do not have to link the image it will show automatically what it have to do
Canadians360
10-24-2009, 09:01 PM
Hey Null the new update is great, I thought I might pitch in a few ideas myself
*Option to set thumbnails as a required field when thumbnails are enabled
*Prioritize the three forms of thumbnail fetching (ex: if I am a thumbnail forum and a thumbnail url was not given use the first image)
*Dont show thumbnails on closed threads
Those are the only three I have right now, Ill let you know if any more decent ideas cross my mind.
marianoblesa
10-25-2009, 02:01 AM
Hello, install this hack and it works very well.
Just wanted to make a query you could suggest how I might do to the subjects who are already echos and I state x forum as it should do to make me appear.
Since I only put them in the new issues
the option that I would like to use is that of the first image of the item.
Greetings.
--------------------------------------
Hola, instale este hack y funciona muy bien.
Solo te queria hacer una consulta me podrias indicar como podria hacer para los temas que esten ya echos y yo indique x foro como deberia hacer para que me apareciera.
Ya que solo las pone en los temas nuevos
la opcion que me gustaria usar es la de la primera imagen del tema.
Saludos.
-----------------------
I am Spanish
aztecboi2003
10-25-2009, 03:06 AM
I upgraded and everything went smooth. But after I switched from URL to first attachment I got a database error. I switched back to URL and my site was fine again. I didn't look to see what the eror was though. I can try and recreate it if you want me too.
Ghostt
10-25-2009, 03:17 AM
ok ive tested the mod today. following bug: The first image is only showing if i make a Topic and after that i have to edit that the image is shown.. do you have the same bug? ive tested it with manuel template change and with automatic
best regards
aztecboi2003
10-25-2009, 03:37 AM
I don't have the same bug as you Ghostt. But I did notice it gave me 2 Thumbnail URL boxes now.
Ghostt
10-25-2009, 12:27 PM
I don't have the same bug as you Ghostt. But I did notice it gave me 2 Thumbnail URL boxes now.
the thumbnail thing is working but completly useless for me i am speaking about the autiomatic first image option.... it still dont show the thumbnail only after updateing(editing) the post...
Sayid
10-26-2009, 11:03 AM
Oh yes and finally I can see the mod updated
nominate and will try it on weakend ;)
Thanks Null
Ghostt
10-26-2009, 07:53 PM
ok ive tested the mod today. following bug: The first image is only showing if i make a Topic and after that i have to edit that the image is shown.. do you have the same bug? ive tested it with manuel template change and with automatic
best regards
Do anyone have the same bug?
marianoblesa
10-26-2009, 08:13 PM
Ami same thing happens to me until I edit the theme is not agego the image of the first pos
Chadi
10-26-2009, 08:34 PM
Thumbnails not working on sticky threads and I do have the option enabled and have img file paths/url applied to each thread.
Did manual template edits as well.
Null Parameter
10-27-2009, 04:47 PM
Odd, I wasn't getting emails from replies, so now I have a lot to respond to. Sorry for the delay!
I upgraded and everything went smooth. But after I switched from URL to first attachment I got a database error. I switched back to URL and my site was fine again. I didn't look to see what the eror was though. I can try and recreate it if you want me too.The Attachment Option has some known bugs, but I've never seen a database error. If you want to recreate and PM me the error, along with your vBulletin version, that would be great.
ok ive tested the mod today. following bug: The first image is only showing if i make a Topic and after that i have to edit that the image is shown.. do you have the same bug? ive tested it with manuel template change and with automatic
best regards
I'll take a look into this, but it had been working for me.
I don't have the same bug as you Ghostt. But I did notice it gave me 2 Thumbnail URL boxes now.
The only reason I can think of for this is if you had done the manual edits for v1 and then added in v2. Or possibly, if you have edited your templates, you might have two instances of the string that is being searched for to do the auto-template edits.
Thumbnails not working on sticky threads and I do have the option enabled and have img file paths/url applied to each thread.
Did manual template edits as well.
I'll look at this as well, but again, it had been working for me.
Ami same thing happens to me until I edit the theme is not agego the image of the first pos
Not sure I understand the issue.
Null Parameter
10-27-2009, 04:57 PM
Hmmmmm, it won't let me change the image once I put the original URL in. I have no clue what I am doing wrong.
EDIT: OK, I tried it again and it won't let me change it. :( It shows the original image and then when I edit it again it also shows the original URL. I would so love to get this to work...just not sure what I did wrong. Any help would be much appreciated.
This could be an issue with the Auto-template edits. If you want to PM me your editpost template, I can take a look to see if it should be working.
Hello, install this hack and it works very well.
Just wanted to make a query you could suggest how I might do to the subjects who are already echos and I state x forum as it should do to make me appear.
Since I only put them in the new issues
the option that I would like to use is that of the first image of the item.
Greetings.
Actually, I think I just figured out the issue people are seeing with the First Image Setting.
The issue is that, to save on processing, I only update the thumbnail when a thread is edited or created, therefore if you have a forum full of threads, none of them will have the thumbnail saved. So, if you go back and edit the first post of a thread, the thumbnail should update and work.
Obviously, this is a bad workaround, because if you have 5k threads, you'll have to edit 5k posts to get all of the thumbnails to work, but it should still work while I think of a good way to automatically update threads when a forum is added/removed from the list.
Oh yes and finally I can see the mod updated
nominate and will try it on weakend ;)
Thanks Null
You are welcome.
Hey Null the new update is great, I thought I might pitch in a few ideas myself
*Option to set thumbnails as a required field when thumbnails are enabled
*Prioritize the three forms of thumbnail fetching (ex: if I am a thumbnail forum and a thumbnail url was not given use the first image)
*Dont show thumbnails on closed threads
Those are the only three I have right now, Ill let you know if any more decent ideas cross my mind.
Thanks for the suggestions. I had the Priority planned before, I think it's listed in rough form on like the first page of this thread, but it adds a lot of complexity and with people wanting updates, I skipped it for the time being. And I'm not exactly sure how I'd make it a required field..... I'll have to look into that one.
elenh
10-27-2009, 05:39 PM
Works not for me.
The sticky threads is on but nothing showing and the rest thumbs is showing the "no image avaible" thumb.
The fuction of Thumbnail Source is: First image in post. but no images getting.
Null Parameter
10-27-2009, 05:44 PM
Works not for me.
The sticky threads is on but nothing showing and the rest thumbs is showing the "no image avaible" thumb.
The fuction of Thumbnail Source is: First image in post. but no images getting.
Like I said above, I already figured out the issue here.....
Actually, I think I just figured out the issue people are seeing with the First Image Setting.
The issue is that, to save on processing, I only update the thumbnail when a thread is edited or created, therefore if you have a forum full of threads, none of them will have the thumbnail saved. So, if you go back and edit the first post of a thread, the thumbnail should update and work.
Obviously, this is a bad workaround, because if you have 5k threads, you'll have to edit 5k posts to get all of the thumbnails to work, but it should still work while I think of a good way to automatically update threads when a forum is added/removed from the list.
Lietha
10-28-2009, 10:28 AM
Have just installed the mod and much easier to use. However, if I set Thumbnail Source to "First Image In Post" I get the follwoing SQL error
Database error in vBulletin 3.8.4:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
, attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid , MIN(attachment.attachmentid) AS attachmentid
FROM dudbthread AS thread
LEFT JOIN dudbdeletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN dudbsubscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
LEFT JOIN dudbpost AS post ON(post.postid = thread.firstpostid)
LEFT JOIN dudbthreadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN dudbattachment as attachment ON(attachment.postid = thread.firstpostid AND (attachment.extension = 'jpg' OR attachment.extension = 'gif' OR attachment.extension = 'png')) LEFT JOIN dudbattachment AS attachment ON (attachment.postid = thread.firstpostid AND attachment.extension IN('jpg', 'gif', 'png', 'jpeg', 'bmp'))
WHERE thread.threadid IN (0,19,18,10,8) GROUP BY thread.threadid
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Not unique table/alias: 'attachment'
Error Number : 1066
Request Date : Wednesday, October 28th 2009 @ 11:28:21 AM
Error Date : Wednesday, October 28th 2009 @ 11:28:21 AM
Script : http://www.3d-underground.com/forums/forumdisplay.php?f=4
Referrer : http://www.3d-underground.com/forums/
IP Address : 160.79.38.70
Username : SnowCrash
Classname : vB_Database
MySQL Version : 5.0.82-community
Lietha
10-28-2009, 02:13 PM
Sorry - just realised that should be "First attachment in post". Sorry about that.
Ghostt
10-28-2009, 05:01 PM
Actually, I think I just figured out the issue people are seeing with the First Image Setting.
The issue is that, to save on processing, I only update the thumbnail when a thread is edited or created, therefore if you have a forum full of threads, none of them will have the thumbnail saved. So, if you go back and edit the first post of a thread, the thumbnail should update and work.
Obviously, this is a bad workaround, because if you have 5k threads, you'll have to edit 5k posts to get all of the thumbnails to work, but it should still work while I think of a good way to automatically update threads when a forum is added/removed from the list.
Yes how i told. this first image option is useless without a fix because to open a post and then have to edit them everytime is just stupid and no user know/understand that...
you are right we have 40k Topics and cant edit them manuell. I very hope you can fix it!
but still good work and good support !!
Null Parameter
10-29-2009, 12:51 AM
Sorry - just realised that should be "First attachment in post". Sorry about that.Yep, I was going to say that the SQL was for the attachment. Hmmm..... Must be a different version of SQL that doesn't allow like named items, I'll look into changing that as well.
Yes how i told. this first image option is useless without a fix because to open a post and then have to edit them everytime is just stupid and no user know/understand that...
you are right we have 40k Topics and cant edit them manuell. I very hope you can fix it!
but still good work and good support !!
I'm looking into a way to do an update to all of the threads in a forum when a forum is added to the list.
christian8a
10-29-2009, 08:15 AM
Tried it and Didn't work :down:
Ghostt
10-29-2009, 11:31 AM
I'm looking into a way to do an update to all of the threads in a forum when a forum is added to the list.
Thats good , but it should not make mutch load. it looks like it would do :/
why it isnt showing imdiatly ? it is a direct link parse to the image , or not . like $thumburl or so....
Lulubelle
10-29-2009, 02:37 PM
Hey :)
Any luck working out why all the threads disappear apart from the first one when using the 'first attachment in post' option?
Really want to get this working on my forum.
Thanks :)
Ghostt
10-30-2009, 09:04 PM
You can get the full image to show when your hover over it by:
Edit MAIN CSS of style, at the bottom ADDITIONAL CSS DEFINITIONS (1st or 2nd box depending on how you use it), add in (or edit to your preference)
Do the following template edits:
threadbit
Find
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]">
Replace with
<a class="thumbnail" href="showthread.php?$session[sessionurl]t=$thread[threadid]">
very good idea! but isnt working for me .
nothing is changing also after style cache deletion.
elenh
10-30-2009, 09:11 PM
Great thank you!
Voonyx
10-30-2009, 10:01 PM
Is it possible, to show the Thumbnail URL Input field for admins only ?
ToniKa
10-31-2009, 02:21 PM
Thx, Null Parameter!
That would be fantastic :up:
Will be released Thread Thumbnails version for Vbulletin 4?
Ghostt
11-02-2009, 12:40 PM
Is a fix for the First Image in topic in sight? I realy need it
Is a fix for the First Image in topic in sight? I realy need it
me too.
1320Nation
11-02-2009, 02:07 PM
After updating the mod to the current version, I get the following database error when selecting the "First Attachment" option in the Thumbnail Source part of the mod. The "User Entered URL" and "First Image In Post" options both appear to be working with no problems.
I hope a fix can be found for this error.
Database error in vBulletin 3.7.3:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, replycount, IF(views<=replycount, replycount+1, views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
, hasannuser.displaygroupid AS hasanndisplaygid, hasannuser.usergroupid AS hasannusergid, huseyinuser.displaygroupid AS huseyindisplaygid, huseyinuser.usergroupid AS huseyinusergid, MIN(attachment.attachmentid) AS attachmentid
FROM board_thread AS thread
LEFT JOIN board_deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN board_post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN board_threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN board_user AS hasannuser ON (thread.lastposter = hasannuser.username)
LEFT JOIN board_user AS huseyinuser ON (thread.postuserid = huseyinuser.userid)LEFT JOIN board_attachment AS attachment ON (attachment.postid = thread.firstpostid AND attachment.extension IN('jpg', 'gif', 'png', 'jpeg', 'bmp'))
WHERE thread.threadid IN (0,33703,33677,33670,33669,33646,33625,33624,33612 ,33611,33609,33597,33594,33590,33578,33570,33569,3 3565,33552,33540,33530,33529,33516,33499,33498,334 87,33484,33471,25660,25688,25725,25655,25945)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
Error Number : 1140
Request Date : Monday, November 2nd 2009 @ 10:56:21 AM
Error Date : Monday, November 2nd 2009 @ 10:56:22 AM
Script : http://www.******.com/forums/forumdisplay.php?f=80
Referrer : http://www.******.com/forums/index.php
IP Address : 98.***.***.***
Username : *** ***
Classname : vB_Database
MySQL Version : 5.0.45
Ghostt
11-02-2009, 02:12 PM
"First Image In Post" options both appear to be working with no problems.
youre wrong "First Image In Post" isnt working how it should! (image isnt shown after posting)
1320Nation
11-02-2009, 02:54 PM
youre wrong "First Image In Post" isnt working how it should! (image isnt shown after posting)
If I use the img tags in the first post in the thread, it works on my board.
Once the "First Attachment" is working properly I would like to able to use both the "First Attachment" and "First Image In Post" together as a option. Hopefully Null Parameter will stay on top of this and get it taken care of asap.
Ghostt
11-02-2009, 03:08 PM
If I use the img tags in the first post in the thread, it works on my board.
Once the "First Attachment" is working properly I would like to able to use both the "First Attachment" and "First Image In Post" together as a option. Hopefully Null Parameter will stay on top of this and get it taken care of asap.
realy working without need to edit the post?? maybe youve had an older version of thumbmod befor ... give me please your boardurl with pn or post it here . i want to test it.
1320Nation
11-02-2009, 03:19 PM
realy working without need to edit the post?? maybe youve had an older version of thumbmod befor ... give me please your boardurl with pn or post it here . i want to test it.
You are right. I have to edit the post in order for it to appear.
BlessedFWI
11-04-2009, 07:26 AM
This could be an issue with the Auto-template edits. If you want to PM me your editpost template, I can take a look to see if it should be workingThanks...I will PM you now!
megamoose
11-07-2009, 08:26 AM
You can use this to update all previously posted threads using First IMG in post
Upload it to your server root as something like xupdater.php and run.
Then DELETE it.
// SEE REVISED SCRIPT BELOW
Ghostt
11-07-2009, 11:13 AM
Thanks for your work , but im getting an error while running the file "Database error".
and i think it isnt a permanently solution ,which causes an extream amount of server LOAD.
did you tested it? do i have to modifiy something? (my sqltable prefix is "vb")
You can use this to update all previously posted threads using First IMG in post
Upload it to your server root as something like xupdater.php and run.
Then DELETE it.
WARNING! For large forums it may take some time to run the script, and if you have a max exec time then you may have to add breaks in it.
<?php
error_reporting(E_ALL & ~E_NOTICE & ~8192);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('SKIP_SESSIONCREATE', 1);
define('NOCOOKIES', 1);
define('THIS_SCRIPT', 'xupdate');
define('CSRF_PROTECTION', true);
// #################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array();
// pre-cache templates used by specific actions
$actiontemplates = array();
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
$threads = $db->query_read_slave("SELECT * FROM thread");
while ($thread = $db->fetch_array($threads)){
echo "<b>Thread:</b> ".$thread["title"]."<br>";
$posts = $db->query_read_slave("SELECT * FROM `post` WHERE `postid` = '".$thread["firstpostid"]."'");
$post = $db->fetch_array($posts);
echo "
<b>First Post:</b> ".$post["title"]."<br>";
preg_match('/\[img\](.*?)\[\/img\]/i',$post["pagetext"],$matches);
$query = "UPDATE `thread` set `thumbnailurl` = '".$db->escape_string($matches[1])."' WHERE threadid = " . $thread["threadid"];
echo "
<b>SQL:</b>".$query."<br><br>";
$db->query_write($query);
}
?>
megamoose
11-07-2009, 05:48 PM
Yeah I did put a warning on it saying if you have a large database you may have to make an adjustment to the script to to make it stagger the results.
I didn't need to stagger it for my forum, so I just built it as one. If I get a minute I'll see if I can edit it to work for large forums.
Also, to answer your question, no you shouldn't need to change anything. It just runs off your normal settings.
Ghostt
11-07-2009, 05:53 PM
ok hope you have lil time, i am excited to see it work :)
Yeah I did put a warning on it saying if you have a large database you may have to make an adjustment to the script to to make it stagger the results.
I didn't need to stagger it for my forum, so I just built it as one. If I get a minute I'll see if I can edit it to work for large forums.
Also, to answer your question, no you shouldn't need to change anything. It just runs off your normal settings.
megamoose
11-07-2009, 06:14 PM
This should enable batch processing. I have tested it.
Change the $STEP_AMOUNT at the top to something lower if you still get errors
Remember this is for vB version 3.8
Always backup your data before running scripts like these
TO THOSE WHO HAVEN'T BEEN FOLLOWING THE CONVERSATION:
This script will go through all your existing posts and give them thumbnails, based on the First IMG in post option.
<?php $STEP_AMOUNT = 600; ?>
<input type="button" id="btnNext" value="Process Next Results" onClick="window.location='?start='+(<?php echo $_GET["start"]; ?>+<?php echo $STEP_AMOUNT;?>)" disabled=true><br>
The button above should enable once this batch is complete!<br>
<br>
<?php
error_reporting(E_ALL & ~E_NOTICE & ~8192);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('SKIP_SESSIONCREATE', 1);
define('NOCOOKIES', 1);
define('THIS_SCRIPT', 'xupdate');
define('CSRF_PROTECTION', true);
// #################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array();
// pre-cache templates used by specific actions
$actiontemplates = array();
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
if (!$_GET["start"]) { $_GET["start"] = 0; }
$threads = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "thread
LIMIT ".$db->escape_string($_GET["start"]).",". $db->escape_string($_GET["start"]+$STEP_AMOUNT));
while ($thread = $db->fetch_array($threads)){
echo "<b>Thread:</b> ".$thread["title"]."<br>";
$posts = $db->query_read_slave("SELECT * FROM `" . TABLE_PREFIX . "post` WHERE `postid` = '".$thread["firstpostid"]."'");
$post = $db->fetch_array($posts);
echo "
<b>First Post:</b> ".$post["title"]."<br>";
preg_match('/\[img\](.*?)\[\/img\]/i',$post["pagetext"],$matches);
$query = "UPDATE `" . TABLE_PREFIX . "thread` set `thumbnailurl` = '".$db->escape_string($matches[1])."' WHERE threadid = " . $thread["threadid"];
echo "
<b>SQL:</b>".$query."<br><br>";
$db->query_write($query);
}
?>
<script> document.getElementById("btnNext").disabled = false; </script>
megamoose
11-07-2009, 06:39 PM
Okay next fix:
If you are using the First Image in Post option, you will notice you only get a thumbnail when you update the post, and not when you create a new one. To fix this:
Goto the Manage Plugins tab in your ACP and edit New Thread - Save Thumbnail, Datamanager
You will then want to replace the Plugin PHP Code with:
if ($type == 'thread')
{
if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '0')
{
$dataman->setr('thumbnailurl', htmlspecialchars_uni($post['thumbnailurl']));
}
if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '2')
{
preg_match('/\[img\](.*?)\[\/img\]/i',$post['message'],$matches);
$dataman->setr('thumbnailurl', $matches[1]);
}
}
Ghostt
11-07-2009, 07:17 PM
cant belive that you fixed it that fast :D so happy lol big thx!!
to perfect that mod there is only one thing missing:
if you onmouseover on the Topictitle in the forumdisplay.php the thumbnail rise without to expand the "table"
maybe this helps : http://randsco.com/_miscPgs/cssZoomPZ3.html
http://www.cssplay.co.uk/menu/image_magnifier2.html
realdx
11-08-2009, 05:53 PM
Installed and working! thank you!! One [REQ], kindly add "avatar of thread starter" in the next release!! BEST!
EDIT: another suggestion, if possible, store generated thumbs from user given url on forum server, once the original file is deleted, also the thumb will disappear in the thread list..(guess realtime calculated each time, slowing also down a bit the thread listing).. thanks!!
chesterano
11-09-2009, 01:40 AM
if possible to able to use both the "First Attachment" and "First Image In Post" together as a option? but to display only one thumbs.
If is Attachment in post not display First Image
if is Image in post not display Attachment
tlwwolfseye
11-09-2009, 08:00 AM
This should enable batch processing. I have tested it.
Change the $STEP_AMOUNT at the top to something lower if you still get errors
Remember this is for vB version 3.8
Always backup your data before running scripts like these
TO THOSE WHO HAVEN'T BEEN FOLLOWING THE CONVERSATION:
This script will go through all your existing posts and give them thumbnails, based on the First IMG in post option.
<?php $STEP_AMOUNT = 600; ?>
<input type="button" id="btnNext" value="Process Next Results" onClick="window.location='?start='+(<?php echo $_GET["start"]; ?>+<?php echo $STEP_AMOUNT;?>)" disabled=true><br>
The button above should enable once this batch is complete!<br>
<br>
<?php
error_reporting(E_ALL & ~E_NOTICE & ~8192);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('SKIP_SESSIONCREATE', 1);
define('NOCOOKIES', 1);
define('THIS_SCRIPT', 'xupdate');
define('CSRF_PROTECTION', true);
// #################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array();
// pre-cache templates used by specific actions
$actiontemplates = array();
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
if (!$_GET["start"]) { $_GET["start"] = 0; }
$threads = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "thread
LIMIT ".$db->escape_string($_GET["start"]).",". $db->escape_string($_GET["start"]+$STEP_AMOUNT));
while ($thread = $db->fetch_array($threads)){
echo "<b>Thread:</b> ".$thread["title"]."<br>";
$posts = $db->query_read_slave("SELECT * FROM `" . TABLE_PREFIX . "post` WHERE `postid` = '".$thread["firstpostid"]."'");
$post = $db->fetch_array($posts);
echo "
<b>First Post:</b> ".$post["title"]."<br>";
preg_match('/\[img\](.*?)\[\/img\]/i',$post["pagetext"],$matches);
$query = "UPDATE `" . TABLE_PREFIX . "thread` set `thumbnailurl` = '".$db->escape_string($matches[1])."' WHERE threadid = " . $thread["threadid"];
echo "
<b>SQL:</b>".$query."<br><br>";
$db->query_write($query);
}
?>
<script> document.getElementById("btnNext").disabled = false; </script>
Even with that Script I still get the same Database Error as soon as I enable this Mod. I am using vB 3.8.4 PL1.
Any idea how to use this Mod without screwing up the Forum with a DB Error ?
Thanks.
Ghostt
11-09-2009, 01:38 PM
Installed and working! thank you!! One [REQ], kindly add "avatar of thread starter" in the next release!! BEST!
EDIT: another suggestion, if possible, store generated thumbs from user given url on forum server, once the original file is deleted, also the thumb will disappear in the thread list..(guess realtime calculated each time, slowing also down a bit the thread listing).. thanks!!
im versus it, 95% not need that unnecessary ballast. the performance and server load is more important to not abuse it.
realdx
11-09-2009, 01:44 PM
im versus it, 95% not need that unnecessary ballast. the performance and server load is more important to not abuse it.
since the performance is more important is better having to load a 2kb thumbnail than load the original and then resize it in realtime everytime the thread list is viewed.. not to mention that if user grab the image for his thread from somewhere, and then that somewhere delete the image, you have the thread without any thumb.
Ghostt
11-09-2009, 01:52 PM
since the performance is more important is better having to load a 2kb thumbnail than load the original and then resize it in realtime everytime the thread list is viewed.. not to mention that if user grab the image for his thread from somewhere, and then that somewhere delete the image, you have the thread without any thumb.
the images are normaly stored at imagehost so noone care
realdx
11-09-2009, 02:03 PM
the images are normaly stored at imagehost so noone care
you are wrong in thinking that what for you is normal, so it should be for everybody.. yes, I really see users uploading on an image host their tiny thumbs for the thread.. and maybe have the thumb link to the image hosting service.. would you care of uploading to an image host service your thumbs for the thread??
IMO is more easy to see users stealing images they found surfing around, copy the link, and paste it in your board(mine too).
I dont even see why your arguing, probably, if one day we'll see the req I made, you'll have a nifty switch in the ACP, "host thumbs on your server?", yes and no.. so you can keep you images outside, and have a slow thread list, that you dont know how long it will keep the thumbs, while I will have a lighting fast thread list with the thumbs staying in their place as long as the thread is not deleted.. everybody's happy!:D
steve71
11-09-2009, 04:00 PM
Will "first image in post" option work if thread is posted through the "easy forms" hack? If not I will have to revert back to the previous version where the members can manually edit in their thumbnails after posting.
Ghostt
11-10-2009, 03:04 PM
Is it possible to show the last 6 images or so >> in the forumhome >> in the horizontal >> from certain forums?
would be a great upgrade on this mod^^
example: http://www.wowzio.com/widgets/module?wtype=gallery&w=650&h=180&ti=gS&bc=FFFFFF&lc=FFFFFF&ap=no&ps=6&gr=1&gc=6&sb=no&sv=3&cid=18&ef=fade&th=gallery&ids=64854&csshash=393b&autowidth=650&bn=gs&isWidgetBuilder=yes
/edit
i see that guy (https://vborg.vbsupport.ru/showpost.php?p=1821055&postcount=52) allready done it :
http://freeonlinemoviesforum.com/2009-movies-f126.html?
JHarford
11-10-2009, 07:51 PM
Thanks for the great mod. It seems to work well except for one issue.
When I create a new thread, the thread does not appear. Only the first thread I created shows in the forum, the others not at all. The threads only show when I turn off the plugin , or switch to 'first img', but that's not useful when we use the attachment system so much.
Thanks and hope there is a solution
Does this work on v3.7.3?
I installed it. No Thumbnail appear. ( After manual edited template)
It doesn't automatic show thread thumb. It was only show AFTER I edited the post.
Help me please
Ghostt
11-11-2009, 05:57 PM
It doesn't automatic show thread thumb. It was only show AFTER I edited the post.
Help me please
read our last post for solution!
Where is your last posts Ghostt?
<a href="https://vborg.vbsupport.ru/showpost.php?p=1911387&postcount=154" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=154</a>
work fineeeee. if took me a day to edited my template back and forth. woa fixed
praveenbv
11-12-2009, 04:05 AM
Nice MOD, Thanks for this
tlwwolfseye
11-13-2009, 07:56 AM
Even with that Script I still get the same Database Error as soon as I enable this Mod. I am using vB 3.8.4 PL1.
Any idea how to use this Mod without screwing up the Forum with a DB Error ?
Thanks.
Anyone help here ? :eek::eek:
realdx
11-13-2009, 08:08 AM
Anyone help here ? :eek::eek:
Could be some other conflict with some other mods, I have it running on 3.8.4 PL1 flawlessy since installation..
tlwwolfseye
11-13-2009, 08:15 AM
Well, how should I know if its a conflict with one of my other Mods, since they all work together fine. So disabling other Mods that all work perfectly together, just for one other Mod that doesn't work with some or one of them, is out of the question.
Seems I won't be using this one here then, too bad.
megamoose
11-14-2009, 05:02 PM
Well, how should I know if its a conflict with one of my other Mods, since they all work together fine. So disabling other Mods that all work perfectly together, just for one other Mod that doesn't work with some or one of them, is out of the question.
Seems I won't be using this one here then, too bad.
Tell me what the Database error you get is when using that script. You can get the actual error in the source of the page.
Can you choose to have 0 as the placeholder, so there is no image if there isn't one?
marianoblesa
11-14-2009, 10:07 PM
I work in VB4?
tlwwolfseye
11-15-2009, 06:52 AM
Tell me what the Database error you get is when using that script. You can get the actual error in the source of the page.
The previous quote didn't let me put the Code in I had in my post one page before. Here again the Code of the Error.
<?php $STEP_AMOUNT = 600; ?>
<input type="button" id="btnNext" value="Process Next Results" onClick="window.location='?start='+(<?php echo $_GET["start"]; ?>+<?php echo $STEP_AMOUNT;?>)" disabled=true><br>
The button above should enable once this batch is complete!<br>
<br>
<?php
error_reporting(E_ALL & ~E_NOTICE & ~8192);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('SKIP_SESSIONCREATE', 1);
define('NOCOOKIES', 1);
define('THIS_SCRIPT', 'xupdate');
define('CSRF_PROTECTION', true);
// #################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array();
// pre-cache templates used by specific actions
$actiontemplates = array();
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
if (!$_GET["start"]) { $_GET["start"] = 0; }
$threads = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "thread
LIMIT ".$db->escape_string($_GET["start"]).",". $db->escape_string($_GET["start"]+$STEP_AMOUNT));
while ($thread = $db->fetch_array($threads)){
echo "<b>Thread:</b> ".$thread["title"]."<br>";
$posts = $db->query_read_slave("SELECT * FROM `" . TABLE_PREFIX . "post` WHERE `postid` = '".$thread["firstpostid"]."'");
$post = $db->fetch_array($posts);
echo "
<b>First Post:</b> ".$post["title"]."<br>";
preg_match('/\[img\](.*?)\[\/img\]/i',$post["pagetext"],$matches);
$query = "UPDATE `" . TABLE_PREFIX . "thread` set `thumbnailurl` = '".$db->escape_string($matches[1])."' WHERE threadid = " . $thread["threadid"];
echo "
<b>SQL:</b>".$query."<br><br>";
$db->query_write($query);
}
?>
<script> document.getElementById("btnNext").disabled = false; </script>
megamoose
11-15-2009, 08:33 AM
The previous quote didn't let me put the Code in I had in my post one page before. Here again the Code of the Error.
tlwwolfseye, I mean give me the DataBase Error. Goto the file in your web browser, then when the Database Error page comes up, view the source of the file and at the very bottom there is a detailed SQL error.
g0rdy
11-15-2009, 01:17 PM
For those of you that have it working what is the mysql version you are using ?
It errors for me on 5.0.45 when using attachment method vB 3.8.X
Ghostt
11-17-2009, 11:48 AM
what about the rise on mouseover function, any lucky solutions?
/edit
ok i have one now
if you need it just PM me
Ghostt
11-19-2009, 07:20 PM
hey i found a bug. if there are 2 [img] bbcodes in the same line the thumbnail bugs and is not showing image. do you have the same bug and would a reinstall solve the problem?
marianoblesa
11-21-2009, 04:29 AM
please, update to VB4
Can you update so it can auto show Thread Thumbnail on VBADVANCED
vBB-vietnam
12-04-2009, 03:22 AM
Can you update so it can auto show Thread Thumbnail on VBADVANCED
yes. i need it too :(
can you help me
spmatrix
12-04-2009, 08:33 AM
Problem with attachment
Please help !!!!
Database error in vBulletin 3.8.4:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
, MIN(attachment.attachmentid) AS attachmentid, post.pagetext AS previewbbcode
FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN attachment AS attachment ON (attachment.postid = thread.firstpostid AND attachment.extension IN('jpg', 'gif', 'png', 'jpeg', 'bmp'))
WHERE thread.threadid IN (0,2466,2505,2469,2468,2465,2464,2463,2296,2295,22 94)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
Error Number : 1140
Request Date : Friday, December 4th 2009 @ 12:26:18 PM
Error Date : Friday, December 4th 2009 @ 12:26:18 PM
Script : http://www.my.gr/forum/forumdisplay.php?f=195
Referrer : http://www.my.gr/forum/f195/%CE%9A%CE%9F%CE%9A%CE%A4%CE%95%CE%AA%CE%9B-2-a-2465.html
IP Address : 7.252.53
Username : T
Classname : vB_Database
MySQL Version : 5.0.45-log
SoloX
12-04-2009, 02:01 PM
Hi,
I have a large forum as well. How can I modify the following to process threads from one particular forum only?
The previous quote didn't let me put the Code in I had in my post one page before. Here again the Code of the Error.
<?php $STEP_AMOUNT = 600; ?>
<input type="button" id="btnNext" value="Process Next Results" onClick="window.location='?start='+(<?php echo $_GET["start"]; ?>+<?php echo $STEP_AMOUNT;?>)" disabled=true><br>
The button above should enable once this batch is complete!<br>
<br>
<?php
error_reporting(E_ALL & ~E_NOTICE & ~8192);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('SKIP_SESSIONCREATE', 1);
define('NOCOOKIES', 1);
define('THIS_SCRIPT', 'xupdate');
define('CSRF_PROTECTION', true);
// #################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array();
// pre-cache templates used by specific actions
$actiontemplates = array();
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
if (!$_GET["start"]) { $_GET["start"] = 0; }
$threads = $db->query_read_slave("
SELECT *
FROM " . TABLE_PREFIX . "thread
LIMIT ".$db->escape_string($_GET["start"]).",". $db->escape_string($_GET["start"]+$STEP_AMOUNT));
while ($thread = $db->fetch_array($threads)){
echo "<b>Thread:</b> ".$thread["title"]."<br>";
$posts = $db->query_read_slave("SELECT * FROM `" . TABLE_PREFIX . "post` WHERE `postid` = '".$thread["firstpostid"]."'");
$post = $db->fetch_array($posts);
echo "
<b>First Post:</b> ".$post["title"]."<br>";
preg_match('/\[img\](.*?)\[\/img\]/i',$post["pagetext"],$matches);
$query = "UPDATE `" . TABLE_PREFIX . "thread` set `thumbnailurl` = '".$db->escape_string($matches[1])."' WHERE threadid = " . $thread["threadid"];
echo "
<b>SQL:</b>".$query."<br><br>";
$db->query_write($query);
}
?>
<script> document.getElementById("btnNext").disabled = false; </script>
VBUsers
12-04-2009, 03:25 PM
when i add this mod i only get 1 thread per page with the image from the first attachment. i did the manual and auto edits to test it out and its doing the same thing.
let me know the steps to fix this and its a great mod for my forum. hopefully we can get it fixed.
SoloX
12-04-2009, 05:51 PM
Hi,
I have a large forum as well. How can I modify the following to process threads from one particular forum only?
I changed
FROM " . TABLE_PREFIX . "thread
to
FROM " . TABLE_PREFIX . "thread where forumid='14'
where 14 was my target forum. This way I will only do the forums I need. Maybe useful for larger boards.
SoloX
12-04-2009, 06:02 PM
Strange.
My test board worked fine but in production version I am getting the error reported by others:
MySQL Error : Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
SoloX
12-04-2009, 06:04 PM
Ohh! I had set it to attachments and possibly I have attachments disabled. :D .. I set it to first image and all is gud in my land. loving it.
SoloX
12-04-2009, 07:37 PM
Q folks:
If I have another image tag, say MEDIA, can I do the following?
preg_match('/\[(img|MEDIA|IMG)\]\s*(https?:\/\/([^*\r\n]+|[a-z0-9\/\\\._\- !]+))\[\/(img|MEDIA|IMG)\]/', $edit['message'], $matches);
Is there anything else I have to do to read those images?
SoloX
12-05-2009, 03:00 AM
If you have RSS posts going to a forum like I do, you will have to do this:
in includes/cron/rssposter.php find
$threadactiontime = (($feed['threadactiondelay'] > 0) ? (TIMENOW + $feed['threadactiondelay'] * 3600) : 0);
right under it, put
$pat = '/\[IMG\](.*?)\[\/IMG\]/i';
preg_match($pat,$pagetext,$matches);
$thumburl = escape_string($matches[1]);
$itemdata->set('thumbnailurl', $thumburl);
vBB-vietnam
12-05-2009, 06:03 PM
Can you update so it can auto show Thread Thumbnail on VBADVANCED
gantonr
12-05-2009, 11:14 PM
ok i installed and get this when set to first attachment
Database error in vBulletin 3.8.4:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
, MIN(attachment.attachmentid) AS attachmentid
FROM vbf_thread AS thread
LEFT JOIN vbf_deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN vbf_subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
LEFT JOIN vbf_post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN vbf_threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN vbf_attachment AS attachment ON (attachment.postid = thread.firstpostid AND attachment.extension IN('jpg', 'gif', 'png', 'jpeg', 'bmp'))
WHERE thread.threadid IN (0,17)
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
Error Number : 1140
Request Date : Sunday, December 6th 2009 @ 12:39:28 AM
Error Date : Sunday, December 6th 2009 @ 12:39:28 AM
IP Address : 95.132.62.79
Username : admin
Classname : vB_Database
MySQL Version : 5.0.51a-24+lenny2+spu1-log
it seems common problem? ;-) how i get rid of it? if you can please simple and step by step ;-)
cheers, Tong.
VBUsers
12-07-2009, 06:56 AM
when i add this mod i only get 1 thread per page with the image from the first attachment. i did the manual and auto edits to test it out and its doing the same thing.
let me know the steps to fix this and its a great mod for my forum. hopefully we can get it fixed.
anyone on this issue?
SoloX
12-07-2009, 02:02 PM
^ check your HTML edits. You are missing either a TD or TR tag.
mykkal
12-08-2009, 06:47 AM
This is cool... Question for the creator of the mod. is it possible to be able to define the images for the members?
Just curious...I want to use the mod. I just don't want them to be able to choose any type of image.
Gotta keep control, ya know. This is a really nice mod that could be abused badly.
Leonard
12-10-2009, 03:40 AM
Hey guys,
So I had the same problem as some of you where, if you use attachments, only the first thread shows up on forumdisplay and all the other threads mysteriously disappear.
After a bit of digging the culprit was actually in a missing "group by" clause in the SQL statement.
Solution
Edit the plugin "Forum Display - Query"
Change the code to this:
$dothumbnail = false;
if((THIS_SCRIPT == 'forumdisplay') && ($vbulletin->options['thread_thumbnails_active'] == '1')){
if ($vbulletin->options['thread_thumbnails_forum_list'] && $vbulletin->options['thread_thumbnails_forum_list'] != "") {
$forumsallowed = explode(",", $vbulletin->options['thread_thumbnails_forum_list']);
if (in_array($foruminfo['forumid'], $forumsallowed)){
$dothumbnail = true;
if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '1'){
$hook_query_joins .= "LEFT JOIN " . TABLE_PREFIX . "attachment AS attachment ON (attachment.postid = thread.firstpostid AND attachment.extension IN('jpg', 'gif', 'png', 'jpeg', 'bmp'))";
$hook_query_fields .= ", MIN(attachment.attachmentid) AS attachmentid";
$hook_query_where .= "GROUP BY thread.threadid";
} else {
$hook_query_fields .= ", thread.thumbnailurl AS thumbnailurl";
}
}
}
}
The missing line was $hook_query_where .= "GROUP BY thread.threadid";
Working now....
Leo
SoloX
12-10-2009, 09:15 AM
search thumbnails only appear on the first page. The rest of the pages are displayed as normal (without thumbs). Is it just me? I have VBSEO installed.
mykkal
12-10-2009, 09:34 AM
Hey guys,
So I had the same problem as some of you where, if you use attachments, only the first thread shows up on forumdisplay and all the other threads mysteriously disappear.
After a bit of digging the culprit was actually in a missing "group by" clause in the SQL statement.
Working now....
Leo
hey thanks... haven't tried it yet but I hope it will work. Hopefully the mod maker will release a patched version as well to make it easy on the non-technical folks.
$threadactiontime = (($feed['threadactiondelay'] > 0) ? (TIMENOW + $feed['threadactiondelay'] * 3600) : 0);
preg_match($pat,$pagetext,$matches);
$thumburl = escape_string($matches[1]);
$itemdata->set('thumbnailurl', $thumburl);
if ($type == 'thread')
{
if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '0')
{
$dataman->setr('thumbnailurl', htmlspecialchars_uni($post['thumbnailurl']));
}
if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '2')
{
preg_match('/\[img\](.*?)\[\/img\]/i',$post['message'],$matches);
$dataman->setr('thumbnailurl', $matches[1]);
}
}
if ($type == 'thread')
{
if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '0')
{
$dataman->setr('thumbnailurl', htmlspecialchars_uni($post['thumbnailurl']));
}
if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '2')
{
preg_match('/\[img\](.*?)\[\/img\]/i',$post['message'],$matches);
$dataman->setr('thumbnailurl', $matches[1]);
}
}
not work
$pat = '/\[IMG\](.*?)\[\/IMG\]/i';
preg_match($pat,$pagetext,$matches);
$thumburl = escape_string($matches[1]);
$itemdata->set('thumbnailurl', $thumburl);
If you have RSS posts going to a forum like I do, you will have to do this:
in includes/cron/rssposter.php find
PHP Code:
$threadactiontime = (($feed['threadactiondelay'] > 0) ? (TIMENOW + $feed['threadactiondelay'] * 3600) : 0);
Put this below
preg_match('/\[img\](.*?)\[\/img\]/i',$pagetext,$matches);
$thumburl = ($matches[1]);
$itemdata->set('thumbnailurl', $thumburl);
now the thumbnail will appear on forum display like regular thread posts
The code work on my 3.8.4
it will draw the thumb from {feed:description}
any one know how to edit the {feed:description} and make it shorter or delete some characters?
Taurus1
12-16-2009, 12:43 PM
Hey guys,
So I had the same problem as some of you where, if you use attachments, only the first thread shows up on forumdisplay and all the other threads mysteriously disappear.
After a bit of digging the culprit was actually in a missing "group by" clause in the SQL statement.
Solution
Edit the plugin "Forum Display - Query"
Change the code to this:
$dothumbnail = false;
if((THIS_SCRIPT == 'forumdisplay') && ($vbulletin->options['thread_thumbnails_active'] == '1')){
if ($vbulletin->options['thread_thumbnails_forum_list'] && $vbulletin->options['thread_thumbnails_forum_list'] != "") {
$forumsallowed = explode(",", $vbulletin->options['thread_thumbnails_forum_list']);
if (in_array($foruminfo['forumid'], $forumsallowed)){
$dothumbnail = true;
if($vbulletin->options['thread_thumbnails_thumbnail_source'] == '1'){
$hook_query_joins .= "LEFT JOIN " . TABLE_PREFIX . "attachment AS attachment ON (attachment.postid = thread.firstpostid AND attachment.extension IN('jpg', 'gif', 'png', 'jpeg', 'bmp'))";
$hook_query_fields .= ", MIN(attachment.attachmentid) AS attachmentid";
$hook_query_where .= "GROUP BY thread.threadid";
} else {
$hook_query_fields .= ", thread.thumbnailurl AS thumbnailurl";
}
}
}
}
The missing line was $hook_query_where .= "GROUP BY thread.threadid";
Working now....
Leo
Thanks mate! That did it!! :D
fredang85
12-16-2009, 02:40 PM
Take a look here (http://www.motorolafans.com/forums/mototheme/)
When there is no attached pictures, there is a broken image.
RedHacker
12-16-2009, 03:24 PM
I install first time version 2 but not show thumbnails...
segwayon
12-18-2009, 07:54 PM
Thanks for developing this mod. It comes in handy when posting YouTube videos with the thumbnail images.
I had to set the width property in the AdminCP options in order to get the image to show. New threads are now working fine with URL images. However, I notice that when I edit a thread it doesn't want to show the thumbnail URL input box. I manually edited the templates, including the "editpost" one. Any suggestions?
Update: I got the image URL box to appear on an edit by clicking on the "Go Advanced" button, at least for adding a fresh, new thumbnail onto an old thread.
fredang85
12-19-2009, 12:07 PM
Take a look here (http://www.motorolafans.com/forums/mototheme/)
When there is no attached pictures, there is a broken image.
Can someone help out? :P
Thanks..
segwayon
12-19-2009, 01:04 PM
Can someone help out? :P
Thanks..
I wish I could assist, as I'm using the URL method and I'm new to this mod. It looks like those broken image links are there because the threads in question do not have any attached images in them, and as I recall the attachments have to be in the first post within each thread. Not sure if there's a method to avoid these kinds of broken links for attachments, though, and I'll be watching this thread for results, too.
SoloX
12-19-2009, 01:55 PM
Can someone help out? :P
Thanks..
right click on the image and see if its pointing the same link. if it does, then just place a blank or NOIMAGE image. :)
space?
12-20-2009, 03:42 PM
it doesnt works with vb 3.8.3. the auto edit doesnt work. the images doesnt show. can anybody give me the code for the manuel edit please?
segwayon
12-21-2009, 05:03 AM
it doesnt works with vb 3.8.3. the auto edit doesnt work. the images doesnt show. can anybody give me the code for the manuel edit please?
Have you set the minimum width or height in the options? My URL images appeared after I set the size.
DirtNations
12-21-2009, 05:27 AM
Is it possible to specify specific forums for this mod to work in? I only want this to be attached to my classifieds forum, and not the rest.
RTimm
12-21-2009, 08:07 AM
Is it possible to specify specific forums for this mod to work in? I only want this to be attached to my classifieds forum, and not the rest.
There is an ACP setting called "Show in what forums?" where you put the forum ID of the forum(s) you want thumbnails to show for into the text box separated by commas.
ACP > vBulletin Options > Thread Thumbnails Options > Show in what forums?
DirtNations
12-21-2009, 08:15 AM
Ah that is absolutely fantastic. Thanks so much for the reply. This is going up, ASAP.
milsirhc
12-21-2009, 08:53 AM
Is this workable on V4?
Can we also display the thread title in the show thread page?
apiasto
12-21-2009, 07:27 PM
doesn't work
VBUsers
01-02-2010, 04:18 AM
uninstalled - thanks but to buggy for me
vBB-vietnam
01-02-2010, 03:29 PM
i need it for V4
help me plz
powerful_rogue
01-02-2010, 07:03 PM
Hi,
Im really hoping someone may be able to help.
Ive got the mod set to show the thumbnail of an attachment, however when an attachment isnt included within a thread, it just shows a red X.
I added a link to show a "no image" picture, but it still seems to be looking for an attachment when one hasnt been included.
Any help greatly appreciated
deluxmall
01-05-2010, 10:51 AM
I need this for VB4 as well.
Anyone help?
jayfenney
01-15-2010, 10:30 AM
I've installed this and it works great for the most part, except I get the same problem as gantonr. The template edits have worked fine and there's no issue with the thumbnails showing, except when I have it set to use the first attachment. I get the following database error
Database error in vBulletin 3.8.4:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadread.readtime AS threadread
, threadredirect.expires
, attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid , MIN(attachment.attachmentid) AS attachmentid
FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 2 AND canview = 1)
LEFT JOIN threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 2)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN attachment as attachment ON(attachment.postid = thread.firstpostid AND (attachment.extension = 'jpg' OR attachment.extension = 'gif' OR attachment.extension = 'png')) LEFT JOIN attachment AS attachment ON (attachment.postid = thread.firstpostid AND attachment.extension IN('jpg', 'gif', 'png', 'jpeg', 'bmp'))
WHERE thread.threadid IN (0,840,433,889,814,895,900,880,890,808,897,876,835 ,887,877,733,879,806,874,732,883,483) GROUP BY thread.threadid
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Not unique table/alias: 'attachment'
Error Number : 1066
Request Date : Friday, January 15th 2010 @ 04:58:03 AM
Error Date : Friday, January 15th 2010 @ 04:58:04 AM
Script : http://www.lightspeed-art.com/community/3d-wips-f13.html
Referrer : http://www.lightspeed-art.com/community/battleship-thirty-twevle-t840.html
IP Address : 90.210.63.183
Username : Scorpius
Classname : vB_Database
MySQL Version : 5.1.42
angeljs
01-15-2010, 02:23 PM
I need this for VB4 as well.
Anyone help?
Me, too! :D
BillieJoe
01-15-2010, 03:13 PM
ok i really need help, i searched the thread but didnt find out how to fix it.
if i directly put in the thumbnail like this
https://vborg.vbsupport.ru/external/2010/01/15.gif
and i dont have another img code in that line the preview works.
but if there are 2 img codes per line or hotlinked images like
http://img240.imagevenue.com/loc111/th_72507_olivia-wilde-1920x1200-36389_122_111lo.jpg (http://img240.imagevenue.com/img.php?image=72507_olivia-wilde-1920x1200-36389_122_111lo.jpg) it doenst work
how can i fix it?
islam mohamed
01-22-2010, 08:51 PM
hello
i need see that hack in vBadvanced cuz no work in portal
plz help me
Thanks
milsirhc
01-23-2010, 11:35 PM
Is it possible to put a value for height??
This mod works great, but my thumbnail are all of different height... and when they resize it according to the width.. the heights are all diff.
Anyone know how to change it?
Xtrigit
02-02-2010, 11:21 PM
I need this for vbulletin 4 please!!!
Mike_K
02-08-2010, 05:10 PM
This is a great mod! Would be nice to have it also on VB 4
bosal
02-09-2010, 08:44 PM
Please make it for vBulletin 4.0 or even vBadvanced :)
Aceman
02-18-2010, 01:55 PM
Definitely need for 4.0.X - I'll make a donation if you code it for 4.0 to you or your site.
angeljs
02-18-2010, 02:25 PM
Definitely need for 4.0.X - I'll make a donation if you code it for 4.0 to you or your site.
Me too :)
oldford
02-19-2010, 01:13 PM
I've installed this and it works great for the most part, except I get the same problem as gantonr. The template edits have worked fine and there's no issue with the thumbnails showing, except when I have it set to use the first attachment. I get the following database error
Database error in vBulletin 3.8.4:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadread.readtime AS threadread
, threadredirect.expires
, attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid , MIN(attachment.attachmentid) AS attachmentid
FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 2 AND canview = 1)
LEFT JOIN threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 2)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN attachment as attachment ON(attachment.postid = thread.firstpostid AND (attachment.extension = 'jpg' OR attachment.extension = 'gif' OR attachment.extension = 'png')) LEFT JOIN attachment AS attachment ON (attachment.postid = thread.firstpostid AND attachment.extension IN('jpg', 'gif', 'png', 'jpeg', 'bmp'))
WHERE thread.threadid IN (0,840,433,889,814,895,900,880,890,808,897,876,835 ,887,877,733,879,806,874,732,883,483) GROUP BY thread.threadid
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Not unique table/alias: 'attachment'
Error Number : 1066
Request Date : Friday, January 15th 2010 @ 04:58:03 AM
Error Date : Friday, January 15th 2010 @ 04:58:04 AM
Script : http://www.lightspeed-art.com/community/3d-wips-f13.html
Referrer : http://www.lightspeed-art.com/community/battleship-thirty-twevle-t840.html
IP Address : 90.210.63.183
Username : Scorpius
Classname : vB_Database
MySQL Version : 5.1.42
Ditto. Sounds like several people in this thread have reported this problem, but I haven't seen a solution posted.
Mike_K
02-22-2010, 12:47 PM
Me too :)
will make also a donation.... :)
Null Parameter
02-25-2010, 11:59 PM
I don't have vB 4.0 and I actually don't even have admin access to the forum I had used to develop it on. So basically, I have no way to do it, even if I wanted to.
The attachments is a known problem, and because I didn't have a working development server that supported attachments, I could never debug the issue.
Sorry for the lack of support lately, but my computer took a dive and I retired from admin on the vB forum that I had been running.
Mike_K
02-26-2010, 12:15 PM
Would it help if you have access to a VB 4 test board? Or what do you need more?
Null Parameter
02-26-2010, 01:19 PM
Would it help if you have access to a VB 4 test board? Or what do you need more?
That should theoretically be all that I need.
Well, that and to brush up on my vB coding skills :)
Mike_K
02-26-2010, 02:29 PM
That should theoretically be all that I need.
Let me know if you want this.
Well, that and to brush up on my vB coding skills :)
You will get it if you do it :D
I have no knowledge about the coding. But if i take a look in the plugin it seems that only the database names changed?
Null Parameter
02-26-2010, 02:40 PM
Let me know if you want this.
If you guys really want this that badly, I can take a stab at it.
Mike_K
02-26-2010, 02:46 PM
Sure!!!!!
This mod should basic in a VB!
Aceman
02-26-2010, 03:52 PM
Sweet! He's back! I can't wait. MOTM if you ask me.
BTW: Suggestion: Is it possible for a user to Flag an attachment as the thread thumbnail rather then it drawing from the first attachment, first image, or URL?
After upload it asks, "Set as thread thumbnail? Yes/No"
Just a thought.
Thanks for you contribution!
Aceman
Cust0ms
03-01-2010, 04:38 PM
When Thread Thumbnails is working I see only one thread in threads list. How to fix it?
kalisekj
03-01-2010, 10:52 PM
I also would love to see this ported to VB4, this is a must have mod for Movie Sites Like Mine. I would Also Donate. Contact me if you need a server and site to test this on I can give you both.
MrRem
03-02-2010, 07:03 AM
Is there a way to make it check for:
Thumbnail URL.
if no URL, use first attachment.
if no attachment, use first IMG tag in whole thread.
If this exists, how make work?
Also. How do you make the thumbnail image replace "forum_new.gif" on the Forumhome ?
Null Parameter
03-02-2010, 03:31 PM
When Thread Thumbnails is working I see only one thread in threads list. How to fix it?Which settings are you using?
Is there a way to make it check for:
Thumbnail URL.
if no URL, use first attachment.
if no attachment, use first IMG tag in whole thread.
If this exists, how make work?
Also. How do you make the thumbnail image replace "forum_new.gif" on the Forumhome ?There is currently no way to use every option like that, but it has been discussed as a possible future feature.
There is also no option to display it on the forumhome, although I'm not exactly sure why you would want that anyway when the thumbnails are for an individual thread and not the forum.
I also would love to see this ported to VB4, this is a must have mod for Movie Sites Like Mine. I would Also Donate. Contact me if you need a server and site to test this on I can give you both.A very big thanks to Mike_K, as he has setup a test forum for me to develop on. And thank you to the several other people that also offered.
At this time, I have most of the functionality ported over to vB4. The issues I'm still trying to deal with is the threadbit Auto-Template edit, Attachments and Search integration (search has changed a lot).
I've also been improving things quite a bit, like allowing any CSS style on the thumbnail, so you can specify width, height, max-width, max-height, margins, borders and any other CSS property you wish to apply to the thumbnails.
Mike_K
03-03-2010, 07:26 AM
After seeing the first results I think we will get a new VB 4 motm! :up:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.