2020-03-23, 01:34 PM
So, here is the problem.
I write message in Quick Reply field in thread, and when I click "Submit" I get that spinner image that is loading short period of time, and than it's gone. Until that point everything is good, but my message isn't displayed. I need to refresh page in order to see my message.
This is happening only in Linear thread mode.
URL of my forum: https://kombat.rs
Test account (You can login even if forum is closed):
Username: test
Password: mybb123
EDIT: I tried to revert showthread_quickreply to original and it's still doesn't work.
EDIT2 I figure it out why this is happening. It's because of showthread template. But I didn't managed to fix it yet.
(I know this because when I reverted this template to original it worked)
Template:
I write message in Quick Reply field in thread, and when I click "Submit" I get that spinner image that is loading short period of time, and than it's gone. Until that point everything is good, but my message isn't displayed. I need to refresh page in order to see my message.
This is happening only in Linear thread mode.
URL of my forum: https://kombat.rs
Test account (You can login even if forum is closed):
Username: test
Password: mybb123
EDIT: I tried to revert showthread_quickreply to original and it's still doesn't work.
EDIT2 I figure it out why this is happening. It's because of showthread template. But I didn't managed to fix it yet.
(I know this because when I reverted this template to original it worked)
Template:
<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}";
lang.post_deleted_error = "{$lang->post_deleted_error}";
lang.softdelete_thread = "{$lang->soft_delete_thread}";
lang.restore_thread = "{$lang->restore_thread}";
// -->
</script>
<!-- jeditable (jquery) -->
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1804"></script>
<script src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1813"></script>
</head>
<body>
{$header}
{$threadnotesbox}
{$pollbox}
<div id="konu_bilgi_cubugu">
<div class="konu_avatar">
<i class="fas fa-comment-dots fa-4x"></i>
</div>
<div class="konu_baslik"><h1>{$thread['threadprefix']} {$thread['subject']}</h1><p>posted by {$thread['username']}</p></div>
<div class="konu_istatistik">
<dl><dt><i class="far fa-eye fa-fw" title="Views"></i></dt><dd>{$thread['views']}</dd></dl>
<dl><dt><i class="far fa-comment fa-fw" title="Replies"></i></dt><dd>{$thread['replies']}</dd></dl>
{$ratethread}
</div>
</div>
<div class="sayfaLinkGrubu">
<div class="float_left">
{$multipage}
</div>
<div class="LinkGrubu">
{$newreply}
<a href="javascript:void(0)" id="thread_modes">Topic Mode</a>
<a href="javascript:void(0)" id="thread_tools">Thread Tools</a>
</div>
</div>
<div id="post">
{$posts}
</div>
<br class="clear" />
{$quickreply}
{$threadexbox}
{$similarthreads}
<br />
<div class="float_right" style="text-align: right;">
{$moderationoptions}
{$forumjump}
</div>
<br class="clear" />
{$usersbrowsing}
{$footer}
<div id="thread_tools_popup" class="popup_menu" style="display: none;">
{$printthread}
{$sendthread}
{$addremovesubscription}
{$addpoll}
</div>
<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">
// <!--
if(use_xmlhttprequest == "1")
{
$("#thread_tools").popupMenu();
}
// -->
</script>
<script type="text/javascript">
var thread_deleted = "{$thread_deleted}";
if(thread_deleted == "1")
{
$("#quick_reply_form, .new_reply_button, .thread_tools, .inline_rating").hide();
$("#moderator_options_selector option.option_mirage").attr("disabled","disabled");
}
</script>
</body>
</html>