View Single Post
  #547  
Old 12-15-2005, 11:53 AM
jarod1981?'s Avatar
jarod1981? jarod1981? is offline
 
Join Date: Nov 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all

My Gallery for Vb 3.5.1 dont' work

1) I have run following query on database : ALTER TABLE `forum` ADD `gallery` TINYINT( 4 ) NOT NULL

2) I have edit forumdisplay.php

3) I have edit the template FORUMHOME

4) I have import the attached XML-File in the product-manager

5) I have add the template threadbit_gallery:

$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">
<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="$stylevar[imgdir_misc]/nothumb.gif" width=75 height=56 border="0">
</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">
Benutzer:
</div>
</td>
<td>
<div class="smallfont">
<if condition="$show['guestuser']">
$thread[postusername]
<else />
<span style="cursorointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]')">$thread[postusername]</span>
</if>
</div>
</td>
</tr>
<tr class="alt1">
<td class="smallfont">$vbphrase[gallery_comments]</td>
<td class="smallfont">$thread[replycount]</td>
</tr>
<tr class="alt1">
<td class="smallfont">$vbphrase[gallery_views]</td>
<td class="smallfont">$thread[views]</td>
</tr>
<tr class="alt2">
<td>
<div class="smallfont">
Bewertung:
</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="images/misc/register.jpg">
</td>
</if>
</tr>
</table>
</td>
</if>

6) I have add a link of Gallery on Navbar

7) I have setting the Gallery:

I have make a category, call it "Gallery" and change Display-Order to "0", so it's not visible = Ok

I have make two Subforums,which will be the gallery.

---------------------------------------------------------
But it is dont' work and i don't see image on my forum

Where is the problem?

Very thanks
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01229 seconds
  • Memory Usage 1,781KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete