vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Thread Thumbnail (https://vborg.vbsupport.ru/showthread.php?t=158396)

dmknights 01-21-2009 04:20 PM

will this work for 3.8?

MissKalunji 01-21-2009 04:51 PM

mine still working on 3.8

dmknights 01-21-2009 06:19 PM

*Installed*
Works Perfect on 3.8.0

hieronymous 01-29-2009 10:23 AM

this is a great little plug-in that i've been using almost since i set my board up

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

(for some reason if i search the thread for "[img]" it returns 0 posts, and i don't want to wade through all 19 pages if somebody knows the answer straight off)

theOZer 01-30-2009 02:20 PM

You are correct. In this mod, at least, no tweak was ever released to create thumbnails from embedded [img] files. This mod simply, and so effectively, can only grab/see/display a thumbnail 1) if the thumbnail was created thru vB Attachment Manager and 2) if the thumbnail is in the thread's first post.
Possibly doing a search thru all of vB.org's forums may turn something up.
~theOZer

hieronymous 01-31-2009 03:42 AM

thanks for the reply, i rather thought that would be the case

as i say, the obvious query word "img" or "[img]" returns no results, i guess because there aren't enough letters in "img"... and in any case, if this mod doesn't handle embedded images, then i don't really want to use any other mod - as this one mostly works fine apart from this (very minor) issue

KevinL 01-31-2009 04:21 AM

Yeah this is a great mod.

I actually started using one made by Gio that creates thumbs like this and also gives you a lot of flexibility and options within all your forums. It's a great product.

indiawilds 02-09-2009 03:11 AM

Hi,

I am using this plugin and i am able to display the thumbnails, but if some user links the photo from some other site, then the thumbnail is not displayed.

Can you please let me know what can be done to display thumbnails of images linked from other sites.

I am using 3.8.1.

Thanks.

Aery 02-10-2009 09:02 AM

Hi,
first of all, I really like this mod!

I need only a simple info :

There is a way to show the thumbnail in the forum main page ?
For example : 8 inline thumbnail to the upper part of the forum (or lower, etc)

In the past I had a forum with 8 thumbnail from photopost, now I remove it but I still need to have the thumbnail !

Thanks a lot!

6piston 02-10-2009 02:42 PM

been using for some time now. it was just what my site really needed.

the thing is, i've always been finding ways for the thread thumbnails to load better on IE.
it's just so much more slower when all the thumbnails have to be loaded before the page actually displays

plus, on some pcs, the thread thumbnails hang their IE browsers. could it be the intense loading for the browser?

theOzer or anyone out there found a better way to load the thumbnails? <DIV> instead of tables perhaps?

SVTCobraLTD 02-12-2009 04:48 PM

Great mod here. However what about linked images? Any way to get them to show?

theOZer 02-13-2009 02:23 PM

I just burned 30+ minutes perusing vB.org looking for a hack that would create a thumbnail when someone posts a linked image. I couldn't find anything.
I've also tried to find a commercial software package that offers this feature. No luck for me so far; maybe I need to improve my web searching abilities; maybe.
I've seen some impressive forums where on the main page there's an array of thumbnails that when clicked on take you to the post, etc... Where to find out how to do this or where to buy the code to do this is currently beyond my reach. Hmmm.

theOZer 02-13-2009 03:27 PM

Quote:

Originally Posted by 6piston (Post 1739856)
so much more slower when all the thumbnails have to be loaded before the page actually displays

