SMF Board icon V2 Basit Şekli

Son güncelleme:
  • 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ı
0 0 0
  • Teşekkür ederim
0 0 0
  • bakalım
0 0 0
  • teşekkürler
0 0 0
  • tşkr
0 0 0
  • saol
0 0 0
  • çok sağol arkadaşım bende bunu arıyordum
0 0 0
  • tşk..
0 0 0
  • Denendimi Acaba Bu ? Bide Resimleme Nasıl Olcak.
0 0 0
  • tsk ler
0 0 0
  • Ellerine Salık DostuM xD
0 0 0
  • Katicon yani Tşk
0 0 0