منتديات كيو ون q8-one

منتديات كيو ون q8-one (http://q8-one.com/vb/index.php)
-   منتدي تطوير المواقع والمنتديات (http://q8-one.com/vb/forumdisplay.php?f=11)
-   -   إظهار إعلان جوجل ادسنس كقسم في المنتدى (http://q8-one.com/vb/showthread.php?t=13334)

admin 10-06-2009 10:13 AM

إظهار إعلان جوجل ادسنس كقسم في المنتدى
 
[ شرح + كود ] إظهار إعلان جوجل ادسنس كقسم في المنتدى ! ( حصرياً لمطور )

هل ترغب بإظهار اعلانات جوجل ادسنس كقسم في المنتدى ؟؟
تابع هذا الشرح لتتمكن من وضعها في المنتدى .!

مثال :
http://www.mtwer.com/files/2726.gifhttp://i.ixnp.com/images/v6.10/t.gif
باب الحارةhttp://i.ixnp.com/images/v6.10/t.gif

يمكنك من خلال الكود والشرح التالي إظهار إعلانات جوجل ادسنس كقسم من أقسام المنتدى في الصفحة الرئيسية للمنتدى ..

في أسفل تمبلت :
كود PHP:
forumhome_forumbit_level2_post

أضف :
كود:

  <if condition="$forumid == 2">
<tr align="center">
    <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_link.gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
    <td class="alt1Active" align="$stylevar
" id="f$forum[forumid]">
        <div>
<script type="text/javascript"><!--
google_ad_client = "pub-1447043386355513";
/* نصى بنرى كبير */
google_ad_slot = "9608556083";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
        </div>
    </td>
    <td class="alt2">Sponsored Links</td>
    <td class="alt1">-</td>
    <td class="alt2">-</td>
</tr>
    </if>

استبدل الرقم 2 برقم القسم الذي ترغب بأن يكون اعلانات جوجل ادسنس اسفله ..

==============================

شرح تغيير كود الإعلانات الخاص بحسابك في جوجل ادسنس :


استبدل هذا الكود الخاص بإعلانات جوجل ادسنس بكود خاص بإعلانات ادسنس مرتبط بحسابك ..


كود:

<script type="text/javascript"><!--
google_ad_client = "pub-1447043386355513";
/* نصى بنرى كبير */
google_ad_slot = "9608556083";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>



الساعة الآن 03:43 PM

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. TranZ By Almuhajir