Duyurularin Ustune Reklam index.template.php dosyasını açıN. bu kodu bulun
// The main içerik should go here. echo '
sonrasına ekleyin.
<table align="center">REKLAM KODLARI</table>
[Tek Kral T-Mac] Hsm Kimdir? Tıkla Tıklayabilirsen
Avatar altina reklam Display.template.php yi acin Su kodu bulun VE Altına reklam kodunuzu yerleştirin
// Done with the information about the poster... on to the post itself. echo ' </div>
Forumun En Altina Reklam index.template.php’de BU KODU BULUN
<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.yasak içerik = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif"; } // ]]></script>
sonrasına ekleyin reklam kodlarınızı
Duyurular Gibi Reklam Alani Olusturmak Tüm Sayfalarda göstermek için index.template de bunu bulun
// The main içerik should go here. echo ' <div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">'; }
ve hemen öncesine ekleyin.
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>';
coder: ivan_
imzanın altına çizgi çekip reklam yerleştiriyoruz. displaytemplate.php de bu kodu bulun
// 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'], '</div>';
BU ŞEKİLDE DEĞİŞTİRİN
// 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 KODU BURAYA GELECEK</center></div>';
İlk mesajda reklam(Kullanici gibi gorunmez) bu şekilde koyarsanız reklam modu kullanıcı gibi görünmeyecek.konuya ilk mesaj yazanın imzasının altında görünecektir. display.template.php dosyasını açıp aşagıdaki kodları bulun
// 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>';
ALTINA EKLEYİN
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 yasak içerik="' . $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 KODLARINI BURAYA EKLEYİN </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 yasak içerik="' . $settings['images_url'] . '/ip.gif" alt="" border="0" /> Logged </td> </tr> </table></td> </tr> </table> </td></tr>';
Mesaj Basliklarinin Ustune Reklam Messageindex.template.php'yi açın
global $context, $settings, $options, $scripturl, $modSettings, $txt;
altına ekleyin
Mesajlarin ustune reklam(icinde) Display.template.php 'de bulun bunu buluyorsunuz
// Show the post itself, finally! echo ' </td> </tr></table> <hr width="100%" size="1" class="hrcolor" />
altına ekliyorsunuz.
';if ($message['id'] == $context['first_message'])echo 'REKLAMLAR</br></br></br> ';echo'
kodun içindeki </br> leri çoğaltarak konu içine yazan mesajla arasını daha fazla açabilirsiniz. coder: ivan_