Webmaster  Forumu  

Geri git   Webmaster Forumu > Web Sistemleri > Forum Sistemleri > SMF / Simple Machines Forum

SMF / Simple Machines Forum SMF versiyonlarını, bileşenleri, modlarını türkçe dil dosyalarını bu bölümde bulabilirsiniz.

Cevapla
 
Seçenekler Stil
Alt 07-13-2008, 11:48 PM   #1
aLKoLiK
Administrator
 
aLKoLiK - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: May 2008
Mesajlar: 759
Tecrübe Puanı: 10
aLKoLiK isimli üye Tecrübe puanını kapatmıştır.
Standart Mesajların Altına Duyurular [ Her Mesaj ]

Olur ya bazen duyuruları görmeyiz veya gözden kaçırırız.İşte bu yapacağınız işlemler sonunda her mesajın altında duyurular olucak bu sayede duyuruların herkes tarafından görülebilmesini sağlayacağız..

display.template aç
bul:
Kod:
        // Show the member's signature?
        if ( empty($message['member']['signature']) && empty($options['show_no_signatures']))
            echo '
                            <hr width="100%" size="1" class="hrcolor" />
                            <div class="signature">', $message['member']['signature'], '</div>';
 
        echo '
                        </td>
                    </tr>
                </table>
            </td></tr>
        </table>
    </td></tr>';
altına ekle:
Kod:
    //Mesajların Altına Duyurular by Nicholas
    echo'
    <div align="center">
<table border="0" cellpadding="3" class="tborder" width="100%">
<tr><td class="catbg" align="center">Duyurular</td></tr>
            <tr>
            <td class="windowbg" align="center">
 
                <div id="smfFadeScroller" style="width: 90%; padding: 2px;"><b>', $context['news_lines'][0], '</b></div>
                <script language="JavaScript" type="text/javascript">< -- // -->< [CDATA[
                    // The fading delay (in ms.)
                    var smfFadeDelay = ', empty($settings['newsfader_time']) ? 5000 : $settings['newsfader_time'], ';
                    // Fade from... what text color? To which background color?
                    var smfFadeFrom = {"r": 0, "g": 0, "b": 0}, smfFadeTo = {"r": 255, "g": 255, "b": 255};
                    // Surround each item with... anything special?
                    var smfFadeBefore = "<b>", smfFadeAfter = "</b>";
 
                    var foreColor, backEl, backColor;
 
                    if (typeof(document.getElementById(\'smfFadeScroller\').currentStyle)  = "undefined")
                    {
                        foreColor = document.getElementById(\'smfFadeScroller\').currentStyle.color.match(/#([\da-f][\da-f])([\da-f][\da-f])([\da-f][\da-f])/);
                        smfFadeFrom = {"r": parseInt(foreColor[1]), "g": parseInt(foreColor[2]), "b": parseInt(foreColor[3])};
 
                        backEl = document.getElementById(\'smfFadeScroller\');
                        while (backEl.currentStyle.backgroundColor == "transparent" && typeof(backEl.parentNode)  = "undefined")
                            backEl = backEl.parentNode;
 
                        backColor = backEl.currentStyle.backgroundColor.match(/#([\da-f][\da-f])([\da-f][\da-f])([\da-f][\da-f])/);
                        smfFadeTo = {"r": eval("0x" + backColor[1]), "g": eval("0x" + backColor[2]), "b": eval("0x" + backColor[3])};
                    }
                    else if (typeof(window.opera) == "undefined" && typeof(document.defaultView)  = "undefined")
                    {
                        foreColor = document.defaultView.getComputedStyle(document.getElementById(\'smfFadeScroller\'), null).color.match(/rgb\((\d+), (\d+), (\d+)\)/);
                        smfFadeFrom = {"r": parseInt(foreColor[1]), "g": parseInt(foreColor[2]), "b": parseInt(foreColor[3])};
 
                        backEl = document.getElementById(\'smfFadeScroller\');
                        while (document.defaultView.getComputedStyle(backEl, null).backgroundColor == "transparent" && typeof(backEl.parentNode)  = "undefined" && typeof(backEl.parentNode.tagName)  = "undefined")
                            backEl = backEl.parentNode;
 
                        backColor = document.defaultView.getComputedStyle(backEl, null).backgroundColor.match(/rgb\((\d+), (\d+), (\d+)\)/);
                        smfFadeTo = {"r": parseInt(backColor[1]), "g": parseInt(backColor[2]), "b": parseInt(backColor[3])};
                    }
 
                    // List all the lines of the news for display.
                    var smfFadeContent = new Array(
                        "', implode('",
                        "', $context['fader_news_lines']), '"
                    );
                // ]]>***********
                <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/fader.js">***********
            </td>
        </tr>
    </table>';
aLKoLiK isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Cevapla


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı

Hizli Erisim


WEZ Format +3. Şuan Saat: 04:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
sikiş | webmaster