How to put Adsense in the post?

Midtown

New Member
Hi Everyone,
I want to know that how to put google ads in this place

8x2zv7.jpg


Is it a Mod or something else ?
 
This code is for a banner but its a nobrainer to make it any size you want:


Open your postbit(legacy) template: vBulletin AdminCP > Styles & Templates > Edit Templates > Postbit Templates > postbit(legacy)

(First post and last shown post)

Find:

HTML:
    <!-- / message -->

Add below:

HTML:
    <if condition="(($post[postcount]==1) or ($post[islastshown] and !$GLOBALS['vbulletin']->GPC['ajax']))">
    <center>
    <script type="text/javascript"><!--
    google_ad_client = "youradsensecode";
    google_alternate_ad_url = "http://www.yourwebsite.com/collapsible_ad.html";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_type = "text_image";
    google_ad_channel ="yourchannelcode";
    google_color_border = "F5F5FF";
    google_color_bg = "F5F5FF";
    google_color_link = "FF0000";
    google_color_url = "000000";
    google_color_text = "22229C";
    //--></script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </center>
    </if>
 
Back
Top