سلام عليكم ورحمة الله وبركاته
تفضل أخوى الكود الخاص بوضع اعلانات جوجل داخل المشاركة مثل سوالف سوفت
افتح تمبلت postbit او postbit legacy حسب ماتستخدم
ابحث عن:
كود:
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
استبدله بالاتى:
كود:
<!-- message -->
<if condition="(($post[postcount] % $vboptions[maxposts] == 1))">
<span style="margin: 2px; float: left; width: 301px; height: 251px;">
ADSENSE CODE HERE
</span>
</if>
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
مع مراعاة استبدال ADSENSE CODE HERE بالكود الخاص بالاعلان الاعلان مقاس 300*250 .
--------------------------------------------
بالنسبة للاعلانات بعد اول مشاركة
افتح قالب post او postbit_legacy حسب استخدامك
فى نهاية القالب اضف الكود التالى:
كود:
<if condition="!$GLOBALS['FIRSTPOSTID']">
<br>
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
Sponsored Links
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
<center>
adsense code here
</center>
</td>
</tr>
</table>
</if>
مع استبدال adsense code here بكود الادسنس الخاص بك
لمشاهدة مثال ادخل على رابط الموضوع الاصلي
http://www.swalif.net/softs/swalif58/softs225665/
تفضل أخوى الكود الخاص بوضع اعلانات جوجل داخل المشاركة مثل سوالف سوفت
افتح تمبلت postbit او postbit legacy حسب ماتستخدم
ابحث عن:
كود:
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
استبدله بالاتى:
كود:
<!-- message -->
<if condition="(($post[postcount] % $vboptions[maxposts] == 1))">
<span style="margin: 2px; float: left; width: 301px; height: 251px;">
ADSENSE CODE HERE
</span>
</if>
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
مع مراعاة استبدال ADSENSE CODE HERE بالكود الخاص بالاعلان الاعلان مقاس 300*250 .
--------------------------------------------
بالنسبة للاعلانات بعد اول مشاركة
افتح قالب post او postbit_legacy حسب استخدامك
فى نهاية القالب اضف الكود التالى:
كود:
<if condition="!$GLOBALS['FIRSTPOSTID']">
<br>
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
Sponsored Links
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
<center>
adsense code here
</center>
</td>
</tr>
</table>
</if>
مع استبدال adsense code here بكود الادسنس الخاص بك
لمشاهدة مثال ادخل على رابط الموضوع الاصلي
http://www.swalif.net/softs/swalif58/softs225665/