News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Konunun İlk Mesajındaki Alıntıyı Kaldırmak

Started by By_CaTLaK, September 14, 2008, 08:28:24 AM

Previous topic - Next topic

By_CaTLaK

Selam arkadaslar belkıde acayip bi soru ama sizlere sorma geregı duyuyorum..

Konunun İlk Mesajındaki Alıntıyı nasıl kaldırabilirim yada böle bi mod varmı, bilgisi olan benimle paylaşırsa sevinirim

Yani amacım bilgi hırsızlıgını engellemek...

Cevap verırsenız sevınırım Teşekkürler...  :)

Badboy

Display.template.php dosyanızı ekte verirmisiniz?

yada forum sürümünüzün 1.1.6 ve temanızın default tema olduğunu varsayarak

Display.template.php dosyanızı açın.

Code (ŞUNU BULUN) Select
      // Can they reply? Have they turned on quick reply?
      if ($context['can_reply'] && !empty($options['display_quick_reply']))
         echo '
<a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="doQuote(', $message['id'], ', \'', $context['session_id'], '\'); return false;">', $reply_button, '</a>';


Code (ŞUNUNLA DEĞİŞTİRİN) Select
      // Can they reply? Have they turned on quick reply?
      if ($context['can_reply'] && !empty($options['display_quick_reply']))
      {
         if ($message['id'] != $context['topic_first_message'])
            echo '
               <a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="doQuote(', $message['id'], ', \'', $context['session_id'], '\'); return false;">', $reply_button, '</a>';
      }
Nothing is true, everything is permitted.

efsane_ercan

Quote from: Badboy on September 14, 2008, 09:17:48 AM
Display.template.php dosyanızı ekte verirmisiniz?
rica etsem burda kodları verebilir misiniz hem herkes faydalansın daha iyi olmaz mı :) yinede siz bilirsiniz.....

Badboy

Üstte ekledim kodları. Dosyayı istememin amacı farklı bir sürüm veya tema ise ona göre düzenleme yapmaktı. Dosyayı alsam bile kendim yapmayıp nasıl yapacağını belirtecektim.  ;)
Nothing is true, everything is permitted.

efsane_ercan

Quote from: Badboy on September 14, 2008, 09:35:17 AM
Üstte ekledim kodları. Dosyayı istememin amacı farklı bir sürüm veya tema ise ona göre düzenleme yapmaktı. Dosyayı alsam bile kendim yapmayıp nasıl yapacağını belirtecektim.  ;)
tmm çok tşk. ederim hem arkadaşa hemde bana yardımcı olduğunuz için.sayenizde konu açmamış oldum tekrar tşk. ederim... :)

Badboy

Nothing is true, everything is permitted.

By_CaTLaK

Badboy Kardeş Allah(c.c) Senden Razı Olsun Bu Ramazanlık Gününde Hayır Duamı Aldın...Çok Teşekkür Ederim... :) :) :)

Tick Tock

Ben bunu zamanında yapmıştım ama ilk sayfa haricindeki, ilk mesajlardada alıntı yaptırmadı.
This is our time, we have you now, you are our great delight, scream to your god, who never hears a thing, he's not with you now, the time is right !

By_CaTLaK

488: echo '
489: <div class="smalltext">&#171; <b>', !empty($message['counter']) ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b>&#187;</div></td>
490: <td align="', !$context['right_to_left'] ? 'right' : 'left', '" valign="bottom" height="20" style="font-size: smaller;">';
491:
492:       // Can they reply? Have they turned on quick reply?
493:       if ($context['can_reply'] && !empty($options['display_quick_reply']))
494:       {
495:          if ($message['id'] != $context['first_message'])
496:             echo '

497:                <a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="doQuote(', $message['id'], ', '', $context['session_id'], ''); return false;">', $reply_button, '</a>';

498:       }
499:
500: // So... quick reply is off, but they *can* reply?
501: elseif ($context['can_reply'])


yaaa Badboy kardes yaptım ama bu usttekı hatayı verdı iyikide yedeğini aldım yoksa gidiyodu

aayrıca çöl ateşi teması kullanıyorum...

Badboy

Anlayamadım hatayı tam olarak nedir?


Düzenleme: Sanırım tema farkından dolayı sorun oldu. Temanızın display.template.php dosyasını eklermisiniz?
Nothing is true, everything is permitted.

By_CaTLaK

Dediğini yaptıktan sonra rastgele bı konuya tıkladım sıtede aynen bole bısey cıktı...


Badboy

Nothing is true, everything is permitted.

By_CaTLaK

Hocam gene aynı hatayı verdı...

ekdeki resmi indir bak ıstersen sorunu daha net anlarsın...

Badboy

Şimdi tamamdır  :)


Not: SMF kodları buraya eklerken nedense kalın işaretli kısımları kaldırıyor ve sorun oluyor.

               <a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="doQuote(', $message['id'], ', \'', $context['session_id'], '\'); return false;">', $reply_button, '</a>';
Nothing is true, everything is permitted.

$כђiŹøƒ®ΣиiΛ™

Quote from: Yağız on March 12, 2008, 06:15:23 PM
Display.template.php'de bul:
// Can they reply? Have they turned on quick reply?
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
<a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="doQuote(', $message['id'], ', \'', $context['session_id'], '\'); return false;">', $reply_button, '</a>';

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

Degistir:
// Can they reply? Have they turned on quick reply?
if ($context['can_reply'] && $message['id'] != $context['first_message'] && !empty($options['display_quick_reply']))
echo '
<a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="doQuote(', $message['id'], ', \'', $context['session_id'], '\'); return false;">', $reply_button, '</a>';

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


bu şekilde denermisin

By_CaTLaK

Şimdi oldu Çok Saol kardes zaman ayırdıgın ıcınn insallah bı sorun cıkmaz Allah razı olsun :D

Badboy

Nothing is true, everything is permitted.

_MehmeT_


benimjoomla

Merhaba smf ciler. dostlar. smf türkçe destek forum sitelerinde bu konu açılmasına karşılık net cevap veremiyorlar. bende buraya geldim. eğer rica etsem banada yardımcı olurmusunuz. tema ismi : serv_ramadhan   1.1.7  teşekkürlerimi sunarım.

Advertisement: