İlk Mesajdan Alıntıyı Kaldırmak

Başlatan tarantula901, 19 Kas 2015, 23:45

« önceki - sonraki »

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

tarantula901

display.template.php de bul

Kod [Seç]
       // Can they reply? Have they turned on quick reply?
        if ($context['can_reply'] && !empty($options['display_quick_reply']))
            echo '
                        <li><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return oQuickReply.quote(', $message['id'], ', '', $context['session_id'], '', true);">', $reply_button, '</a></li>';

        // So... quick reply is off, but they *can* reply?
        elseif ($context['can_reply'])
            echo '
                        <li><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '">', $reply_button, '</a></li>';


degistir

Kod [Seç]
       // Can they reply? Have they turned on quick reply?
        if ($context['can_reply'] && $message['id'] != $context['first_message'] && !empty($options['display_quick_reply']))
            echo '
                        <li><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return oQuickReply.quote(', $message['id'], ', '', $context['session_id'], '', true);">', $reply_button, '</a></li>';

        // So... quick reply is off, but they *can* reply?
        elseif ($context['can_reply'] && $message['id'] != $context['first_message'])
            echo '
                        <li><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '">', $reply_button, '</a></li>';


adminlerde cıksın istiyorsanız yukardaki degisikligi yaptiktan sonra bunu hemen altına ekleyin
Kod [Seç]
       // Can they reply? Have they turned on quick reply?
        if ($context['can_reply'] && $message['id'] == $context['first_message'] && !empty($options['display_quick_reply']) && ($context['user']['is_admin']))
            echo '
                        <li><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return oQuickReply.quote(', $message['id'], ', \'', $context['session_id'], '\', true);">', $reply_button, '</a></li>';

        // So... quick reply is off, but they *can* reply?
        elseif ($context['can_reply'] && $message['id'] == $context['first_message'] && ($context['user']['is_admin']))
            echo '
                        <li><a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';', $context['session_var'], '=', $context['session_id'], '">', $reply_button, '</a></li>';


Kodları bulamıyorsanız

sadece şu kısımları değiştirin.

Kod [Seç]
 if ($context['can_reply'] && !empty($options['display_quick_reply']))