Webboard

Pełna wersja: Szybka edycja nie działa
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB:1.8.5
adres forum: http://mearth.eu/
na czym polega problem (screen, opis, komunikaty):
Szybka edycja nie działa.
l: test
h: test123


Nie odsyłajcie do innych tematów, uważam, że mój problem jest na oddzielny temat.
a jak z innymi rzeczami w widoku post? zbiorowa moderacjja?
Też nie działa. - Zaznaczam posty, a pokazuje, że żadnego nie wybrałem.
a sprawdź jeszcze tak
na domyślnym szablonie, jjeśli tu też nie zadziala
później jeszcze odinstaluj plugin note moderator

edit

na domyślnym dziala

pokaz szablony
showthread i postbit
showthread
Kod PHP:
<html>
<
head>
<
title>{$thread['subject']}</title>
{
$headerinclude}
<
script type="text/javascript">
<!--
    var 
quickdelete_confirm "{$lang->quickdelete_confirm}";
// -->
</script>
<
script type="text/javascript" src="jscripts/thread.js?ver=1804"></script>
<
script type="text/javascript" src="{$mybb->asset_url}/jscripts/notemoderator.js"></script>
<
script type="text/javascript">
<!--
    
lang.notemoderator_delete_error "{$lang->notemoderator_delete_error}";
    
lang.notemoderator_delete_confirm "{$lang->notemoderator_delete_confirm}";
    
lang.notemoderator_has_been_deleted "{$lang->notemoderator_has_been_deleted}";
// -->
</script>
</
head>
<
body id="forums">
    {
$header}
    {
$pollbox}
            <
div class="thread_details">
                <
div class="right">
<
span class="viewmode_title">Tryb Wyświetlania</span>
                    <
span class="viewmode"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
                </
div>
                <
div>
                    <
strong class="thread_title">{$thread['threadprefix']}{$thread['subject']}</strong><br />

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

    </
div>

<
div class="float_right">
        {
$newthread}{$newreply}
    </
div>
    
<
br class="clear">
<
div class="thead_2">
<
div><span class="forumtitle"><a href="{$forum_url}"><b>{$forum['name']}</b></a><span class="forumdesc">{$forum['description']}</span></span></div></div>
    <
div id="posts" style="border-top: 1px solid#CCC;">
        {
$posts}
    </
div>
    <
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="border-top: 0;border-radius:0;">
        <
tr>
            <
td colspan="2" class="tfoot" style="border-top:0;">
                {
$search_thread}
                <
div>
                    <
strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
                </
div>
            </
td>
        </
tr>
    </
table>
    <
div class="float_left"><br />
        {
$multipage}
    </
div><br />
    <
div style="padding-top: 4px;" class="float_right">
        {
$newthread}{$newreply}
    </
div>
    <
br style="clear: both;" />
    {
$quickreply}
    {
$threadexbox}
    {
$similarthreads}
    <
br />
    <
div class="float_left">
        <
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&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
        </
ul>
    </
div>

    <
div class="float_right" style="text-align: right;">
        {
$moderationoptions}
        {
$forumjump}
    </
div>
    <
br style="clear: both;" />
    {
$usersbrowsing}
    {
$footer}
{
$classic_header}
</
body>
</
html

postbit
Kod PHP:
{$ignore_bit}
<
a name="pid{$post['pid']}id="pid{$post['pid']}"></a>
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder horizontalpb" style="border-radius:0px;{$post_visibility}id="post_{$post['pid']}">
    <
tbody>
        <
tr>
            <
td class="trow-2">
                <
div class="float_left smalltext">
                    <
img src="{$theme['imgdir']}/icons/clock.png" class="mesajsaat" alt="saat" /><span class="tleft mesajzaman">{$post['postdate']}, {$post['posttime']}</span>
                </
div>
                {
$post['posturl']}
            </
td>
        </
tr>

        <
tr>
            <
td class="trow1 {$unapproved_shade}style="background:#f7f7f7;">
                <
table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
                    <
tr>
                        <
td class="post_avatar useravatar" 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['usertitle']}<br />
                                {
$post['userstars']}
                                {
$post['groupimage']}
                            </
span>
                        </
td>
                        <
td class="smalltext post_author_info" width="165">
                            {
$post['user_details']}{$post['reputationlevel']}
                        </
td>
                    </
tr>
                </
table>
            </
td>
        </
tr>

        <
tr>
            <
td class="trow2 post_content {$unapproved_shade}">
<
span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
                <
div class="post_body" id="pid_{$post['pid']}">
                    {
$post['message']}
                </
div>
                {
$post['attachments']}
                {
$post['signature']}
            </
td>
        </
tr>

        <
tr>
        <
td class="mesaj_ayar {$unapproved_shade}colspan="2">
            

                
            
                
                <
span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['iplogged']}{$post['button_find']}{$post['button_rep']}</span>
                <
div class="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>
    </
tbody>
</
table
pokaż
postbit_edit

, spróbuj bez pluginu note moderator
DeadlyGlobe71 napisał(a):pokaż
postbit_edit

, spróbuj bez pluginu note moderator

Przecież napisałem że na domyślnym wszystko działa, plugin nie jest winny

widzę winowajce, trzeba było od razu zobaczyć konsole

zamien showthread

Kod:
<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=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=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/notemoderator.js"></script>
<script type="text/javascript">
<!--
    lang.notemoderator_delete_error = "{$lang->notemoderator_delete_error}";
    lang.notemoderator_delete_confirm = "{$lang->notemoderator_delete_confirm}";
    lang.notemoderator_has_been_deleted = "{$lang->notemoderator_has_been_deleted}";
// -->
</script>
</head>
<body id="forums">
    {$header}
    {$pollbox}
            <div class="thread_details">
                <div class="right">
<span class="viewmode_title">Tryb Wyświetlania</span>
                    <span class="viewmode"><strong><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
                </div>
                <div>
                    <strong class="thread_title">{$thread['threadprefix']}{$thread['subject']}</strong><br />

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

    </div>

<div class="float_right">
        {$newthread}{$newreply}
    </div>
    
<br class="clear">
<div class="thead_2">
<div><span class="forumtitle"><a href="{$forum_url}"><b>{$forum['name']}</b></a><span class="forumdesc">{$forum['description']}</span></span></div></div>
    <div id="posts" style="border-top: 1px solid#CCC;">
        {$posts}
    </div>
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="border-top: 0;border-radius:0;">
        <tr>
            <td colspan="2" class="tfoot" style="border-top:0;">
                {$search_thread}
                <div>
                    <strong>&laquo; <a href="{$next_oldest_link}">{$lang->next_oldest}</a> | <a href="{$next_newest_link}">{$lang->next_newest}</a> &raquo;</strong>
                </div>
            </td>
        </tr>
    </table>
    <div class="float_left"><br />
        {$multipage}
    </div><br />
    <div style="padding-top: 4px;" class="float_right">
        {$newthread}{$newreply}
    </div>
    <br style="clear: both;" />
    {$quickreply}
    {$threadexbox}
    {$similarthreads}
    <br />
    <div class="float_left">
        <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}subsc​ription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
        </ul>
    </div>

    <div class="float_right" style="text-align: right;">
        {$moderationoptions}
        {$forumjump}
    </div>
    <br style="clear: both;" />
    {$usersbrowsing}
    {$footer}
{$classic_header}
</body>
</html>
Edit, zainstalowałem fancybox i po dodaniu kodu do hearadeinclude znowu nie działa.
to pokaz co tam dodales