Hey 6piston,
Many issues come into play concerning performance and page displays in vB.
How many mods/hacks do you have running in addition to this TT mod. Don't forget their pull on your forum reserves.
This mod can't be DIV'd or JavaScripted or swanktified.
But, try adding Width and Height to your <img tag (see page 19, post #278).
Just the Width parameter works for IE but you need both Width and Height parameters for this to work in FireFox and other browsers, so use both parameters.

Aery 02-14-2009 06:45 AM

Quote:

Originally Posted by theOZer (Post 1742931)
I just burned 30+ minutes perusing vB.org looking for a hack that would create a thumbnail when someone posts a linked image. I couldn't find anything.
I've also tried to find a commercial software package that offers this feature. No luck for me so far; maybe I need to improve my web searching abilities; maybe.
I've seen some impressive forums where on the main page there's an array of thumbnails that when clicked on take you to the post, etc... Where to find out how to do this or where to buy the code to do this is currently beyond my reach. Hmmm.

Thanks for take a look around the world!
Anyway, if you found a way to create this hack I'm stick around this thread :)

theOZer 02-14-2009 01:11 PM

I, too, have nothing more to offer here.
Regards, theOZer

hieronymous 02-17-2009 06:50 AM

thanks for taking the time to look anyway

MẪ$T?Я 02-17-2009 01:19 PM

Quote:

If you would like thumbnails to display in the search results, you will need to replace your search.php page with the one in the zip file. Unfortunately vBulletin forgot to include a hook variable where it is necessary for this to work. I have added 1 line to search.php with the hook variable. There is no way around this until vbulletin adds it themselves.
what can i add in the search.php .

My Vbulletin Version is 374

theOZer 02-17-2009 04:16 PM

See page 8, Post #112. The change to search.php hasn't change, so, the info in this post still applies; this added code works in all versions of vB search.php from 368 thru 38x.
~theOZer

6piston 03-14-2009 09:43 AM

Quote:

Originally Posted by theOZer (Post 1742982)
Hey 6piston,
Many issues come into play concerning performance and page displays in vB.
How many mods/hacks do you have running in addition to this TT mod. Don't forget their pull on your forum reserves.
This mod can't be DIV'd or JavaScripted or swanktified.
But, try adding Width and Height to your <img tag (see page 19, post #278).
Just the Width parameter works for IE but you need both Width and Height parameters for this to work in FireFox and other browsers, so use both parameters.

hi the ozer

thanks for the help.

well, the real problem is with the older or messed up old IE's that some of my users complains about. it works fine with standard or new browsers. even my Nokia phone loaded the page with no problems. Just thought there'd be a way to speed things up like some other classifieds sites.

are you saying that if i add the witdh and height tags, the page will load better?

I have a rather busy forums section which i use for classifieds. This has made an impact on the server loads right after i used the TT plugin. it's something i will bever remove though. It has improved the site experience so much\

I have since added another quad core server, so server load is back on track.

if anyone want to have a look at how i used the thread thumbnails, this is it
http://www.zerotohundred.com/newforu...d-performance/

theOZer 03-19-2009 05:10 PM

6piston,
Concerning older versions of IE. Trying to cater your forum to work in older IE versions is honorable but… why? If someone has IE7 upgrade or IE8 upgrade (dropped today!) or, worse yet, IE6 upgrade "fear," smolly. Upgrade. Much to my amazement and joy was the discovery that the latest version of Mozilla’s FireFox seems to be THE browser to use when viewing a vB forum. So, put a ‘works best with…’ line hidden somewhere in your footer using a really really small font (visualize a cute smiling smilie here).
No. I apologize and after rereading see my suggestion as misleading about performance. But, have you tested using width & height? To actually reduce your thumbnails’ size (AdminCP > vBulletin Options > Message Attachment Options > Thumbnail Size) might improve display delay but its messy and not recommended by me. Always first test changes like this in your testvb.
My initial post here about using width and height was for someone who just wanted to tidy up, display smaller thumbnails in a list.
Nice web site and utilization of this TT mod. Remember, any hookname that “knows” a thread’s thread.firstpostid can be used to grab 1st post attachment info, too. For example, I found one in tags.php, hookname: tags_list_query_data (see pg 12, post 169). How you’ve shaped up your forum shows me you should be able to take this FYI tidbit and run with it. Good luck.
Regards, theOzer
P.S.
Curiously, IE8 was officially released as I (pre)typed my reply diatribe here. IE8 seems to "handle" using HighSlide in Image Resizer (which I use with NO image resizing, just HighSlide). Hmmm...

Arkham 04-03-2009 03:37 PM

Finally installed and got it working.

Now, I really need the thread thumb to show up above the thread itself on showthread.

I already have a spot for the thread title above the first post, that works, but I can't get the thumbnail to show up.

I copied and modified the template code from the threadbit, and inserted this where I want it to show up:

Code:

            <if condition="$tt_displaythumbs">
                <if condition="($thread['attachmentid']) AND ($thread['thumbsize'])">
                    <img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" alt="" border="0" align="left" />
                    </a>
                <else />
                    <img src="$stylevar[imgdir_misc]/nothumb.jpg" alt="" border="0" />
                </if>
            </if>

Nothing show up. Is there something else I need to do? Like add jason's hook code to showthread.php or something?

bmckain 04-04-2009 12:06 AM

Quote:

Originally Posted by KevinL (Post 1729703)
Yeah this is a great mod.

I actually started using one made by Gio that creates thumbs like this and also gives you a lot of flexibility and options within all your forums. It's a great product.

What's the name of the mod or a link to it?

KevinL 04-04-2009 12:20 AM

Quote:

Originally Posted by bmckain (Post 1783409)
What's the name of the mod or a link to it?

It is Advanced Forums. It really is one of the best products I have used. Lot's of flexibility when it comes down to things. The link is Provb

I used this mod here to begin with, then found provb AF and haven't turned back :)

Arkham 04-05-2009 08:11 PM

Quote:

Originally Posted by KevinL (Post 1783414)
It is Advanced Forums. It really is one of the best products I have used. Lot's of flexibility when it comes down to things. The link is Provb

I used this mod here to begin with, then found provb AF and haven't turned back :)

I've been looking at another ProvB product and was wondering if their Advanced Forums product would assist in this regard as well.

Does it let you show the first attachment of the first post of a thread in the thread (and search, and tag listings)? If there's a commercial product that we can use instead of this I'd be willing to go that route.

Right now the last piece of the puzzle is being able to display the image thumbnail above the thread, near the top of the showthread template. Do you know if that's possible?

Thx!

KevinL 04-05-2009 08:42 PM

PM sent instead of posting in this thread anymore ;)

Arkham 04-05-2009 10:00 PM

Quote:

Originally Posted by KevinL (Post 1784578)
PM sent instead of posting in this thread anymore ;)

