MyBB Community Forums

Full Version: Quick reply Ajax
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4

MikeInToshx

I didnt touch any of the other .js files, i already tried the Original editor.js, didnt work.

XMLHttp is enabled, I just checked.
Does it work on the default theme?

MikeInToshx

hey, I just tried it, so setting the theme to default and force to all users, and yes indeed, it worked on the default theme, does that mean i wont be able to do it on my theme or?
It implies there is a template issue. Please post the contents of your postbit_classic.

MikeInToshx

Hey thanks for quick reply, I hope this is what u wanted :

{$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="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>		<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />		<span class="smalltext">			{$post['usertitle']}<br />			{$post['userstars']}			{$post['groupimage']}			{$post['useravatar']}<br />			{$post['user_details']}		</span>	</td>	<td class="{$altbg}" valign="top">		<table width="100%">			<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>			<br />			<div id="pid_{$post['pid']}" class="post_body">				{$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="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>	<td class="{$altbg}" style="vertical-align: middle;">		<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_spam']}{$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>
ok, now you have a "safe"copy of the template. Go to your theme templates and revert the postbit_classic template.

Then test.

MikeInToshx

(2013-04-15, 08:17 PM)Leefish Wrote: [ -> ]ok, now you have a "safe"copy of the template. Go to your theme templates and revert the postbit_classic template.

Then test.

what do u mean? I dont understand what to do
You can REVERT the template to the default; as you have pasted the existing template code here you have a copy of it.

Go to your templates; postbit templates. Scroll down to postbit_classic. On the right you will see options. Click on options and you can choose to revert to original. Do that, and then test the quick reply.

MikeInToshx

Okay I did it, it didn't work, still the same.
So it is not the postbit - somewhere else in the theme - do the same with the showthread_quickreply ; make a copy of the template and then revert it.
Pages: 1 2 3 4