MyBB Community Forums

Full Version: Quote Button Not Working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Postbit Template
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder horizontalpb" style="border-radius:0px;{$post_visibility}" id="post_{$post['pid']}">
	<tbody>
		<tr>
			<td class="tcat">
				<div class="float_left smalltext">
					<img src="{$theme['imgdir']}/icons/clock.png" class="posttimeclock" alt="clock" /><span class="tleft posttime">{$post['postdate']}, {$post['posttime']}</span>
				</div>
				{$post['posturl']}
			</td>
		</tr>

		<tr>
			<td class="trow1 {$unapproved_shade}" style="background:#f7f7f7;">
				<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
					<tr>
						<td class="post_avatar useravatar" width="1" style="{$post['avatar_padding']}">
							{$post['useravatar']}
						</td>
						<td class="post_author">
							<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
							<span class="smalltext">
								{$post['usertitle']}<br />
								{$post['userstars']}
								{$post['groupimage']}
							</span>
						</td>
						<td class="smalltext post_author_info" width="165">
							{$post['user_details']}
						</td>
					</tr>
				</table>
			</td>
		</tr>

		<tr>
			<td class="trow2 post_content {$unapproved_shade}">
<span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
				<div class="post_body" id="pid_{$post['pid']}">
					{$post['message']}
				</div>
				{$post['attachments']}
				{$post['signature']}
			</td>
		</tr>

		<tr>
			<td class="trow1 post_buttons {$unapproved_shade}" style="padding:5px;">
				<div class="author_buttons float_left">
					{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['iplogged']}{$post['button_find']}{$post['button_rep']}
				</div>
				<div class="post_management_buttons float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
				</div>
			</td>
		</tr>
	</tbody>
</table>

Postbit Quote Template
<a href="newreply.php?tid={$tid}&amp;pid={$post['pid']}" class="postbit_button"><img src="{$theme['imgdir']}/icons/quote.png" alt="{$lang->postbit_quote}" title="{$lang->postbit_quote}" />Quote</a>

Can anyone help me out? When I try to quote, nothing shows up in the textbox.
Change your postbit quote template to:

<a href="newreply.php?tid={$tid}&amp;replyto={$post['pid']}" class="postbit_button"><img src="{$theme['imgdir']}/icons/quote.png" alt="{$lang->postbit_quote}" title="{$lang->postbit_quote}" />Quote</a>