Him abim bi smf türkçe kategorisine bak oralarda görmüştüm bir ara telefonda olmasam daha rahat yardımcı olurdum.
Ekleme:
Ekleme: Smf kategori başlarına icon koyma
--------------------------------------------------------------------------------
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
Alıntı:
// 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
Alıntı:
// 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
Alıntı:
// 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.
Alıntı:
// 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" />';
Alıntı : http://www.rehberim.net/forum/mk-portal-amp-mybb-amp-smf-402/97384-smf-kategori-baslarina-icon-koyma.html