vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Thread Thumbnail (https://vborg.vbsupport.ru/showthread.php?t=98651)

aceofspades 07-27-2006 04:57 PM

Im getting a little fed up here. I have 3.5.4, i installed the mod and every thread has 'no attachment' when it does. In the attachment section on the admincp i enabled tumbnails for jpg's (which is what format my image is in) but it still says no image. Please help, i really need this working

MikeGK 07-27-2006 10:07 PM

Can anyone show me how to implement this plugin for VBAdvanced V2 on NEWS ARCHIVE FRONTPAGE to show thumbnail? thnx

Infante 07-28-2006 07:33 PM

I'm confused. I installed the hack, tried to upload an attactment, and the new image wouldn't show. Just the default "no image avaliable" jpg does.

How do I add a thumbnail to the thread?

GNDI 07-29-2006 03:29 AM

make shure you have activeted "Enable Thumbnails" in vBulletin Options -> Message Attachment Options

unitedpunjab 07-30-2006 11:25 AM

This is my Template Code:
Code:

<if condition="$show['threadicons']">
    <td class="alt2" align="center" valign="middle">
    <if condition="$show['threadicon']">
            <if condition="$displaythumbs">
                <if condition="($thread['attachmentid']) AND ($thread['thumbsize'])">
                        <a href="showthread.php?$session[sessionurl]t=$thread[threadid]">
                          <img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" alt="" border="0" />
                    </a>
                    <else />
                            <img src="$stylevar[imgdir_misc]/nothumb.jpg" alt="" border="0" />
                    </if>
            <else />
                    <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
            </if>
    </if>
</td>
</if>

And This is My Plug IN Code:
Code:

$tt_thumbsforums = array(67, 74, 12);
$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) ";
    $hook_query_where .= "GROUP BY thread.threadid ";
}

Followed Every Single Instruction Given in Installation file But Nothing Happened. Nor it showing any attachment image as a Thumbnail or neither any "No Image" Thumbnail.

And I m using vB 3.6.0 RC 3

Jda 08-02-2006 07:08 AM

Quote:

Originally Posted by Aceman
I'm investigating a method of displaying the LAST attachment the thread ORGINAL POSTER uploads to display on forumdisplay.

Would anyone know how to modify the code to do this?

Show the LAST ATTACHMENT made to the thread FROM the ORGINAL thread CREATOR.

Any help would be appreciated.
Aceman

I didnt know what happened with my forum, i didnt touch anything and its showing the Last Attachment as you would like your forum do.


I would like to fix it, but how do i fix something i have never changed?

htrshgytrs 08-08-2006 04:29 AM

i've been messing around with this, attempting to add the thumbnails to the search results/newposts page (but failed miserably...)

Is this possible, or any tips where to start?

Love the mod by the way, looks great!

GNDI 08-08-2006 05:53 AM

have anyone tried this on the 3.6 version?

htrshgytrs 08-08-2006 05:56 AM

Quote:

Originally Posted by GNDI
have anyone tried this on the 3.6 version?


yup, works fine on 3.6

Aceman 08-09-2006 03:18 PM

Works fine for me.

Aceman


All times are GMT. The time now is 04:44 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.01128 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
  • (2)bbcode_code_printable
  • (2)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
  • (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