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)

Spank 08-22-2008 05:40 AM

are you using the thumbnails in search results? If you go into into your plugin manager and disable the Thread Thumbnail Search - Search plugin, this should fix your error.

theOZer 08-22-2008 12:02 PM

steveninstl,
To correct the search problem:
See Page 8 02 APR 2008 Post # 112
~OZ

steveninstl 08-22-2008 12:11 PM

Quote:

Originally Posted by Spank (Post 1604245)
are you using the thumbnails in search results? If you go into into your plugin manager and disable the Thread Thumbnail Search - Search plugin, this should fix your error.

It fixes the error..but also turns off the thumbnail preview...I want that preview..LOL

steveninstl 08-22-2008 12:20 PM

AWESOME! It works again! Thanks!

theOZer 08-22-2008 02:44 PM

steveninstl,
I'm running vB3.7.2PL2. Thumbnails show in my forums, in Tag searches, and New Posts/regular Searches. To add thumbnails to Tag searches see page 12, post #169.
To get further confused (hopefully not) see page 13, posts #190, #193.
~OZ

Shmaba 08-22-2008 06:44 PM

Sorry I dont know much about this coding stuff but what does this mean?
How do I do it?
Be sure to change the forum ids in the $thumbsforums array to the forum ids you want to enable thumbnails in.

theOZer 08-22-2008 07:59 PM

Shmaba,
Click on a forum you want thumbnailed(, or look it up in AdminCP > Forums.)
In the browser window you should see something like this:
yourforum.com/forums/forumdisplay.php?f=36
IN THIS EXAMPLE, 36 is your forum's forum ID. This goes in the array.
In AdminCP edit your Thread Thumbnail plugin, adding forum 36 to the array:
example, $tt_thumbsforums = array(36);
Separate multiple forums you want thumbnailed with a comma (,):
example, $tt_thumbsforums = array(36, 37);

Shmaba 08-23-2008 06:55 PM

Well I want the whole forum to do it so I put the number 1. Im not getting anything though.

Shmaba 08-23-2008 07:02 PM

Ok, its working but I have alot of forums so do I have to enter every number forum? What if there is over 100? Is there a universal fix?

NeverBored 08-23-2008 10:10 PM

If you want thumbnails to apply to all forums copy over the thread thumbnail plugin with this

Code:

$tt_thumbsforums = array();
$tt_displaythumbs = false;

if (!in_array($forumid, $tt_thumbsforums)) {
    $tt_displaythumbs = true;
    $hook_query_fields .= ", attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid ";
    $hook_query_joins .= "LEFT JOIN " . TABLE_PREFIX . "attachment as attachment ON(attachment.postid = thread.firstpostid AND (attachment.extension = 'jpg' OR attachment.extension = 'gif' OR attachment.extension = 'png' OR attachment.extension = 'jpeg')) ";
    $hook_query_where .= "GROUP BY thread.threadid ";
}

FYI, with this any forum you set in the array line will not use thumbnails


All times are GMT. The time now is 12:38 AM.

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.01459 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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