Thanks for the reminder. ;) I with all the searching I've been doing between standard changes, mods, and other options, I got sidetracked.

kyle1745 04-21-2009 02:35 AM

Anyone running this with the latest release?

Arkham 04-21-2009 01:24 PM

Quote:

Originally Posted by kyle1745 (Post 1795650)
Anyone running this with the latest release?

I'm running it on 3.8.1, if that helps. I haven't tried 3.8.2 but I doubt anything should break between such minor version changes.

kyle1745 04-25-2009 01:28 AM

No luck here with 3.8.1.

theOZer 04-25-2009 01:16 PM

kyle1745,
Thread Thumbnails in (your selected) forums works in all vB38x versions so far. You should not need to make any changes/tweaks to this mod's base thread thumbnails plugin after a vB update.
To display thread thumbnails in your Search lists and/or your Tags list you need to tweak search.php and/or tags.php (like we have had to for all previous vB version updates since 368).
If you have the 'Thread Thumbnail - Search' plugin turned ON - Did you change, add the TT code to the vB3.8.x search.php file? (see Post # 112 on Page 8 or do a Search this Mod looking for search.php, whatever)
If you have the 'Thread Thumbnail - Tag Search' plugin turned ON - Did you change, add the TT code to the vB3.8.x tags.php file? (see Post # 169 on page 12 or do a Search this Mod looking for tags.php, whatever)
In my testvb instance I successfully upgraded to vB3.8.x, after adding the TT code to both search.php and tags.php, and both plugins work for me.
~theOZer

kyle1745 04-25-2009 02:00 PM

I am installing this into a 3.8.2 forum.

I added the plugin, and set the forum id. I do not see any thumbnails in the forum.

kyle1745 04-25-2009 02:02 PM

I also start gettign database errors when I add this plugin:

Quote:

Database error in vBulletin 3.8.2:

Invalid SQL:

SELECT post.pagetext AS preview,
thread.threadid, thread.threadid AS postid, thread.title AS threadtitle, thread.iconid AS threadiconid, thread.dateline, thread.forumid,
thread.sticky, thread.prefixid, thread.taglist, thread.pollid, thread.open, thread.lastpost AS postdateline, thread.visible,
thread.hiddencount, thread.deletedcount, thread.attach, thread.postusername, thread.forumid,

thread.replycount, IF(thread.views<=thread.replycount, replycount+1, thread.views) AS views,
thread.lastpost, thread.lastposter, thread.lastpostid
,

user.userid AS postuserid
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, threadread.readtime AS threadread
, attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid
FROM thread AS thread
LEFT JOIN user AS user ON(user.userid = thread.postuserid)


LEFT JOIN threadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 3987)
LEFT JOIN subscribethread AS subscribethread
ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 3987 AND canview = 1)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)

