Ana Sayfa   Yardım Ara Giriş Yap Kayıt  
Merhaba, Ziyaretçi. Lütfen giriş yapın veya üye olun.
Aktivasyon mailiniz gelmediyse buraya tıklayın.

Kullanıcı adınızı, parolanızı ve aktif kalma süresini giriniz
Sayfa: [1]
  Yazdır  
Gönderen Konu: Forumun Çeşitli Yerlerine Reklam Koymak  (Okunma Sayısı 396 defa)
pazarakadar
Newbie
*
Mesaj Sayısı: 15


Üyelik Bilgileri
« : Aralık 26, 2008, 09:56:26 ÖÖ »

Forumun En Üstüne Reklam

index.template.php dosyasını nda bu kodu bulun



Kod: Hepsini Seç | Panoya Kopyala

</head>
<body>';

sonrasına ekleyin



Kod: Hepsini Seç | Panoya Kopyala

echo' REKLAM KODU';

Mesajların üstüne reklam

Display.template.php 'de bulun


Kod: Hepsini Seç | Panoya Kopyala

// Show the anchor for the top and for the first message. If the first message is new, say so.



Kod:
Kod: Hepsini Seç | Panoya Kopyala

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 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 src="' . $settings['images_url'] . '/ip.gif" alt="" border="0" />
Logged </td>
</tr>
</table></td>
</tr>
</table>
</td></tr>';

Not:

bu şekilde koyarsanız reklam modu kullanıcı gibi görünmeyecektir.


Mesaj Başlıklarının üstüne Reklam

Messageindex.template.php'yi açın


Kod: Hepsini Seç | Panoya Kopyala

global $context, $settings, $options, $scripturl, $modSettings, $txt;



Kod: Hepsini Seç | Panoya Kopyala

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 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 src="' . $settings['images_url'] . '/ip.gif" alt="" border="0" />
Logged </td>
</tr>
</table></td>
</tr>
</table>
</td></tr>';

İlk mesajda reklam


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


Kod: Hepsini Seç | Panoya Kopyala

// 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


Kod: Hepsini Seç | Panoya Kopyala

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 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 src="' . $settings['images_url'] . '/ip.gif" alt="" border="0" />
Logged </td>
</tr>
</table></td>
</tr>
</table>
</td></tr>';

İmzalara reklam


imzanın altına çizgi çekip reklam yerleştiriyoruz.bu şekilde herkesin imzasının altında çıkıyor. yanlız google reklamı eklemeyin,çünkü bir sayfada 3 reklamdan fazlasına izin vermez.

displaytemplate.php2de bu kodu bulun



Kod: Hepsini Seç | Panoya Kopyala

// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '


BU ŞEKİLDE DEĞİŞTİRİN

Kod: Hepsini Seç | Panoya Kopyala

// 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>';

''Duyurular'' Gibi Reklam Alanı Oluşturmak


Tüm Sayfalarda göstermek için
index.template de bunu bulun


Kod: Hepsini Seç | Panoya Kopyala

// The main content should go here.
echo '
<div id="bodyarea" style="padding: 1ex 0px 2ex 0px;">';
}

ve hemen öncesine ekleyin.



Kod: Hepsini Seç | Panoya Kopyala

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.


Kod: Hepsini Seç | Panoya Kopyala

</table>';


Forumun en Altına Reklam

index.template.php’de BU KODU BULUN



Kod: Hepsini Seç | Panoya Kopyala

<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>

sonrasına reklam kodlarınızı ekleyin


Avatar altina reklam


Display.template.php yi acin

Su kodu bulun VE Altına reklam kodunuzu yerleştirin


Kod: Hepsini Seç | Panoya Kopyala

// Done with the information about the poster... on to the post itself.
echo '
</div>

Duyuruların Üstüne Reklam

index.template.php dosyasını açıN. bu kodu bulun



Kod: Hepsini Seç | Panoya Kopyala

// The main content should go here.
echo '

sonrasına ekleyin.


Kod: Hepsini Seç | Panoya Kopyala

<table align="center">REKLAM KODLARI</table>


Konuların içine ilk mesajdan sonra içine reklam

Display.Template.php ni aç
bul


Kod: Hepsini Seç | Panoya Kopyala

}
echo '
<tr><td style="padding: 0 0 1px 0;"></td></tr>

öncesine ekle

Kod: Hepsini Seç | Panoya Kopyala

if ($message['id'] == $context['first_message'])
echo '
<tr align=center><td style="padding: 0 0 1px 0;">
BURAYA REKLAM KODUNUZU YERLEŞTİRİN
</td></tr>
';
Logged
bulutsengun
Newbie
*
Mesaj Sayısı: 5


Üyelik Bilgileri E-Posta
« Yanıtla #1 : Mart 29, 2010, 02:41:12 ÖS »

çalışmamaktadır :S Üzgün
Logged
Sayfa: [1]
  Yazdır  
 
Gitmek istediğiniz yer:  

MySQL ile Güçlendirildi PHP ile Güçlendirildi Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
XHTML 1.0 Geçerli! CSS Geçerli!
Bu Sayfa 0.114 Saniyede 19 Sorgu ile Oluşturuldu