The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to display AdSense ads inside threads
Hello
How can I display AdSense ads inside the first post in each thread? Thanks |
#2
|
||||
|
||||
use this code
Code:
<!-- Start Sponsors --> <if condition="(THIS_SCRIPT!='private') && (((($post[postcount]-1)%10 == 0)|(($post[postcount]-5)%10 == 0)))"> <div style="padding:6px 0px 0px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis] width="100%"> Sponsored Ads</td></tr> <tr> <td class="alt1" align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-8667005809445729"; /* 468x60, created 5/9/09 */ google_ad_slot = "4905868335"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td> </tr> </table> </div> </if> <!-- End Sponsers --> |
#3
|
|||
|
|||
Thanks for your reply.
Where should I place that code? P.S I'm using vB 3.8. |
#4
|
||||
|
||||
if you want script from google like under this :
PHP Code:
|
#5
|
|||
|
|||
Quote:
But I don't know where to place it to be displayed within posts. |
#6
|
|||
|
|||
Please help.
Where should I place that code above? |
#7
|
|||
|
|||
This is product: (Use this is better..)
https://vborg.vbsupport.ru/showthrea...dsense+Postbit And this is template modification: https://vborg.vbsupport.ru/showthread.php?t=172170 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|