Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with edit button
#1
https://gyazo.com/e00b9b712cfd36f6bedb6ab8f6f9fb9f

I am not sure if this is in showthread template, but this is it: 

<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=1820"></script>
<script src="{$mybb->asset_url}/jscripts/jeditable/jeditable.min.js"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/thread.js?ver=1821"></script>
<style> .showthreadtborder { width: 100%; margin: auto auto; padding: 5px; } </style>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/thankyoulike.min.js"></script>
<script type="text/javascript">
<!--
var tylEnabled = "{$mybb->settings['g33k_thankyoulike_enabled']}";
var tylDisplayGrowl = "{$mybb->settings['g33k_thankyoulike_displaygrowl']}";
var tylCollapsible = "{$mybb->settings['g33k_thankyoulike_collapsible']}";
var tylUser = "{$mybb->user['uid']}";
var tylSend = "{$lang->tyl_send}";
var tylRemove = "{$lang->tyl_remove}";
// -->
</script>
</head>
<body id="forums">
{$header}
{$threadnotesbox}
{$pollbox}


<div class="float_left"> {$multipage} </div> 


<div class="float_right"> 
<span class="dropdown">
<ul class="dropdown-menu bullet pull-right notification  animated fadeIn" role="menu" aria-labelledby="dLabel">   
<li role="presentation"><a href="https://plus.google.com/share?url={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}">
<i style="color: #dd4b39; font-size: 13px;" class="fa fa-google fa-fw"></i> &nbsp; Share on Google</a></li> 
<li role="presentation"><a href="http://www.facebook.com/share.php?u={$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}">
<i style="color: #5272c1; font-size: 13px;" class="fa fa-facebook fa-fw"></i> &nbsp; Share on Facebook</a></li>
<li role="presentation"><a href="http://twitter.com/home?status={$thread['subject']} - {$mybb->settings['bburl']}/showthread.php?tid={$thread['tid']}"> <i style="color: #55acee; font-size: 13px;" class="fa fa-twitter fa-fw"></i> &nbsp; Share on Twitter</a></li>

<li role="separator" class="divider"></li> 
<li role="presentation"><a href="printthread.php?tid={$tid}">
<i style="font-size: 13px;" class="fa fa-print fa-fw"></i> &nbsp; {$lang->view_printable}</a></li>
<li role="presentation"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}"><i style="font-size: 13px;" class="fa fa-bookmark fa-fw"></i> &nbsp; {$add_remove_subscription_text}</a></li>
<li role="presentation"><a href="polls.php?action=newpoll&amp;tid={$tid}">
<i style="font-size: 13px;" class="fa fa-align-left fa-fw"></i> &nbsp; {$lang->add_poll_to_thread}</a></li>
<li role="presentation"><a href="sendthread.php?tid={$tid}">
<i style="font-size: 13px;" class="fa fa-envelope fa-fw"></i> &nbsp; Send thread to a friend</a></li> 


<li role="separator" class="divider"></li> 
<li role="presentation"><a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">
<i style="font-size: 13px;" class="fa fa-align-center fa-fw"></i> &nbsp; {$lang->linear}</a></li>

<li role="presentation"><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}"><i style="font-size: 13px;" class="fa fa-align-left fa-fw"></i> &nbsp; {$lang->threaded}</a></li> 
</ul>
</a> 
</span> 

{$tcloseopen}{$newreply} 
</div>



<table class="threadtitle" cellspacing="0" cellpadding="5" border="0">
<tbody><tr>
<td valign="middle" width="1">
<i style="color: #fff; font-size: 15px;" class="fa fa-info-circle fa-fw" original-title=""></i> 
</td>
<td valign="top">
<span original-title="">{$avatarep_thread}{$thread['threadprefix']}{$thread['subject']}</span>
</td>
</tr>
</tbody></table> 
<br /> 



<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="showthreadtborder tfixed clear">

<td id="posts_container">
<div id="posts">
{$first_post}{$posts}
</div>
</td>
</tr>
</table>
<div class="float_left">
{$multipage}
</div>
<div style="padding-top: 4px;" class="float_right">
{$newreply}
</div> 

<br class="clear" />

    {$quickreply}
{$threadexbox}
{$similarthreads}
<br />


<div class="float_right" style="text-align: right;">
{$moderationoptions}
{$forumjump}
</div>
<br class="clear" />
{$usersbrowsing}
{$footer}
<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>


Thank u guys  Angel
Reply
#2
Its a very old issue which has never been addressed for some reasons unknown to me (atleast)...
https://github.com/mybb/mybb/issues/2177
[Image: logo.svg.svg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)