3. İlk Mesajdan Sonra Reklamdisplay.template.php dosyasını açıp aşagıdaki kodları buluyorsunuz.
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%; padding-bottom: 3px;" class="signature">', $message['member']['signature'], '</div>';
echo '
</td>
</tr>
</table>
</td></tr>
</table>
</td></tr>';
bu kodların hemen altına aşagıdaki kodları ekliyosunuz.
kodların içinde java kodunu buraya ekle diye bir yazı var oraya adsense yada reklam kodlarını ekliyeceksiniz
if ($message['id'] == $context['first_message'])
echo '
<tr><td class="windowbg1">
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr><td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b><a href="http://www.netforumz.com">Sponsor Linkler</a></b>
<div class="smalltext">
Linkler<br />
<img src="' . $settings['images_url'] . '/star.gif" alt="*" border="0" /><img src="' . $settings['images_url'] . '/star.gif" alt="*" border="0" /><img src="' . $settings['images_url'] . '/star.gif" alt="*" border="0" /><img src="' . $settings['images_url'] . '/star.gif" alt="*" border="0" /><img src="' . $settings['images_url'] . '/star.gif" alt="*" border="0" /><br />
<img src="' . $settings['images_url'] . '/useroff.gif" alt="Offline" border="0" align="middle" /><span class="smalltext"> Offline</span><br /><br />
Linkler: 1<br />
<br />
<br />
<a href="http://www.netforumz.com"><img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="View Profile" title="View Profile" border="0" /></a>
</div>
</td>
<td valign="top" width="85%" height="100%">
‘’ Duyurular ‘’ Gibi Reklam Alanı OluşturmakTüm Sayfalarda Görünmesini İstiyorsanız;
index.template de bunu bulun.
// The main content should go here.
echo '
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">';
}
ve hemen öncesine
echo '
<br>
<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="catbg">Reklamlar</td>
</tr>
<tr>
<td valign="middle" align="center" height="60">';
echo'
//Reklam kodu buraya koyulacak.
</table>';
Sadece Ana Sayfada Görünmesini İstiyorsanız;
boardindex.template de
/* Each category in categories is made up of:
id, href, link, name, is_collapsed (is it collapsed?), can_collapse (is it okay if it is?),
new (is it new?), collapse_href (href to collapse/expand), collapse_image (up/down iamge),
and boards. (see below.) */
$first = true;
foreach ($context['categories'] as $category)
bulun ve öncesine
echo '
<br>
<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="catbg">Reklamlar</td>
</tr>
<tr>
<td valign="middle" align="center" height="60">';
echo'
//Reklam kodu buraya koyulacak.
</table>';
EKLEYİN.