MyBB Depo Forum
Apart Temalarda Konuya Abone Ol Butonu Hatası çözümü - Baskı Önizleme

+- MyBB Depo Forum (https://mybbdepo.com)
+-- Forum: Mybb Ders Deposu (https://mybbdepo.com/mybb-ders-deposu-forumu)
+--- Forum: MyBB Sorun ve Çözümleri Deposu (https://mybbdepo.com/mybb-sorun-ve-cozumleri-deposu-forumu)
+--- Konu Başlığı: Apart Temalarda Konuya Abone Ol Butonu Hatası çözümü (/apart-temalarda-konuya-abone-ol-butonu-hatasi-cozumu-konusu.html)



Apart Temalarda Konuya Abone Ol Butonu Hatası çözümü - SvMedeT - 27-12-2012

Merhaba arkadaşlar Apartın tüm serilerinde denemedim ama 3 tanesinde konuya abone ol butonuna tıkladığımızda Uygun olmayan kod hatası veriyordu. Ben Gerekli şablonlara bakarak hatanın nedenini buldum.

Hatayı gidermek için;

Apart temanızın Konu Gösterim şablonlarından showthread kodlarının tümünü aşağıdaki ile değiştiriniz.
Kod:
<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=1400"></script>
</head>
<body>
    {$header}
    {$pollbox}
    <div class="float_left">
        {$multipage}

    </div>
    <div class="float_right">
        {$newreply}
    </div>
    {$ratethread}
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; margin-bottom: 5px;">
        <tr>
            <td class="thead rounded_bottom" colspan="2">
                <div style="float: right;">
                    <span class="smalltext"><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>{$thread['threadprefix']}{$thread['subject']}</strong>
                </div>
            </td>
        </tr>
    </table>
    <div id="posts">
        {$posts}
    </div>
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
        <tr>
            <td colspan="2" class="tfoot rounded_top">
                {$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">
        {$multipage}
    </div>
    <div style="padding-top: 4px;" class="float_right">
        {$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}
</body>
</html>

Kolay gelsin iyi forumlar.


Apart Temalarda Konuya Abone Ol Butonu Hatası çözümü - KaanN - 28-12-2012

Teşekkürler hocam. Temaları editlerken hep sorun yaşıyordum ve o bölümü kaldırmak zorunda kalıyordum.


Apart Temalarda Konuya Abone Ol Butonu Hatası çözümü - SvMedeT - 28-12-2012

Rica ederim hocam. Ne demek Göz kırpma


Apart Temalarda Konuya Abone Ol Butonu Hatası çözümü - devmybb - 28-12-2012

showthread şablonu sonradan özelleştirilmiş olma ihtimaline karşın sadece alttaki kodların değiştirilmesi uygun olur.

Bul:
Kod:
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}">{$add_remove_subscription_text}</a></li>

Değiştir:
Kod:
<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>



Cvp: Apart Temalarda Konuya Abone Ol Butonu Hatası çözümü - SvMedeT - 28-12-2012

(28-12-2012, Saat:12:33)devmybb Adlı Kullanıcıdan Alıntı: showthread şablonu sonradan özelleştirilmiş olma ihtimaline karşın sadece alttaki kodların değiştirilmesi uygun olur.

Bul:
Kod:
<li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}">{$add_remove_subscription_text}</a></li>

Değiştir:
Kod:
<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>

Aynen hocam sorun bu sekilde çözülüyorda ben kolaylık olması açısından direk şablonun kodunu verdim. Süper


Cvp: Apart Temalarda Konuya Abone Ol Butonu Hatası çözümü - denka - 16-02-2014

TRANSFORMERS 4