PDA

View Full Version : Weird Postbit Trouble


Alchemyst
04-20-2003, 10:58 PM
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:

<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:

<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.

Brad
04-21-2003, 12:14 AM
Change:

<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>

to:

<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" nowrap><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>

Alchemyst
04-21-2003, 12:16 AM
You are my god.