MyBB Community Forums

Full Version: Quick Edit , Reputation , Report buttons not working...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Quick Edit , Reputation , Report buttons not working... basically all the buttons that used AJAX... Sad
Please note that this happens on the main theme.....
Eg link: http://malwaretips.com/Thread-Experts-Fi...Ransomware
So how can I fix it?
Add the following code in your theme's headerinclude template;
<script type="text/javascript">jQuery.noConflict();</script>
Didn't work , I still have the same problemSad
Can you copy here your postbit_classic template so we can see code?
postbit_classic
{$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}{$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']}" 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']}
                        <br />Status: <a title="{$lang->custom_status_status}{$post['custom_status']}">{$post['custom_status_shortened']}</a> 
		</span>
	</td>
	<td class="{$altbg}{$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']}" valign="top">
		<table width="100%">
			<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['mysupport_status']}{$post['icon']}{$post['subject']} {$post['subject_extra']}<div class="float_right">{$post['mysupport_bestanswer']}{$post['mysupport_deny_support_post']}</div></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="{$altbg}{$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
	<td class="{$altbg}{$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']}" style="vertical-align: middle;">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr valign="bottom">
				<td align="left" class="post_buttons"><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
				<td align="right" class="post_buttons">{$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>
<tr style="{$post['imb_display']};" id="imb_{$post['pid']}">
	{$post['itsmybirthday_wishes_data']}
</tr>{$post['postrep_inline']}
</table>{$post['postrep_outline']}


postbit

{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tbody>
		<tr>
			<td class="tcat">
				<div class="float_left smalltext">
					{$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
				</div>
				{$post['posturl']}
			</td>
		</tr>

		<tr>
			<td class="trow1{$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']} {$unapproved_shade}">
				<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
					<tr>
						<td class="post_avatar" 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['fid4']} {$post['fid5']} <br /> {$post['fid10']}
								
							</span>
						</td>
						<td class="smalltext post_author_info" width="175">
							{$post['user_details']}
		
<br />						</td>
					</tr>
				</table>
			</td>
		</tr>

		<tr>
			<td class="trow2{$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']} post_content {$unapproved_shade}">
				<span class="smalltext"><strong>{$post['mysupport_status']}{$post['icon']}{$post['subject']} {$post['subject_extra']}<div class="float_right">{$post['mysupport_bestanswer']}{$post['mysupport_deny_support_post']}  </div></strong></span>

				<div class="post_body" id="pid_{$post['pid']}">
					
				{$post['message']}
				</div>
				{$post['attachments']}
				{$post['signature']}

				<div class="post_meta" id="post_meta_{$post['pid']}">
				{$post['iplogged']}
				</div>
			</td>
		</tr>

		<tr>
			<td class="trow1{$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']} post_buttons {$unapproved_shade}">
				<div class="author_buttons float_left">
					{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$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_multiquote']}{$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>{$post['postrep_inline']}
               
	</tbody>
</table>{$post['postrep_outline']}
(2012-04-22, 06:34 PM)Jack707 Wrote: [ -> ]Didn't work , I still have the same problemSad

You've to place that code (which I gave you above) on the next line where you uses jQuery, e.g. this;
<script language="javascript" type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/custom_status.js"></script>
Didn't workSad
Could you please provide any testing account ?
i have same problem, please help me...

My forum: vn-ace.com
My test account: khach
Pass: 123456
In headerinclude template of your theme, find;
<script type="text/javascript">jqcc=jQuery.noConflict(true);</script>
and Change it into;
<script type="text/javascript">jQuery.noConflict();</script>