Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 03 Sep 2004, 16:18
hubba hubba is offline
 
Join Date: Dec 2003
Adding google ADs to archive/index.php

Where do I insert the following in archive/index.php to show google ads there???

<script type="text/javascript"><!--
google_ad_client = "pub-2962788195138392";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_color_border = "993300";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "666666";
google_color_text = "333333";
//--></script>
<script type="text/javascript"
src="http://xxxxxxxxx/show_ads.js">
</script>

or what do I have to modify?

Thx for help...
Reply With Quote
  #2  
Old 07 Sep 2004, 13:07
hubba hubba is offline
 
Join Date: Dec 2003
Uhm, noone an idea?
Reply With Quote
  #3  
Old 07 Sep 2004, 14:03
Johnny's Avatar
Johnny Johnny is offline
 
Join Date: Jun 2002
you will have to look in index.php in your archive folder to add the google code, aparently theirs no vb template in the admin so you will need to work threw ftp to edit the archive design, its pretty simple
Reply With Quote
  #4  
Old 07 Sep 2004, 15:05
hubba hubba is offline
 
Join Date: Dec 2003
Yep, but if I simply add the code to the top of index.php it gives me a "header already sent" error...
Reply With Quote
  #5  
Old 07 Sep 2004, 22:09
Johnny's Avatar
Johnny Johnny is offline
 
Join Date: Jun 2002
look for line 128 should have something like this:
<div class="pagebody">

after that add the google code and it should work
Reply With Quote
  #6  
Old 07 Sep 2004, 22:25
hubba hubba is offline
 
Join Date: Dec 2003
Yes, that was it, many thanks!
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Miscellaneous Hacks Google Adsense Banners (or others) in Your Archive amykhar vBulletin 3.7 Add-ons 55 19 Dec 2013 18:56



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:19.

Layout Options | Width: Wide Color: