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)

steveninstl 08-28-2008 08:03 PM

I dont think this mod has anything to do with the error I am getting...thanks!

Diniska 09-03-2008 08:36 PM

I have A Problem.

I have install this Hack. And replace the ID.

Now i can see the image "no Thumbnail avaliable" but how can i replatze this image with a picture in a thread?

what musst i do?

theOZer 09-05-2008 02:01 PM

Diniska,
This plugin will ONLY display a thumbnail for the FIRST post of a thread, and, ONLY an image posted as an attachment, using Manage Attachments, will show as a thumbnail picture. Posts with Image INSERTs and LINKs won't show as thumbnails in the post nor as thumbnails in this plugin. I hope this helps answer your question.
~OZ

Shmaba 09-05-2008 07:46 PM

Ok after deleting every mod one by one because I was getting a search error link can be found below
https://vborg.vbsupport.ru/showthread.php?t=189322

I deleted this Mod last and guess what everything worked! Now I reinstalled every mod but this one and my search is still working. What is causing this?

theOZer 09-05-2008 09:09 PM

Shmaba,
If you have the 'Thread Thumbnail - Search' plugin turned on then you HAVE to modify search.php, adding the TT code, or New Posts and/or regular searches will bomb with database errors. End of chat here.

See Post # 228 this page which references other posts that no one seems to read that could possibly have the answer to your question hidden away somewhere in them.

~OZ

Shmaba 09-05-2008 10:35 PM

How do you turn if off?

Shmaba 09-06-2008 01:30 PM

Quote:

Originally Posted by NeverBored (Post 1605403)
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

Ok so say I have alot of forums that I want to use but then about 6 I dont want to have appear what coding can you create for that? Thanks!

Shmaba 09-06-2008 06:19 PM

anyone anyone? Bueller? Anyone.

theOZer 09-06-2008 06:44 PM

Quote:

Originally Posted by Shmaba (Post 1615475)
How do you turn if off?

Go to the Plugin Manager screen (AdminCP > Plugins & Products > Plugin Manager):
For the ‘Thread Thumbnail – Search’ plugin:
Disable (uncheck the Active box)
OR
Delete the ‘Thread Thumbnail – Search’ plugin (REQUIRES REINSTALL IF YOU EVENTUALLY DECIDE TO USE THIS PLUGIN!!)
Then, do a Save Active Status.

NeverBored 09-06-2008 07:09 PM

Quote:

Originally Posted by Shmaba (Post 1615835)
Ok so say I have alot of forums that I want to use but then about 6 I dont want to have appear what coding can you create for that? Thanks!

Put the forum ids of the forums you don't want in the array.

So for example if you want to exclude forum 3 and 5, it'd look like this

$tt_thumbsforums = array(3,5);


All times are GMT. The time now is 04:37 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.01342 seconds
  • Memory Usage 1,740KB
  • 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
  • (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