Linkleri Buton Yapmak İstiyorum (Yanıtla, Anket Ekle, Alıntı, Değiştir vs.)

Started by OverTa[k]e, August 30, 2012, 01:31:00 PM

Previous topic - Next topic

Antes

        // Maybe we can approve it, maybe we should?
        if ($message['can_approve'])
            echo '
              <a href="', $scripturl, '?action=moderate;area=postmod;sa=approve;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '"></a>';

        // 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'], '" class="css3button" onclick="return oQuickReply.quote(', $message['id'], ');">Alıntı</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'], '" class="css3button">Alıntı</a>';

        // Can the user modify the contents of this post?
        if ($message['can_modify'])
            echo '
                                   <a href="', $scripturl, '?action=post;msg=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], '"><img src="' . $settings['images_url'] . '/buttons/duzenle.gif"></a>';

        // How about... even... remove it entirely?!
        if ($message['can_remove'])
            echo '
                                   <a href="', $scripturl, '?action=deletemsg;topic=', $context['current_topic'], '.', $context['start'], ';msg=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '" onclick="return confirm(\'', $txt['remove_message'], '?\');"><img src="' . $settings['images_url'] . '/buttons/sil.gif"></a>';

        // What about splitting it off the rest of the topic?
        if ($context['can_split'] && !empty($context['num_replies']))
            echo '
                                   <a href="', $scripturl, '?action=splittopics;topic=', $context['current_topic'], '.0;at=', $message['id'], '"><img src="' . $settings['images_url'] . '/buttons/bol.gif"></a>';



Ben alıntı butonlarını düzenledim. Deneyin çalışırsa diğerlerini de aynı şekilde düzenlersiniz.

OverTa[k]e

Hocam yaptım ancak tr karakter hatası oluyor. Yani düzenle yazınca karakter hataları oluyor, duzenle yazmak gerekiyor hata olmaması için.. bu konuda ne yapabiliriz ?




Flypside


Modifications.turkish.php dosyasında ?> dan önce

$txt['duzenle'] = 'Düzenle';
$txt['alinti'] = 'Alıntı';


şeklinde istediğiniz gibi düzenleyerek ekleyin daha sonra göstermek istediğiniz sayfada ise aşağıdaki gibi eklemelisiniz.
',$txt['duzenle'],'

Türkçe kararkter problemi yaşadığınız kısımlarda bu şekilde kullanınız.
SMF SUPPORT SERVICE | SEO | PORTAL | FORUM | MOD | THEME | DATABASE | GOOGLE OPT vs..

contact: [email protected]


ingilizce dökümanları

OverTa[k]e

Tamamdır, ikinizede teşekkür ederim.   8)


Birde bu şekilde yukarı çık yapmak istiyorum aynen buradaki mod gibi, bu modu kurdum ancak chrome de çalışmıyor. Bu modu veya css nasıl yaparım her tarayıcıda çalışanı ?

http://custom.simplemachines.org/mods/index.php?mod=3072




Flypside


Basit olarak söyliyeyim fakat denemedim, sen bir dene..

Temanın index.css dosyasının en altına ekle:
#go_top{
    position: fixed;
    bottom: 10px;
    right: 5px;
    display: none;
    cursor: pointer;
}


index.template.php dosyasını aç </body> tagından önce ekle:
<a href="#" id="go_top"><img src = "'.$settings['images_url'].'/go_top.png" alt ="go up"/></ a>

temanın images klasorune görünmesini istediğin images'i go_top.png şeklinde atmalısın.
SMF SUPPORT SERVICE | SEO | PORTAL | FORUM | MOD | THEME | DATABASE | GOOGLE OPT vs..

contact: [email protected]


ingilizce dökümanları

OverTa[k]e

Olmadı hocam, gözükmedi. Ve birde buradakı gibi yapabilir miyim ? Örnekte gösterilen büyük onu küçültürüz ve sanırım kodlarda hatalar var. Ama sadece ve hoş olmuş. Hover almasıda güzel. Yapılabilir mi hocam ?

http://uzmanadam.com/jquery-css-sayfa-basina-gitme-animasyonlu.html





Flypside


Jquery back to top diğe arama yaparsan alternatif birçok bulabilirsin.
SMF SUPPORT SERVICE | SEO | PORTAL | FORUM | MOD | THEME | DATABASE | GOOGLE OPT vs..

contact: [email protected]


ingilizce dökümanları

OverTa[k]e

Bunlar içinde yapmak istiyorum antes aynı şekilde denedim ama bu sefer butonlar çok ufak oldu. Yardımcı olabilir misin


    Yeni Konu
    Yeni Anket
    Haberdar Et
    Okunmuş Say





YusufUmer

Quote from: BA on September 20, 2012, 08:11:47 PM
Bunlar içinde yapmak istiyorum antes aynı şekilde denedim ama bu sefer butonlar çok ufak oldu. Yardımcı olabilir misin


    Yeni Konu
    Yeni Anket
    Haberdar Et
    Okunmuş Say


Advertisement: