Şu ana kadar mesaj yazmamışsınız! Uyarı Modu [Manuel]

Son güncelleme: 26.07.2011 20:45
  • Arkadaşlar Dün Araştırıken Böyle bir modla karşılaştım.Gecenin bir yarısı turkboks.net Kardeşimiz cevap verdi Soruma biraz Araştırdı ve Manuel Anlatımını verdi.Vbulletinden SMF'e Entegre edilmiş bir modifikasyon.Çok Güzel ve Geliştirilebilecek bir mod.Umarım İşinize yarar.İlk defa bir Mod Tanıtımıyla ilgili konu açıyorum hatam olursa mazur Görün. ::)

    Özellik :Bu mod yeni üyelere admin panelinden belirlediğiniz mesaj sayısına kadar düzenlediğiniz uyarıyı veriyor.diyelimki mesaj sınırını 20 mi yaptınız.yeni üyeler 20 mesajı geçene kadar bu uyarıyı alacaktır..bu uyarı yeni üye forumunuzda nereye girerse girsin peşini bırakmıyor :) (Türkçe Çeviri: youness)

    Örnek Resim :
    noimage

    Kurulum :
    index.template.php
    Bul;
    Kod:
    // The main content should go here.

    Hemen Öncesine Ekle;
    Kod:
    //If the user is below the minimum required posts, then show the annoying message.
    global $user_info;

    if (($context['user']['is_logged']) && ($user_info['posts'] < $modSettings['MinReqPostCount']))
    echo '
    <table align="center" style="width: 100%; padding: 20px; text-align: left; vertical-align: middle; margin: 2ex 1ex 2ex 1ex; border: 2px dashed ', $modSettings['PostCountWarningBorderColor'],'; background-color: ', $modSettings['PostCountWarningBackgroundColor'],';">
    <tr>
    <td width="64">
    <img style="vertical-align: middle;" src="'.$settings['images_url'].'/pcWarn.gif" alt="Attention!" />
    </td>
    <td style="color: ', $modSettings['PostCountWarningTextColor'],';">
    <strong>', $modSettings['PostCountWarningMessageTitle'], '</strong><br />', $modSettings['PostCountWarningMessage'], '
    </td>
    </tr>
    </table>
    ';



    ModSettings.php
    Bul;
    Kod:
    // Who's online.
    array('check[/swf2][swf3]who_enabled'),

    Sonrasına Ekle;
    Kod:
    '',
    // What messages to display when the user's postcount is 0
    array('text[/swf2][swf3]PostCountWarningMessageTitle'),
    array('text[/swf2][swf3]PostCountWarningMessage'),
    array('int[/swf2][swf3]MinReqPostCount'),
    '',
    array('text[/swf2][swf3]PostCountWarningBorderColor'),
    array('text[/swf2][swf3]PostCountWarningBackgroundColor'),
    array('text[/swf2][swf3]PostCountWarningTextColor'),

    ModSettings.turkish.php
    Bul;
    Kod:
    $txt['who_enabled'] = 'Kimler Online ı etkinleştir';

    Sonrasına Ekle;
    Kod:
    $txt['PostCountWarningMessageTitle'] = 'Post Count Warning - Başlık';
    $txt['PostCountWarningMessage'] = 'Post Count Warning - Mesaj';
    $txt['MinReqPostCount'] = 'İstenilen Minumum Mesaj Sayısı (0 = Kapatır)';

    $txt['PostCountWarningBorderColor'] = 'Post Count Warning - Çerçeve rengi';
    $txt['PostCountWarningBackgroundColor'] = 'Post Count Warning - Arkaplan Rengi';
    $txt['PostCountWarningTextColor'] = 'Post Count Warning - Yazı Rengi';

    Ekteki Gif'i /images Klasörünün İçerisine Atıyoruz.

    Daha Sonra Yine Ekte Verdiğim PostCountWarning.php Yi ForuM Klasörüne Atıp Çalıştırıyoruz..

    Kurulumdan Sonra :Admin/Forum Seçenekleri/Düzen Ve Seçenekler Kısmından Gerekli Ayarlamaları yapınız.

    Php: RapidShare: 1-Click Webhosting

    Gif: RapidShare: 1-Click Webhosting
#11.04.2008 16:06 0 0 0
  • SaoLasın oKaN Denedim.. Calı$ıyo... Default temada denedim.. Harika Calısıyo... Sorun yok.. Emegine bilgine Saglık...


    Verde Tema için index.template.php dosyasında nereye koyacaz bu kodları bı yardımcı olur musun oKaN ?
#28.04.2008 01:15 0 0 0
  • // The main content should go here.

    Bu kısmı kendi temanda arat çıkması laızm aynı uygulamayı kndi temanda yap yani.
#28.04.2008 02:31 0 0 0
  • // The main content should go here.

    kullandıgım temada bu Kod yok.. Cok aradım.. Bulamadım..


    // The main sub template above the content.


    bu kodtan önce denedim sitedeki boyutta değişiklik oluyo..

    Bi ara$tırsan oKaN Cok yardımcı olmu$ olacaksın.. Bende ara$tırıyorum.. buldugumda Yazarım buraya..
#28.04.2008 08:38 0 0 0
  • Çok Teşekkürler ElinizeSağlık
#05.12.2008 14:16 0 0 0
  • linkler ölmüs :S
#09.12.2008 14:44 0 0 0
  • MaktüL Link yenilermisin
#04.02.2010 21:13 0 0 0
  • beyler bende de bu kodlar yok ne yapıcagız
#14.12.2010 22:39 0 0 0
  • Güzel paylaşım Teşekkürler
#26.07.2011 20:45 0 0 0