SMF Board icon V2 Basit Şekli

Son güncelleme: 03.04.2009 13:17
  • Bu uygulama ile kategorilerinizin önüne basit bir şekilde istediğiniz resimleri atayabilirsiniz..Her kategoriye sadece bir tane resim atayabiliyorsunuz 3 tane yani on on_2 off gibisinden değil..

    Modu kurduktan sonra temanızın images klasörüne board_icon adında bir klasör açıp resimlerinizi bu klasörün içine atın..Kategorilerinizin numarasına göre bunları adlandıracaksınız..
    örn: kategori numarası 12 ise resiminizi şu şekilde adlandırıp board_icon klasörüne atın icon_12


    Kuruluma başlamadan önce muhakkak yedek alın..
    Boardindex.template.php de
    bul
    // If the board is new, show a strong indicator.
    if ($board['new'])
    echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
    // This board doesn't have new posts, but its children do.
    elseif ($board['children_new'])
    echo '<img src="', $settings['images_url'], '/on2.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
    // No new posts at all! The agony!!
    else
    echo '<img src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" />';

    değiştir

    // If the board is new, show a strong indicator.
    if ($board['new'])
    echo '<img src="', $settings['images_url'], '/board_icon/icon_' . $board['id'] . '.gif" alt="','" border="0" />';

    else
    echo '<img src="', $settings['images_url'], '/board_icon/icon_' . $board['id'] . '.gif" alt="','" border="0" />';

    messageindex.template.php de
    bul
    // If the board is new, show a strong indicator.
    if ($board['new'])
    echo '<img src="', $settings['images_url'], '/on.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
    // This board doesn't have new posts, but its children do.
    elseif ($board['children_new'])
    echo '<img src="', $settings['images_url'], '/on2.gif" alt="', $txt[333], '" title="', $txt[333], '" />';
    // No new posts at all! The agony!!
    else
    echo '<img src="', $settings['images_url'], '/off.gif" alt="', $txt[334], '" title="', $txt[334], '" />';


    değiştir.
    // If the board is new, show a strong indicator.
    if ($board['new'])

    echo '<img src="', $settings['images_url'], '/board_icon/icon_' . $board['id'] . '.gif" alt="','" border="0" />';
    else
    echo '<img src="', $settings['images_url'], '/board_icon/icon_' . $board['id'] . '.gif" alt="','" border="0" />';


    Modu Bu konudan esinlenerek yaptım..sahiplenen olmazsa benim diyebilirim. :)
    Sadece iki kere test edebildim..Kurulum sonrasında herhangi bir problem olursa aynı konuda dile getirirsiniz.

    Alıntı
#17.01.2008 11:47 0 0 0
  • Teşekkür ederim
#26.03.2008 23:49 0 0 0
  • bakalım
#27.05.2008 00:23 0 0 0
  • teşekkürler
#29.05.2008 13:39 0 0 0
  • tşkr
#27.06.2008 11:03 0 0 0
  • saol
#16.07.2008 22:34 0 0 0
  • çok sağol arkadaşım bende bunu arıyordum
#24.08.2008 19:16 0 0 0
  • tşk..
#07.09.2008 01:59 0 0 0
  • Denendimi Acaba Bu ? Bide Resimleme Nasıl Olcak.
#12.10.2008 14:04 0 0 0
  • tsk ler
#22.10.2008 12:42 0 0 0
  • Ellerine Salık DostuM xD
#31.01.2009 12:10 0 0 0
  • Katicon yani Tşk
#03.04.2009 13:17 0 0 0