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)
-   -   Gallery for vBulletin 3.5.X (https://vborg.vbsupport.ru/showthread.php?t=92875)

DrewM 09-05-2006 01:25 PM

Quote:

Originally Posted by Baku
Does anyone know if Harald_T is around? I tried sending him a mail, but I've had no reply. :(

Can anyone help at all and let me know why the thumbnails aren't displaying??

Here's the code for my gallery_threadbit template... I've tried fiddling with the code to get the thumbs to display, but no joy.

Code:

$ids[forumids]
        <if condition="$rows">
        <if condition="$rows == 1">
        </tr><tr>
        </if>       
        <td class="alt1Active" id="t$thread[threadid]" title="$thread[preview]" align="center" width="170" height="170">
<table>
<tr>
<if condition="$show['member']">
<td width="170" height="170" align="center">
                            <if condition="$displaythumbs">
<if condition="$thread[attachmentid]">
                                    <a HREF="attachment.php?attachmentid=$thread[attachmentid]">
                                          <img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" border=0 align="center"></a><br>
                            <else />
                                <img src="http://www.huxkeysource.com/forums/images/misc/nothumb.gif" width=75 height=56 border="0">
                            </if>
</if>
<br />
</td>
</tr>
<tr>
<td class="tborder">
                <table width="100%" cellpadding="3" cellspacing="0">
        <tr class="tcat">
        <td colspan='2' align="center">
        <div class="smallfont" align="center">
                        $thread[movedprefix]
                        $thread[typeprefix]
               
                        <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]">
                        $thread[threadtitle]
                        </a>
                </div>
        </td>
        </tr>
        <tr class="thead">
        <td class="smallfont" align="left">
        Uploaded by:
        </div>
        </td>
                                <td>
        <div class="smallfont">
                        <if condition="$show['guestuser']">
                                $thread[postusername]
                        <else />
                                <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>
                        </if>
                </div>
        </td>
                        </tr>
<tr class="alt1">
<td class="smallfont">Comments:</td>
<td class="smallfont">$thread[replycount]</td>
</tr>
<tr class="alt1">
<td class="smallfont">Views:</td>
<td class="smallfont">$thread[views]</td>
</tr>                       
<tr class="alt2">
<td>
<div class="smallfont">
Rating:
</div>
</td>
<td>
<if condition="$show['threadratings'] AND $show['threadrating']">
                        <span style="float:$stylevar[right]">
                        <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" border="0" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" />
                        </span>
</if>
</td>
</tr>
<tr class="alt2">
<td>
<div class="smallfont">
Filesize: $attachment[filesize]
</div>
</td>
<td>
&nbsp;
</td>
</tr>
</table>
</td>
<else />
<td>
<img src="http://www.huxleysource.com/forums/images/misc/register.jpg">
</td>
</if>
</tr>
</table>
</td>
</if>


Is your attatment setting set right?

Baku 09-05-2006 03:01 PM

Quote:

Originally Posted by Larrysw
Is your attatment setting set right?

You mean this bit of code??

Code:

<a HREF="attachment.php?attachmentid=$thread[attachmentid]">
                                          <img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" border=0 align="center"></a><br>

As far as I know, yes.

And I do have .png thumbnails on, and have all the attachments set to generate thumbnails (for image files anyway).

*edit*

I've just tried uploading an image to a different section of my forum, and the thumbnail displays there without a problem...

DrewM 09-05-2006 04:06 PM

Quote:

Originally Posted by Baku
You mean this bit of code??

Code:

<a HREF="attachment.php?attachmentid=$thread[attachmentid]">
                                          <img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" border=0 align="center"></a><br>

As far as I know, yes.

And I do have .png thumbnails on, and have all the attachments set to generate thumbnails (for image files anyway).

try doing counters for attachments.

Baku 09-05-2006 04:19 PM

Quote:

Originally Posted by Larrysw
try doing counters for attachments.

And doing that will be the... probably 5th or 6th time I've done it - it doesn't work. :(

Hence why I'm so stumped. :confused:

Dawnf1 09-05-2006 07:03 PM

Quote:

Originally Posted by Baku
And doing that will be the... probably 5th or 6th time I've done it - it doesn't work. :(

Hence why I'm so stumped. :confused:

I thought I had the same problem - then I found that when I attached pictures from my computer as an attachment in the post, the thumbnails show up, but when I hotlink to them using the [IMG] tags I get the red x's.

So my question to anyone who can help is, is it not possible to use hotlinked pictures on the gallery, only ones which are attachments?


Also, I have another question... so far within the thread, only the first post/image appears in the gallery format, any further posts with images show up in the normal vbb way. Is that the only way it works, or is it possible to create a thread which shows an image in each post in the gallery format?

yj_enquirer 09-05-2006 07:58 PM

Quote:

Originally Posted by Dawnf1


Also, I have another question... so far within the thread, only the first post/image appears in the gallery format, any further posts with images show up in the normal vbb way. Is that the only way it works, or is it possible to create a thread which shows an image in each post in the gallery format?

Not sure about your first question, but from what i gather, its vGallery is designed for only one attachment, one thread, one post to show up.. the rest are just treated as comments.

A similar question was asked, about the ability to mass import images and have them show up in the Gallery forum, however this too is not available in this release of vGallery.. not sure what the future holds, only Harold shall be able to answer..

But ofcourse, guess with vb 3.6.0 around, he might be set about developing a release for that... i hope.. :classic:

Dawnf1 09-05-2006 09:09 PM

ok
thanks
if anyone knows the answer to my question about hotlinking, I'd be grateful..

Baku 09-05-2006 11:24 PM

Oh just to clarify guys & girls - I'm only attaching one image at a time in the gallery... and the thumbnails still aren't showing up. :(

WritersBeat 09-06-2006 02:17 AM

Does this work for vB 3.6?

LILMORA4 09-06-2006 03:59 AM

I would also like to know if it work on vb 3.6?


All times are GMT. The time now is 03:55 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.01908 seconds
  • Memory Usage 1,764KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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