The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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... |
#2
|
|||
|
|||
Uhm, noone an idea?
|
#3
|
||||
|
||||
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
|
#4
|
|||
|
|||
Yep, but if I simply add the code to the top of index.php it gives me a "header already sent" error...
|
#5
|
||||
|
||||
look for line 128 should have something like this:
<div class="pagebody"> after that add the google code and it should work |
#6
|
|||
|
|||
Yes, that was it, many thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|