Burada bir çok reklam alanını bulabilirsiniz. Kendinize uygun olanını gönül rahatlığı ile kullanabilirsiniz.. Anlatımlar Default tema için yapılmıştır. Kendi temanızda da kodlar hemen hemen aynıdır. Farklılıklar elbet olabilir, aranacak kodlardaki ayrıntıyı azaltarak kendi temanızdaki uygun kodları bulabilirsiniz.
1. Forumun En Üstüne Reklam
index.template.php dosyasında aşağıdaki kodu bulunuz:
ve hemen altına ekleyiniz:
2. Mesajların Üstüne ReklamDisplay.template.php dosyasında aşağıdaki kodları bulunuz:
ve hemen üzerine ekleyiniz:
3. Mesaj Başlıklarının Üstüne Reklam:
Messageindex.template.php dosyasında aşağıdaki kodları bulunuz:
Hemen altına aşağıdaki kodları ekleyiniz:
4. İlk Mesajda Reklam:
Display.template.php dosyasında aşağıdaki kodları bulunuz:
Hemen altına aşağıdaki kodları ekleyiniz:
5. Üye İmzalarına Reklam:
Display.template.php dosyasında aşağıdaki kodu bulunuz:
Bununla değiştiriniz:
6. "Duyurular'' Gibi Reklam Alanı Oluşturmak:
index.template.php dosyasında aşağıdaki kodları bulunuz:
ve hemen öncesine aşağıdaki kodları ekleyiniz:
7. Forumun En Altına Reklam:
index.template.php dosyasında aşağıdaki kodları bulunuz:
bununla değiştiriniz:
8. Avatar Altına Reklam:
Display.template.php dosyasında aşağıdaki kodları bulunuz:
Bununla değiştiriniz:
9. Duyuruların Altına Reklam:
index.template.php dosyasında aşağıdaki kodları bulunuz:
hemen altına ekleyiniz:
10. Konu içerisinde İlk Mesajdan Sonra Reklam:
Display.template.php dosyasında aşağıdaki kodu bulunuz:
hemen öncesine ekleyiniz:
11. Login (Giriş) Bölümüne Reklam:
Login.template.php dosyasında aşağıdaki kodu bulunuz:
hemen altına ekleyiniz:
1. Forumun En Üstüne Reklam
index.template.php dosyasında aşağıdaki kodu bulunuz:
Kod:
</head>
<body>';
Kod:
echo 'Reklam kodları';
Kod:
// Show the anchor for the top and for the first message. If the first message is new, say so.
Kod:
if ($message['id'] == $context['first_message'])
echo '
<tr><td class="windowbg1">
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr><td height="100%" valign="top" style="overflow: hidden;">
<table width="100%" border="0">
<tr>
<td align="left" valign="middle" width="25"><img src="' . $settings['images_url'] . '/post/xx.gif" alt="" border="0" /></td>
<td align="left" valign="middle"><b>Sponsor Bağlantı </b></td>
<td align="right" valign="bottom" height="20" nowrap="nowrap" style="font-size: smaller;"></td>
</tr>
</table>
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%;">Reklam Kodlarınızı Buraya Koyunuz...</div>
<table width="100%" border="0" style="table-layout: fixed;">
<tr><td align="left" colspan="2" class="smalltext" width="100%"></td></tr>
<tr><td align="left" valign="bottom" class="smalltext"></td>
<td align="right" valign="bottom" class="smalltext"><img src="' . $settings['images_url'] . '/ip.gif" alt="" border="0" />
Logged </td>
</tr>
</table></td>
</tr>
</table>
</td></tr>';
Messageindex.template.php dosyasında aşağıdaki kodları bulunuz:
Kod:
global $context, $settings, $options, $scripturl, $modSettings, $txt;
Kod:
if ($message['id'] == $context['first_message'])
echo '
<tr><td class="windowbg1">
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr><td height="100%" valign="top" style="overflow: hidden;">
<table width="100%" border="0">
<tr>
<td align="left" valign="middle" width="25"><img src="' . $settings['images_url'] . '/post/xx.gif" alt="" border="0" /></td>
<td align="left" valign="middle"><b>Sponsor Bağlantı </b></td>
<td align="right" valign="bottom" height="20" nowrap="nowrap" style="font-size: smaller;"></td>
</tr>
</table>
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%;">Reklam Kodlarınızı Buraya Ekleyiniz...</div>
<table width="100%" border="0" style="table-layout: fixed;">
<tr><td align="left" colspan="2" class="smalltext" width="100%"></td></tr>
<tr><td align="left" valign="bottom" class="smalltext"></td>
<td align="right" valign="bottom" class="smalltext"><img src="' . $settings['images_url'] . '/ip.gif" alt="" border="0" />
Logged </td>
</tr>
</table></td>
</tr>
</table>
</td></tr>';
Display.template.php dosyasında aşağıdaki kodları bulunuz:
Kod:
// 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>';
Kod:
if ($message['id'] == $context['first_message'])
echo '
<tr><td class="windowbg1">
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr><td height="100%" valign="top" style="overflow: hidden;">
<table width="100%" border="0">
<tr>
<td align="left" valign="middle" width="25"><img src="' . $settings['images_url'] . '/post/xx.gif" alt="" border="0" /></td>
<td align="left" valign="middle"><b>Sponsor Bağlantı </b></td>
<td align="right" valign="bottom" height="20" nowrap="nowrap" style="font-size: smaller;"></td>
</tr>
</table>
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%;">Reklam Kodlarını Buraya Ekleyiniz...</div>
<table width="100%" border="0" style="table-layout: fixed;">
<tr><td align="left" colspan="2" class="smalltext" width="100%"></td></tr>
<tr><td align="left" valign="bottom" class="smalltext"></td>
<td align="right" valign="bottom" class="smalltext"><img src="' . $settings['images_url'] . '/ip.gif" alt="" border="0" />
Logged </td>
</tr>
</table></td>
</tr>
</table>
</td></tr>';
Display.template.php dosyasında aşağıdaki kodu bulunuz:
Kod:
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
Kod:
// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div class="signature">', $message['member']['signature'], '<hr width="100%" size="1" class="hrcolor" /><br /><br /><center>Reklam Kodlarını Buraya Ekleyiniz...</center></div>';
index.template.php dosyasında aşağıdaki kodları bulunuz:
Kod:
// The main content should go here.
echo '
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">';
}
Kod:
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 Kodlarını Buraya Ekleyiniz...';
echo'</td>
</tr>
</table>';
index.template.php dosyasında aşağıdaki kodları bulunuz:
Kod:
<div id="footerarea" style="text-align: center; padding-bottom: 1ex;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function smfFooterHighlight(element, value)
{
element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
}
// ]]></script>
Kod:
<div id="footerarea" style="text-align: center; padding-bottom: 1ex;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function smfFooterHighlight(element, value)
{
element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
}
// ]]></script>';
echo'<div align="center">Reklam kodlarını buraya ekleyiniz...</div><br />
Display.template.php dosyasında aşağıdaki kodları bulunuz:
Kod:
// Done with the information about the poster... on to the post itself.
echo '
</div>
Kod:
// Done with the information about the poster... on to the post itself.
echo '
</div>';
echo'Reklam Kodlarını Buraya Ekleyiniz...<br />
index.template.php dosyasında aşağıdaki kodları bulunuz:
Kod:
// The main content should go here.
echo '
Kod:
<table align="center">Reklam Kodlarını Buraya Ekleyiniz...</table>
Display.template.php dosyasında aşağıdaki kodu bulunuz:
Kod:
}
echo '
<tr><td style="padding: 0 0 1px 0;"></td></tr>
Kod:
if ($message['id'] == $context['first_message'])
echo '
<tr align=center><td style="padding: 0 0 1px 0;">
Reklam Kodlarını Buraya Ekleyiniz...
</td></tr>
';
Login.template.php dosyasında aşağıdaki kodu bulunuz:
Kod:
<form action="', $scripturl, '?action=login2" name="frmLogin" id="frmLogin" method="post" style="margin-top: 4ex;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this);"' : '', '>
Kod:
<table width="96" height="96" border="1" align="rigth" cellpadding="0" cellspacing="0" bordercolor="#457DDF">
<tr>
<td colspan="2" bgcolor="#457DDF" bordercolor="#457DDF"><b></left><font color="white" size="2" face="Tahoma">Reklam & Banner</font></b></left>
</td>
</tr>
<tr>
<td colspan="2" background="blue">
<div align="center">
Reklam Kodlarını Buraya Ekleyiniz...
</div>
</td>
</tr>
</table>