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.

Badboy

2. mesajda verdiğim kodlarla deneme yapabilirsiniz. Eğer kodlarda farklılık varsa lütfen temanızın display.template.php dosyasını ekte verin size daha iyi yardımcı olalım.
Nothing is true, everything is permitted.

benimjoomla

#21
display.template.php

teşekkür ederim yardım etmene sevindim. linte ekledim dosyayı.umarım olur kolay gelsin.

http://www.yesilgumushane.com/Display.template.php

Badboy

Bu şekilde verdiğiniz dosyayı indiremem. Dosyanızı sıkıştırılmış klasör(zip) olarak gönderebilirmisiniz?
Nothing is true, everything is permitted.

benimjoomla

özür dilerim ..ani düşünceden rar lamayı unuttum. direk attım. tamam dosya haline sundum ;)

http://www.yesilgumushane.com/badboy.rar


Badboy

#24
Dosyanızı açın.

Code (ŞUNU BULUN) Select
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.

Kermit

Bu arada müsadeniz olursa ufak bir ekleme yapayim

if ($message['id'] != $context['first_message'])

bu kisim her sayfanin ilk mesajindaki alintiyi kaldirir (sadece konunun ilk mesaji degil yani)

Sadece konunun ilk mesajindaki alintiyi kaldirmak icin sunu kullanmak gerekir

if ($message['id'] != $context['topic_first_message'])
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

benimjoomla

teşekkür ederim badboy oldu . bu arada eski forumsn.com dan arkadaşdık yeni fark ettim.
yazmasalı ,jackal , mavimi_7 (ben) , hatırlamışsındır. neyse teşekkür edderim. süper oldu

Badboy

#27
Dikkat etmemişim bilgi için teşekkürler Duncan85 ;)
Nothing is true, everything is permitted.


Restorasyon

dostum aşağıdaki konuda bu konunun linkini vemişsin fakat ek seçenekler dediğimde gözat çıkmıyor aşağıdaki linkten indirebilirsin  Display.template orda mevcut şimdiden teşekkürler
http://www.simplemachines.org/community/index.php?topic=295783.0
"Bayrakları bayrak yapan üstündeki kandır 
Toprak,eğer uğrunda ölen varsa vatandır."

Restorasyon - Gece Görüş Dürbünü - Mimari Forum

burakco

Quote from: Badboy on September 14, 2008, 09:17:48 AM
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>';
      }


sağolasın güzel oldu



Advertisement: