The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Adsense after first post in postbit_legacy Details »» | |||||||||||||||||||||||||||
Adsense after first post in postbit_legacy
Developer Last Online: Jul 2013
this is how it going to look like:
if you want to have the same thing: add this code at the end of your "postbit_legacy" template Code:
<!-- Start Google Ads --> <if condition="$show['registerbutton']"> <if condition="!$GLOBALS['FIRSTPOSTID']"> <div style="padding-top: 6px;"></div> <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 valign="top"> <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px"> <div id="postmenu_$post[postid]" align="center"> <a class="bigusername" href="#">inHandy.com</a> </div> </td> <td class="alt1" id="td_post_$post[postid]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-left: 0px"> <if condition="$show['messageicon'] OR $post['title']"> <div class="smallfont"> <if condition="$post['title']"><strong>Sponsored links</strong></if> </div> <hr size="1" style="border-top: 1px #ff6e45 dotted"; /> </if> <!-- message --> <div id="post_message_$post[postid]"> <table> <tr align=center> <td align=center> <script type="text/javascript"><!-- google_ad_client = "pub-XXXXXXXXXXXXXXXX"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_ad_type = "text_image"; google_ad_channel = ""; google_color_border = "336699"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_text = "000000"; google_color_url = "008000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td> <td align=center> <script type="text/javascript"><!-- google_ad_client = "pub-XXXXXXXXXXXXXXXX"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_ad_type = "text_image"; google_ad_channel = ""; google_color_border = "336699"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_text = "000000"; google_color_url = "008000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td> </tr> </table> </div> <!-- / message --> <!-- sig --> <div> __________________<br /> This is a revenue sharing forum.<br /> Please <a href="login.php"><strong>log-in</strong></a> or <a href="register.php"><strong>register</strong></a> now to hide these posts. </div> <br /> <!-- / sig --> </td> </tr> </table> </if> </if> <!-- End Google Ads --> Code:
<!-- Start Google Ads --> <if condition="!$GLOBALS['FIRSTPOSTID']"> <div style="padding-top: 6px;"></div> <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 valign="top"> <td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px"> <div id="postmenu_$post[postid]" align="center"> <a class="bigusername" href="#">inHandy.com</a> </div> </td> <td class="alt1" id="td_post_$post[postid]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-left: 0px"> <if condition="$show['messageicon'] OR $post['title']"> <div class="smallfont"> <if condition="$post['title']"><strong>Sponsored links</strong></if> </div> <hr size="1" style="border-top: 1px #ff6e45 dotted"; /> </if> <!-- message --> <div id="post_message_$post[postid]"> <table> <tr align=center> <td align=center> <script type="text/javascript"><!-- google_ad_client = "pub-XXXXXXXXXXXXXXXX"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_ad_type = "text_image"; google_ad_channel = ""; google_color_border = "336699"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_text = "000000"; google_color_url = "008000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td> <td align=center> <script type="text/javascript"><!-- google_ad_client = "pub-XXXXXXXXXXXXXXXX"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_ad_type = "text_image"; google_ad_channel = ""; google_color_border = "336699"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_text = "000000"; google_color_url = "008000"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td> </tr> </table> </div> <!-- / message --> </td> </tr> </table> </if> <!-- End Google Ads --> Remember to replace pub-XXXXXXXXXXXXXXXX with your id # Show Your Support
|
Comments |
#2
|
|||
|
|||
Is it allowed to do ? according to google TOS
|
#3
|
||||
|
||||
Selene,
READ Googles TOS! He just released this, so he is either assuming it does, or he doesn't care and posted it anyways. Its YOUR responsibility to know what you can and cant add on your site in reference to google. Someone telling you the wrong thing can kill your account. Do the research. |
#4
|
|||
|
|||
Rich, ok thanks for ur reply. So can u kindly read it and let me know :lol:
|
#5
|
||||
|
||||
thanks. installed...
|
#6
|
|||
|
|||
cool thank u
|
#7
|
||||
|
||||
Quote:
|
#8
|
|||
|
|||
Thanks
|
#9
|
|||
|
|||
It is possible to set this by usergroup ?
|
#10
|
||||
|
||||
Already been released about a week ago https://vborg.vbsupport.ru/showthread.php?t=129449
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|