Forumlara Sponsor Link Uygulaması modules/Forums/viewtopic.php dosyasını açın
1-Aşağıda ki kodu bulun! Kod:
for($i = 0; $i < $total_posts; $i++) Yukarıda ki kodun öncesine aşağıda ki kodu ekleyin 2-Aşağıda ki kodu bulun! Kod:
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; Aşağıda ki kod ile Değiştirin! Kod:
$row_color = ( !($num_post % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($num_post % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$num_post ++; 3-Aşağıda ki kodu bulun! Kod:
}
$template->pparse('body'); Yukarıda ki kodun öncesine aşağıda ki kodu ekleyin Kod:
if($i == 0)
{
$row_color = ( !($num_post % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($num_post % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$num_post ++;
$message = 'Buraya HTML Kodlarını Giriniz';
$template->assign_block_vars('postrow', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'POSTER_NAME' => 'Mesajı gönderenin ismini Giriniz. Biz Sponsor Link Koyduk',
'POST_DATE' => 'Mesajı Gönderme Tarihi',
'POST_SUBJECT' => 'Mesajın Konusunu Yazınız',
'MESSAGE' => $message,
'MINI_POST_IMG' => $mini_post_img,
'U_POST_ID' => '0')
));
} En Son Kod da Bazı Açıklamalarda Bulundum.
İsteğinize göre ayarlamayı Unutmayınız!
PHPNuke is number one (SoS) |