vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Adding google ADs to archive/index.php (https://vborg.vbsupport.ru/showthread.php?t=69041)

hubba 09-03-2004 02:18 PM

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...

hubba 09-07-2004 11:07 AM

Uhm, noone an idea?

Johnny 09-07-2004 12:03 PM

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

hubba 09-07-2004 01:05 PM

Yep, but if I simply add the code to the top of index.php it gives me a "header already sent" error...

Johnny 09-07-2004 08:09 PM

look for line 128 should have something like this:
<div class="pagebody">

after that add the google code and it should work

hubba 09-07-2004 08:25 PM

Yes, that was it, many thanks!


All times are GMT. The time now is 03:19 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00946 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete