View Single Post
  #1  
Old 04-20-2003, 09:58 PM
Alchemyst's Avatar
Alchemyst Alchemyst is offline
 
Join Date: Aug 2002
Location: Ireland
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Weird Postbit Trouble

I'm having this weird trouble with my postbit and thread titles. Since I installed this "Post #" hack. With some posts the thread titles go into multi lines although they shouldn't, and in some they're normal. Anyway heres the postbit code:

Code:
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer -->

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
	<td bgcolor="$post[backcolor]" width="175" valign="top" nowrap>
	<a name="post$post[postid]"></a>
	$post[firstnewinsert]
	<normalfont><b>$post[username]</b></normalfont><br>
<smallfont><b>$post[field9]</b></smallfont> 
	<smallfont>$post[usertitle]</smallfont><br><br>
                    
                  $post[avatar] <br>

                    <p><smallfont><b>Spells Cast:</b> $post[posts]<br>
                    <strong>Gender:</strong> $post[field8]<br>
                    <strong>Coven:</strong> $post[field7]<br>
                    <b>Style:</b> <a href='index.php?styleid=$post[styleid]'>$post[styletitle]</a>
<p>$onlinestatus</p></smallfont>
</td>
	
	<td bgcolor="$post[backcolor]" width="100%" height="100%" valign="top">
<table width="100%" border="0" cellpadding="0" align="left" height="100%">
<tr> 
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top" height="20"><smallfont>$post[icon] <b>$post[title]</b></td><td align="right" height="20" valign="top"><a href="showthread.php?postid=$post[postid]#post$post[postid]"><smallfont>Post #$post[postcount]</smallfont></a></smallfont></td>
</tr>
<tr> 
<td bgcolor="$post[backcolor]" colspan="3" align="left" valign="top">
<p><normalfont>$post[message]</normalfont></p></td>
</tr>
<tr> 
<td bgcolor="$post[backcolor]" colspan="3" align="left" valign="bottom" height="20"> $post[attachment]</td>
</tr>
<tr> 
<td bgcolor="$post[backcolor]" colspan="3" align="left" valign="bottom" >$post[signature]</td>
</tr>
<tr> 
<td bgcolor="$post[backcolor]" align="left" colspan="2" valign="top" height="8"></td>
<td bgcolor="$post[backcolor]"  width="100%" colspan="2" align="right" valign="top" height="8"><smallfont><a href="javascript:openeditsigwindow(490,320,'$session[sessionhash]','$post[userid]')">Edit Sig</a> | <a href="modalert.php?s=$session[sessionhash]&postid=$post[postid]&username=$post[username]">Report this post to a Whitelighter</a> | $post[iplogged]</smallfont></td>
</tr>
</table>
</td>
</tr>
<tr>
	<td bgcolor="$post[backcolor]" width="175" height="16" nowrap><smallfont>$post[foldericon]
	$post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td>
	
	<td bgcolor="$post[backcolor]" width="100%" valign="middle" height="16">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr valign="bottom">
			<td><smallfont>
			$post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[search] $post[buddy]
			<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] --> 
			</smallfont></td>
			<td align="right" nowrap><smallfont>
			<a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="{imagesfolder}/edit.gif" border="0" alt="Edit/Delete Message"></a>
			<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{imagesfolder}/quote.gif" border="0" alt="Reply w/Quote"></a>
			</smallfont></td>
		</tr>
		</table>
	</td>
</tr>
</table>
</td></tr></table>

<!-- spacer --></td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
The trouble is around here:

Code:
<td bgcolor="$post[backcolor]" width="100%" height="100%" valign="top">
<table width="100%" border="0" cellpadding="0" align="left" height="100%">
<tr> 
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top" height="20"><smallfont>$post[icon] <b>$post[title]</b></td><td align="right" height="20" valign="top"><a href="showthread.php?postid=$post[postid]#post$post[postid]"><smallfont>Post #$post[postcount]</smallfont></a></smallfont></td>
</tr>
<tr>
Any help would be greatly appriciated.
Attached Images
File Type: gif postbittroub.gif (29.8 KB, 0 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01636 seconds
  • Memory Usage 1,809KB
  • Queries Executed 12 (?)
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
  • (2)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_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete