[İSTEK]Reklam modu

phpBB 2.0.x sürümleri için yapılmasını istediğiniz veya arayıpta bulamadığınız MODları buraya yazabilirsiniz.
Kilitli
phpmod
Kayıtlı Kullanıcı
Mesajlar: 158
Kayıt: 12.11.2006, 21:15
İletişim:

[İSTEK]Reklam modu

Mesaj gönderen phpmod »

viewtopic.php?t=5306
burdaki reklam modunu değişmiş sanırım banada şuanki reklam modu lazım :D
http://www.burhanabi.com/beni-begenmiyo ... vt620.html
örnek bu ilk mesajın içine üst tarafına :oops:
Kullanıcı avatarı
Mirach
Destek Ekibi Lideri
Destek Ekibi Lideri
Mesajlar: 1664
Kayıt: 27.03.2006, 01:06
Konum: İstanbul

Re: [İSTEK]Reklam modu

Mesaj gönderen Mirach »

burhanabideki ilgili viewtopic_body.tpl kodları.

Kod: Tümünü seç

.
..
...
<?php if($postrow_i == 0) { ?>  
<tr>  
 <td colspan="2" align="center" class="row1">  
  <script type="text/javascript"><!--
google_ad_client = "pub-3334560621844391";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "EFEFEF";
google_color_bg = "EFEFEF";
google_color_link = "E1771E";
google_color_text = "11593C";
google_color_url = "EFEFEF";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
 </td>  
</tr>  
<?php } ?>
                        <tr>
                                <td colspan="2"><span class="postbody">{postrow.MESSAGE}<br>{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
                        </tr>
                </table></td>
.
..
...
Profilinde phpBB forumunun adresini girmemiş üyelere ve kurallara aykırı şekilde açılmış başlıklara destek verilmez.
Resim Resim Resim
phpmod
Kayıtlı Kullanıcı
Mesajlar: 158
Kayıt: 12.11.2006, 21:15
İletişim:

Re: [İSTEK]Reklam modu

Mesaj gönderen phpmod »

@Mirach hocam bu modun tamamı yok mu yaw bi koyuversen sana zahmet :roll:
bu kodları tam olarak nereye ekleyeceğimi falan :roll:
Kullanıcı avatarı
Mirach
Destek Ekibi Lideri
Destek Ekibi Lideri
Mesajlar: 1664
Kayıt: 27.03.2006, 01:06
Konum: İstanbul

Re: [İSTEK]Reklam modu

Mesaj gönderen Mirach »

bu düzenleme bu dosyadan ibaret.örnek olması amaçlı olarak ilgili bölüm kodlarını burada gösterdim.yeterli olmadı ise açıklamayı geniş tutayım..

ilgili .tpl dosyasında mesaj tablosuna karşılık gelen kısmın üstüne yerleştirilmiş.
bknz:

Kod: Tümünü seç

<tr>
                                <td colspan="2"><span class="postbody">{postrow.MESSAGE}<br>{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
                        </tr>
bu bölümü viewtopic_body.tpl dosyanızda bulup , üstüne aşağıdaki kodları şahsi bilgilerinizle değiştirdikten sonra ekleme yapınız.

tablo şu şekilde oluşturulmuş..
bknz:

Kod: Tümünü seç

<?php if($postrow_i == 0) { ?> 
<tr> 
<td colspan="2" align="center" class="row1"> 
  <script type="text/javascript"><!--
google_ad_client = "pub-3334560621844391";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "EFEFEF";
google_color_bg = "EFEFEF";
google_color_link = "E1771E";
google_color_text = "11593C";
google_color_url = "EFEFEF";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td> 
</tr> 
<?php } ?>
google adsense kodlarınıza bakıp , ilgili olan kodları sizin adsense kodlarınız ile değiştiriniz.
Profilinde phpBB forumunun adresini girmemiş üyelere ve kurallara aykırı şekilde açılmış başlıklara destek verilmez.
Resim Resim Resim
phpmod
Kayıtlı Kullanıcı
Mesajlar: 158
Kayıt: 12.11.2006, 21:15
İletişim:

Re: [İSTEK]Reklam modu

Mesaj gönderen phpmod »

tşkler şimdi oldu.
emeğine sağlık :wink:
hakben
Kayıtlı Kullanıcı
Mesajlar: 44
Kayıt: 03.08.2006, 23:04
İletişim:

Re: [İSTEK]Reklam modu

Mesaj gönderen hakben »

ben bunu daha önce front page yardımıyla yaptım ama sadece ilk mesajda değil ilk 2 mesajda çıkıyor.. sadece ilk mesajda çıkmasını nasıl sağlayabilirim ?

işte viewtopic_body.tpl dosyam

Kod: Tümünü seç

<style type="text/css">
<!--
.style4 {color: #000000; font-size: 12px; }
.style9 {color: #000000; font-size: 10px; }
.style12 {color: #000000}
-->
</style>

<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr> 
        <td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><br />
          <span class="gensmall"><b>{PAGINATION}</b><br />
          &nbsp; </span></td>
  </tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr> 
        <td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
        <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
          -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
  </tr>
</table>

<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
        <tr align="right">
                <td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a> &nbsp;</span></td>
        </tr>
        {POLL_DISPLAY} 
        <tr>
                <th class="thLeft" width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
                <th class="thRight" nowrap="nowrap">{L_MESSAGE}</th>
        </tr>
        <!-- BEGIN postrow -->
        <tr> 
                <td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><TABLE ALIGN="CENTER" BGCOLOR="" CELLPADDING="1" CELLSPACING="1" WIDTH="95%"><TR><TD WIDTH="100%" BGCOLOR="#EBF1F4"></td></tr><tr><td WIDTH="100%"><div align="center"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span></div>
							<div align="center">
                        <div align="center">&nbsp;</div>
						<div align="center">{postrow.RANK_IMAGE}</div>
								<div align="center"><span class="postdetails">{postrow.POSTER_RANK}</span></div>
                </div></td></tr>
                  <tr>
                    <td><div align="left" class="style9">
                      <div align="center">{postrow.POSTER_AVATAR}
                </div>
                    </div></td>
                  </tr>
                  <tr><td WIDTH="100%" height="17"><span class="style12"><span class="style11">
                  </span>
                  <div align="left" class="style9">{postrow.POSTER_JOINED}</div></td></tr>
                  <tr><td WIDTH="100%"><span class="style12"><span class="style11">
                    </span>
                    <div align="left" class="style9">{postrow.POSTER_POSTS}</div></td></tr>
                  <tr><td WIDTH="100%"><div align="left" class="style9"><span class="postdetails">{postrow.POSTER_FROM}</span></div></td>
                  </tr></table></td>
                <td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                                <td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen">&nbsp;</span>&nbsp; &nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
                                <td valign="top" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
                        </tr>
                        <tr>
                                </td>
                                </tr>
                        <tr> 
                                <td colspan="2"><hr /><script type="text/javascript"><!--
google_ad_client = "pub-9491452833224421";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "EFEFEF";
google_color_bg = "EFEFEF";
google_color_link = "006699";
google_color_text = "000000";
google_color_url = "FFFFFF";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><hr /></td>
                        </tr>
                        <tr>
                                <td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
                        </tr>
                </table></td>
        </tr>
        <tr> 
                <td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
                <td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
                        <tr> 
                                <td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!-- 

        if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
                document.write(' {postrow.ICQ_IMG}');
        else
                document.write('</td><td>&nbsp;</td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
                                
                                //--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
                        </tr>
                </table></td>
        </tr>
        <tr> 
                <td class="spaceRow" colspan="2" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
        </tr>
        <!-- END postrow -->
<tr align="center"> 
		<td class="row1" colspan="2" >
		<p align="left">{QUICKREPLY_OUTPUT}
		</td>
	</tr>
        <tr align="center"> 
                <td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
                        <tr><form method="post" action="{S_POST_DAYS_ACTION}">
                                <td align="center"><span class="gensmall">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS}&nbsp;{S_SELECT_POST_ORDER}&nbsp;<input type="submit" value="{L_GO}" class="liteoption" name="submit" /></span></td>
                        </form></tr>
                </table></td>
        </tr>
</table>

<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
  <tr> 
        <td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
<!-- BEGIN switch_user_logged_in -->
<script type="text/javascript" src='./templates/quick_ex.js'></script>
<a href="javascript:ShowHide('qr_open','qr_closed');" ><img src="{REPLY_FAST_IMG}" border="0" alt="{L_QUICK_REPLY}" align="middle" /></a>
<!-- END switch_user_logged_in -->
        <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
          -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
        <td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span> 
    </td>
  </tr>
  <tr>
        <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
  </tr>
</table>

<table width="100%" cellspacing="2" border="0" align="center">
  <tr> 
        <td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}</span><br />
          &nbsp;<br />
          {S_TOPIC_ADMIN}</td>
        <td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
  </tr>
</table>
Eğlenmek, Stres Atmak, Geyik Yapmak İstiyorsan Doğru Adres:
WwW.GeYiKFoReVeR.CoM
Kullanıcı avatarı
Mirach
Destek Ekibi Lideri
Destek Ekibi Lideri
Mesajlar: 1664
Kayıt: 27.03.2006, 01:06
Konum: İstanbul

Re: [İSTEK]Reklam modu

Mesaj gönderen Mirach »

edit : sitenizde phpBB Türkiye linklerini göremiyorum ?
Profilinde phpBB forumunun adresini girmemiş üyelere ve kurallara aykırı şekilde açılmış başlıklara destek verilmez.
Resim Resim Resim
hakben
Kayıtlı Kullanıcı
Mesajlar: 44
Kayıt: 03.08.2006, 23:04
İletişim:

Re: [İSTEK]Reklam modu

Mesaj gönderen hakben »

Eklenmiştir..

Bilgilendirme: Kesinlikle Bilerek Silinmemiştir. Forumda Değişiklik Yaparken Yanlışlık ile Kaldıırlmıştır. Şu Anda Bütün Kodlar Eklenmiştir..

Şimdi Sorumun Cevabını alabilirmiyim?
Eğlenmek, Stres Atmak, Geyik Yapmak İstiyorsan Doğru Adres:
WwW.GeYiKFoReVeR.CoM
hakben
Kayıtlı Kullanıcı
Mesajlar: 44
Kayıt: 03.08.2006, 23:04
İletişim:

Re: [İSTEK]Reklam modu

Mesaj gönderen hakben »

Sizin dediğinz şekilde yaptım. bütün mesajlarda çıktı. geri kaldırdım. bu sitedeki gibi sadece ilk mesajdan önce çıkmasını istiyorum ?
Eğlenmek, Stres Atmak, Geyik Yapmak İstiyorsan Doğru Adres:
WwW.GeYiKFoReVeR.CoM
Kilitli

“2.0.x MOD İstekleri” sayfasına dön

Kimler çevrimiçi

Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 0 misafir