[İSTEK]Reklam modu
[İSTEK]Reklam modu
viewtopic.php?t=5306
burdaki reklam modunu değişmiş sanırım banada şuanki reklam modu lazım
http://www.burhanabi.com/beni-begenmiyo ... vt620.html
örnek bu ilk mesajın içine üst tarafına
burdaki reklam modunu değişmiş sanırım banada şuanki reklam modu lazım
http://www.burhanabi.com/beni-begenmiyo ... vt620.html
örnek bu ilk mesajın içine üst tarafına
Re: [İSTEK]Reklam modu
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>
.
..
...
Re: [İSTEK]Reklam modu
@Mirach hocam bu modun tamamı yok mu yaw bi koyuversen sana zahmet
bu kodları tam olarak nereye ekleyeceğimi falan
bu kodları tam olarak nereye ekleyeceğimi falan
Re: [İSTEK]Reklam modu
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:
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:
google adsense kodlarınıza bakıp , ilgili olan kodları sizin adsense kodlarınız ile değiştiriniz.
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>
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 } ?>
Re: [İSTEK]Reklam modu
tşkler şimdi oldu.
emeğine sağlık
emeğine sağlık
Re: [İSTEK]Reklam modu
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
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 />
</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> <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"> <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> </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"> </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"> </span> {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> </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} {S_SELECT_POST_ORDER} <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> <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"> <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 />
<br />
{S_TOPIC_ADMIN}</td>
<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>
Re: [İSTEK]Reklam modu
edit : sitenizde phpBB Türkiye linklerini göremiyorum ?
Re: [İSTEK]Reklam modu
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?
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?
Re: [İSTEK]Reklam modu
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 ?
Kimler çevrimiçi
Bu forumu görüntüleyen kullanıcılar: Hiç bir kayıtlı kullanıcı yok ve 0 misafir