۱۳۹۴/۱۲/۲۳، ۰۵:۲۴:۴۵ صبح
دوستان!
تمام مشکلات سایت من الان در قالب showthread است:
۱. روی دکمه ویرایش که میزنم ویرایش سریع و کامل را نشان میدهد. ویرایش کامل کار میکند، اما ویرایش سریع کار نمیکند. یعنی جاوا اسکریپت کار نمیکند. و هیچ عکسالعملی نشان نمیدهد.
۲. پستها را که سلکت میکنم برای حذف یا کار دیگر، در قسمت مدیریت تعداد پستها را نشان نمیدهد و عملی هم انجام نمیشود.
۳. بعد از حذف پست، رنگاش عوض نمیشود.
۴. پس از حذف پست، دکمه بازگردانی نشان داده نمیشود.
لطفاْ به کد تمپلیت showthread من نگاهی بیاندازید، شاید مشکل را از روی کدها بفهمید.
با تشکر
.
تمام مشکلات سایت من الان در قالب showthread است:
۱. روی دکمه ویرایش که میزنم ویرایش سریع و کامل را نشان میدهد. ویرایش کامل کار میکند، اما ویرایش سریع کار نمیکند. یعنی جاوا اسکریپت کار نمیکند. و هیچ عکسالعملی نشان نمیدهد.
۲. پستها را که سلکت میکنم برای حذف یا کار دیگر، در قسمت مدیریت تعداد پستها را نشان نمیدهد و عملی هم انجام نمیشود.
۳. بعد از حذف پست، رنگاش عوض نمیشود.
۴. پس از حذف پست، دکمه بازگردانی نشان داده نمیشود.
لطفاْ به کد تمپلیت showthread من نگاهی بیاندازید، شاید مشکل را از روی کدها بفهمید.
با تشکر
کد:
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
var quickdelete_confirm = "{$lang->quickdelete_confirm}";
var quickrestore_confirm = "{$lang->quickrestore_confirm}";
var allowEditReason = "{$mybb->settings['alloweditreason']}";
lang.save_changes = "{$lang->save_changes}";
lang.cancel_edit = "{$lang->cancel_edit}";
lang.quick_edit_update_error = "{$lang->quick_edit_update_error}";
lang.quick_reply_post_error = "{$lang->quick_reply_post_error}";
lang.quick_delete_error = "{$lang->quick_delete_error}";
lang.quick_delete_success = "{$lang->quick_delete_success}";
lang.quick_delete_thread_success = "{$lang->quick_delete_thread_success}";
lang.quick_restore_error = "{$lang->quick_restore_error}";
lang.quick_restore_success = "{$lang->quick_restore_success}";
lang.editreason = "{$lang->postbit_editreason}";
// -->
</script>
<!-- jeditable (jquery) -->
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1800"></script>
<script src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1800"></script>
</head>
<body>
{$codebutquickedt}
{$header}
{$threadnotesbox}
{$pollbox}
<div class="float_left">
{$multipage}
</div>
{$ratethread}
<table border="0" cellspacing="0" cellpadding="0" class="tborder tfixed clear">
<tr>
<td class="thead">
<div class="float_left">
<span class="smalltext"><strong><a href="javascript:;" id="thread_modes">{$lang->thread_modes}</a>{$threadnoteslink}</strong></span>
</div>
<div>
<strong>{$thread['threadprefix']}{$thread['subject']}</strong>
</div>
</td>
</tr>
{$threadfields_display}<tr>
<td id="posts_container">
<div id="posts">
{$first_post}{$posts}
</div>
</td>
</tr>
<tr>
<td class="tfoot">
{$search_thread}
<div>
<strong>« <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> »</strong>
</div>
</td>
</tr>
</table>
<div class="float_left">
{$multipage}
</div>
<div style="padding-top: 20px;" class="float_right">
{$newreply}
</div>
<br class="clear" />
{$quickreply}
{$threadexbox}
{$similarthreads}
<br />
<!-- بخش پرینت و مشترک شدن و ارسال به دوست -->
<div class="float_right">
<ul class="thread_tools">
<li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
<li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&tid={$tid}&my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
{$addpoll}
</ul>
</div>
<!-- پایان بخش پرینت و مشترک شدن و ارسال به دوست -->
<!-- آغاز بخش مدیریت -->
<div class="float_left" style="text-align: right;">
{$moderationoptions}
{$forumjump}
</div>
<!-- پایان بخش مدیریت -->
<br class="clear" />
<br />
<!-- کاربران در حال تماشا -->
<div style="text-align:center;">
{$usersbrowsing}
</div>
<!-- پایان کاربران در حال تماشا -->
{$footer}
<div id="thread_modes_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}" class="popup_item">{$lang->linear}</a></div><div class="popup_item_container"><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}" class="popup_item">{$lang->threaded}</a></div>
</div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
$("#thread_modes").popupMenu();
}
// -->
</script>
<script type="text/javascript">
$(".author_avatar img").error(function () {
$(this).unbind("error").closest('.author_avatar').remove();
});
</script>
</body>
</html>
.