LEFT JOIN attachment as attachment ON(attachment.postid = thread.firstpostid AND (attachment.extension = 'jpg' OR attachment.extension = 'gif' OR attachment.extension = 'png'))
WHERE thread.threadid IN
(39376, 38257, 38448, 38193, 3995, 14622, 18630, 34509, 32167, 32602, 31931, 30799, 30551, 30116, 29978, 28987, 28840, 27922, 28231, 28168, 28124, 27529, 26890, 26171, 26085);

6piston 04-28-2009 08:43 AM

hi theOZer

thank you for supporting this mod, was using this mod for sometime only on the forumdisplay

i am now ready to integrate into search, so i tried doing it last night by activating the plugin for search and then applying your codes in post #112 to my search.php for 3.7.2

But no thumbnails shows in search, it looks like default.
is there some further template mods i should be doing?

as you can see here, my forumdisplay tt's are working perfectly:
http://www.zerotohundred.com/newforums/cars-for-sale/

Thanks!
Tom

NNJJ 05-21-2009 06:29 PM

hope we can get upgrade for this mod for 3.8.2 its great!

mindhunter77 05-21-2009 07:24 PM

Anyone had any issues with this when using vBSEO ?

smsoom 05-22-2009 11:01 PM

Quote:

Copy and paste the postbit_attachmentimage template contents into the postbit_attachmentthumbnail template (overwrite the current postbit_attachmentthumbnail contents). And leave thumbnail creation on.
I do this and it works fin to show fullsize of attachmentimage in posts with thumbnail creation switched to on.
but
when I do this to insert attachmentimage in the post, I get the thumbnail image??

http://www.roo7oman.com/up/files/29158.jpg

can somebody help me what to do?

thank you jasonmerchant for this plugin.

somailhm 05-24-2009 05:57 PM

thank you

kalisekj 06-02-2009 01:44 PM

Hi I just LOVE this Mod, Thank You So Very Much you saved me a ton of work and made my movie web site look like it should. WooHoo! Only 1 problem I am having is that its showing the full size of the poster instead of a thumbnail,, did I miss something somewhere?

kalisekj 06-02-2009 02:58 PM

Quote:

Originally Posted by theOZer (Post 1564896)
Adding Thread Thumbnails to Tag Search

Here's my New & Improved threadbit template change to thread thumbnail both regular searches and Tag searches. Your current TT code may differ from mine, for sure.

What do you mean TT code may differ? I made all the changes but alas all I see is the no post icon :(, I am sure I missed something. Any Help? :D

Good Thing is that the Forum Search and The Forums Still show the thumbnails albeit all of them are the full size, wish I could change that.

ghostpt 06-07-2009 11:47 PM

Work excellent on 3.8.1 with vbSEO.

Thanks.


All times are GMT. The time now is 07:42 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02029 seconds
  • Memory Usage 1,841KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete