View Single Post
  #1270  
Old 09-05-2006, 11:10 AM
Baku's Avatar
Baku Baku is offline
 
Join Date: Mar 2006
Location: South Wales, UK
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01203 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)bbcode_code
  • (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