m0nde
08-08-2005, 12:56 PM
I would like to place my Google Ads the way they are on vbwebmaster.com.
Which templates must I modify and where specifically do I put the Adsense code?
- Sid
Joeychgo
08-08-2005, 03:28 PM
Forumhome
Forumdisplay
Showthread
The top adsense goes after the $navbar -- I add a < /br> before and after the adsense code.
Aeternitas
08-18-2005, 03:48 PM
I'm confused....when I put it in after the "navbar" line, my site says there was a parse error...where exactly do I put the script in...also, I can't find a forumhome.php...just index.php as the closest.
ClubTitan.org
08-18-2005, 06:48 PM
you need to log into your admin control panel for VB. Then edit the templates from there. You will have to do it for every style you have if you want them to show up on each one. That is if you have more than one style.
M4ck
Joeychgo
08-19-2005, 09:55 AM
In showthread template, for example, look for -- $navbar -- then AFTER it, paste your adsense code. If you want the ad centered wrap the adsense code in center tags. For example:
$navbar
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-YourPublisherID";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="4145635865";
google_color_border = "DED9C5";
google_color_bg = "DED9C5";
google_color_link = "CC0033";
google_color_url = "DED9C5";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
bigcurt
08-19-2005, 09:13 PM
I am not 100% sure but to be XHTML transitional I would use <br />...maybe? not sure :p.
~Curt