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)

6piston 06-18-2009 05:07 PM

hi theOZer and neverbored
sorry to bother you guys again,

This is regarding the search result thumbs be it the new post / regular search and threads by users. I really need to get it working actually

I have been reading your replies over and over again and editing the search.php countless of times using the one from the zip and the default one i have and then editing it with your code and I still can't get the thumbnails to display correctly on the search results.

I have also tried your Thread Thumbnail - all forums plugin xml code theOZer and then disabling the stand Thread Thumbnail plugin and still no good.

I got it HALF working and this is what i found:
-New post thumbnails work but only in 2nd page
-Certains terms when searched will display thumbnails in the search result, other terms when search will not display any thumbs at all and looks just like the default search result page.
-Find all Threads by User when clicked on certain members will display thumbnails in search result. other members not at all, like default.

Have anyone had this before?

Thanks!
Tom

Arkham 06-18-2009 06:03 PM

Quote:

Originally Posted by 6piston (Post 1832056)
hi theOZer and neverbored
sorry to bother you guys again,

This is regarding the search result thumbs be it the new post / regular search and threads by users. I really need to get it working actually

I have been reading your replies over and over again and editing the search.php countless of times using the one from the zip and the default one i have and then editing it with your code and I still can't get the thumbnails to display correctly on the search results.

I have also tried your Thread Thumbnail - all forums plugin xml code theOZer and then disabling the stand Thread Thumbnail plugin and still no good.

I got it HALF working and this is what i found:
-New post thumbnails work but only in 2nd page
-Certains terms when searched will display thumbnails in the search result, other terms when search will not display any thumbs at all and looks just like the default search result page.
-Find all Threads by User when clicked on certain members will display thumbnails in search result. other members not at all, like default.

Have anyone had this before?

Thanks!
Tom

Have you rebuilt the attachment counters? Try adding a new thread with an img attachment and see if the new one works. I've run into situations where sometimes existing threads with existing thumbs don't show up.

Don't replace the search.php file entirely -- just edit your existing vB version's search.php and add the single line (or 2, including the comment line). I think it's around line 2600-ish. You shouldn't have to fiddle with the search.php much.

theOZer 06-18-2009 11:59 PM

6piston,
which vB version?
vB templates or other?
other issues, like, are you running just vB or do you run vBSEO, whatever?
If you have Manage Attachments turned on, and if in the first thread post and the user used vB Manage Attachments to load an image this mod will display that attachment's thumbnail, if coded to do so. The mod's trick is an outer join that relies on the fact that there's a thread first post id that can find/grab the associated attachment postid, enabling the outer join, piggybacking the attachment's row info onto the select.
Create a testvb. Do all your testing there.
After I set up a clean/virgin vB383 testvb, I put together a 'My Way to Install Thread Thumbnails' write up as I updated this testvb to use thread thumbnails in forums/new posts, searches, and tag searches. PM me if you'd like a pdf of this write up.
Ciao, Oz

6piston 06-19-2009 06:36 AM

Quote:

Originally Posted by Arkham (Post 1832105)
Have you rebuilt the attachment counters? Try adding a new thread with an img attachment and see if the new one works. I've run into situations where sometimes existing threads with existing thumbs don't show up.

Don't replace the search.php file entirely -- just edit your existing vB version's search.php and add the single line (or 2, including the comment line). I think it's around line 2600-ish. You shouldn't have to fiddle with the search.php much.

hi Arkham

Do yours work fully? Then i gotta try your way right now.

I'll also try to use a fresh copy of 3.7.2 search.php again and include the lines.
Let me get this right:
-Fresh 3.7.2 search php
-Add the 2 Jason lines that is included in the TT's Zip's search.php

Thanks!

Quote:

Originally Posted by theOZer (Post 1832324)
6piston,
which vB version?
vB templates or other?
other issues, like, are you running just vB or do you run vBSEO, whatever?
If you have Manage Attachments turned on, and if in the first thread post and the user used vB Manage Attachments to load an image this mod will display that attachment's thumbnail, if coded to do so. The mod's trick is an outer join that relies on the fact that there's a thread first post id that can find/grab the associated attachment postid, enabling the outer join, piggybacking the attachment's row info onto the select.
Create a testvb. Do all your testing there.
After I set up a clean/virgin vB383 testvb, I put together a 'My Way to Install Thread Thumbnails' write up as I updated this testvb to use thread thumbnails in forums/new posts, searches, and tag searches. PM me if you'd like a pdf of this write up.
Ciao, Oz

hi theOZer thanks for the reply!

it's 3.7.2

I do have VBSEO. The thread thumbnails in my selected forums run beautifully right from the start. so i'm not sure if it's anything to do with VBSEO

My main goal is to get the
-regular searches with thumbnails to work in those selected forums.
-find all users' threads to also display the thumbs

Just in case it makes any difference, some of my search links aren't the default ones, for example, my "new post" links only display relevant new posts from certain forums:
Code:

http://www.site.com/search.php?do=getnew&exclude=57,52,56,53,54,83,72,55,29
I did try it without excluding the forums and it's the same.

I will also create a test site to do this :)

Please do PM me the pdf file you made. i;m sure it'll help me much! great job getting all of it to work and more :)

unforgotten 06-19-2009 02:36 PM

I have a question, when I have these forum permissions set for the unregistered not logged in user group:

Can View Forum: Yes
Can View Thread Content: No

Unregistered users can not see the thumbnail, is there a way they can see see the thumbnail even if they can't access the topics, thanks!!

theOZer 06-19-2009 10:41 PM

After a little testing, my educated guess is apparently not. If you can't see the thread and the attachment is part of that thread, hmmmm.
If you have set up thumbnails to display in forum thread lists, new posts, searches, and tag searches hopefully that will be enough encouragement to make someone join, become a member of your forum, so they can see that thumbnailed image fully.

unforgotten 06-21-2009 02:12 PM

well is there a way maybe for the attachments to be hosted outside the thread so they can preview it?

Greeksgal 07-28-2009 02:18 AM

Does this work with 3.8.3?

MissKalunji 07-28-2009 03:03 AM

yes.

Cerbero1000 07-28-2009 11:10 AM

Hi guys,
I can't see thumbs in search page only (added 2 line code on my 3.7.5 search.php).
In forumdisplay all works fine.
Can you help me?
thanks


All times are GMT. The time now is 08:38 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.02035 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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