Türkiye'nin ilk Oyun Forumlarından olan Oyunsiteniz 17 Yasinda

OYUN DIŞI BÖLÜMLER => SMF DESTEK FORUMU => KÜLTÜR SANAT EĞİTİM VE TEKNOLOJİ => MODİFİKASYONLAR => Konuyu başlatan: Hamza - 07 Mayıs 2008, 23:49:18

Başlık: Sabit ve Normal başlıkları Ayırma
Gönderen: Hamza - 07 Mayıs 2008, 23:49:18

MessageIndex.template.php yi aç


bul

Kod: [Seç]
foreach ($context['topics'] as $topic)
{


Değiştir
Kod: [Seç]
$stickybar = false;
$normalbar = false;

foreach($context['topics'] as $topic)
{
if($topic['is_sticky'] && !$stickybar)
{
echo'<tr class="titlebg"><td colspan="', empty($options['display_quick_mod']) ? '7' : '8', '"><center><img src="', $settings['images_url'], '/icons/quick_sticky.gif" width="16"  /><b> Sabit Konular</b></center></td></tr>';
$stickybar = true;
}
else if(!$topic['is_sticky'] && $stickybar && !$normalbar)
{
echo'<tr class="titlebg"><td colspan="', empty($options['display_quick_mod']) ? '7' : '8', '"><center><img src="' . $settings['images_url'] . '/post/xx.gif" alt="" align="middle" /><b> Normal Konular</b></center></td></tr>';
$normalbar = true;
}


dilbermc teması kullananlar için , bunu bul
Kod: [Seç]
foreach ($context['topics'] as $topic)
{


değiştir

Kod: [Seç]
$stickybar = false;
$normalbar = false;

foreach($context['topics'] as $topic)
{
if($topic['is_sticky'] && !$stickybar)
{
echo'<tr class="titlebg"><td colspan="', empty($options['display_quick_mod']) ? '7' : '8', '"><center><img src="', $settings['images_url'], '/icons/quick_sticky.gif" width="16"  /><b> Sabit Konular</b></center></td></tr>';
$stickybar = true;
}
else if(!$topic['is_sticky'] && $stickybar && !$normalbar)
{
echo'<tr class="titlebg"><td colspan="', empty($options['display_quick_mod']) ? '7' : '8', '"><center><img src="' . $settings['images_url'] . '/post/xx.gif" alt="" align="middle" /><b> Normal Konular</b></center></td></tr>';
$normalbar = true;
}

Edit : Rengeyik.net

Eğer Modifikasyon Sonucu Renk Bozukluğu Yaşarsanız Style.css de Aşağıdaki Kodu Bulup Kendinize göre Editleyin...

Kod: [Seç]
.windowbg3
{
color: #000000;
background-color: #ECECEC;
background-image: url('images/windowbg.gif');
background-repeat: repeat-x;
}
Başlık: Sabit ve Normal başlıkları Ayırma
Gönderen: Hamza - 07 Mayıs 2008, 23:49:47
Örnek Resim :
(http://img172.imageshack.us/img172/9260/adsz3bn7.png)
Başlık: Sabit ve Normal başlıkları Ayırma
Gönderen: Abdullah - 08 Mayıs 2008, 08:34:51
düzeni sevenler için vazgecilmez bir mod eyw aga
Başlık: Ynt: Sabit ve Normal başlıkları Ayırma
Gönderen: Dragon Fifacı - 10 Mayıs 2008, 20:54:09
Paylaşım İçin Saol
Başlık: Ynt: Sabit ve Normal başlıkları Ayırma
Gönderen: Nuri_Fb - 16 Mayıs 2008, 09:42:39
Teşekkürler