MyBB Community Forums

Full Version: Showthread-Postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I went in and fixed my postbit width as it was differing from guest/user with no avatar vs ones with avatars, but when I did I messed up the reply/pm/edit/delete bar at the bottom.. I've been up way too long and refuse to sleep until I resolve it. Can anyone spot the issue I'm missing quickly?

[Image: image6jg.jpg]

http://mountainwoodsman.com

{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
<tr>
<td class="tcat" colspan="2">
<span style="float: right;">
{$post['posturl']}
</span>
{$post['postdate']} {$post['posttime']}
</td>
</tr>

	<tr>
		<td class="postbit"  width="15%;" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
		<div class="postbit_name">{$post['onlinestatus']}{$post['profilelink']}{$post['opimage']}<br />
		<span style="float: right;">{$post['userstars']}</span><span class="postbit_usertitle">{$post['usertitle']}</span></div>
		<span class="smalltext">
			{$post['useravatar']}
			{$post['groupimage']}
			{$post['user_details']}
		</span>
	</td>
	<td class="trow1" valign="top">
		<table width="100%">
			<tr><td><span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
			<br />
			<div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
				{$post['message']}
			</div>
			{$post['attachments']}
			{$post['signature']}
			<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
				<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
				{$post['iplogged']}
			</div>
		</td></tr>
</table>	
</td>
</tr>
<tr>
	<td class="trow2" style="vertical-align: middle; height: 10px;">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr valign="bottom">
				<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
				<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td>
			</tr>
		</table>
	</td>
</tr>
</table>

I have trouble enough keeping up with the tr td script when I have fresh eyes...
bump...
You folks are a lot of help... Confused

Over 1k views and no one noticed the missing rowspan in the <td class="postbit" ....> line that was a grand total of 11 characters and fixed it...

Dodgy
" Over 1k views " <-- includes lot of bots

" You folks are a lot of help... Confused " <-- though I am not an expert, I tried to help Smile
however expected that an expert fixes it ...

{having bad health for last few days ...}
(2011-08-17, 05:21 AM)ranjani Wrote: [ -> ]" Over 1k views " <-- includes lot of bots

" You folks are a lot of help... Confused " <-- though I am not an expert, I tried to help Smile
however expected that an expert fixes it ...

{having bad health for last few days ...}

No worries Ranjani. I was just on a 48 hour binge and frustrated that it was so simple and I kept missing it. Big Grin Things always look brighter after some sleep.. lol