This is topic Google Ads in forum Books, Films, Food and Culture at Hatrack River Forum.


To visit this topic, use this URL:
http://www.hatrack.com/ubb/main/ultimatebb.php?ubb=get_topic;f=2;t=025679

Posted by Rappin' Ronnie Reagan (Member # 5626) on :
 
Does anyone know how I put the code on my forum to make the ads appear like they do here?
 
Posted by Insanity Plea (Member # 2053) on :
 
I guess you didn't see me link it in the chat:
https://www.google.com/adsense/?sourceid=aso&subid=us-et-ads

Satyagraha
 
Posted by Rappin' Ronnie Reagan (Member # 5626) on :
 
I did! I already have the account set up and everything. I just can't figure out where to put the bloody code to make it work.

[Smile]
 
Posted by Insanity Plea (Member # 2053) on :
 
I suppose it's like any other webcode: wherever you want it. :-)
Satyagraha
 
Posted by Rappin' Ronnie Reagan (Member # 5626) on :
 
I tried putting it on the index page at the end right before the ?> but that completely screwed it up. So, then I put it after the ?> and the page was normal and the ad didn't show up. *shrug* Perhaps I should learn php.
 
Posted by Annie (Member # 295) on :
 
Or you can hire me to do it and in a couple months I can get it done.*

*after appealing to you and Fugu for help three or four times
 
Posted by Rappin' Ronnie Reagan (Member # 5626) on :
 
*giggle* we'll see if I still haven't figured it out by then. [Razz]
 
Posted by Insanity Plea (Member # 2053) on :
 
post the code for the add here
Satyagraha
 
Posted by Rappin' Ronnie Reagan (Member # 5626) on :
 
code:
 <script type="text/javascript"><!--
google_ad_client = "pub-1709399146450604";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_channel ="";
google_color_border = "DDB7BA";
google_color_bg = "FFF5F6";
google_color_link = "0000CC";
google_color_url = "008000";
google_color_text = "6F6F6F";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


 
Posted by Insanity Plea (Member # 2053) on :
 
Throw it in the head area.
Satyagraha
 
Posted by Rappin' Ronnie Reagan (Member # 5626) on :
 
What if the page is all php and has no discernible head section?
 
Posted by Insanity Plea (Member # 2053) on :
 
create one, like this:
code:
<html>
<head>
<script type="text/javascript"><!--
google_ad_client = "pub-1709399146450604";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_channel ="";
google_color_border = "DDB7BA";
google_color_bg = "FFF5F6";
google_color_link = "0000CC";
google_color_url = "008000";
google_color_text = "6F6F6F";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</head>
<body>
<? php stuff here ?>
</body>
</html>

Satyagraha
 
Posted by Rappin' Ronnie Reagan (Member # 5626) on :
 
O_O I did that and then it said this:
quote:
Warning: Cannot modify header information - headers already sent by (output started at /homepages/39/d90657023/htdocs/phpBB2/index.php:3) in /homepages/39/d90657023/htdocs/phpBB2/includes/sessions.php on line 293

Warning: Cannot modify header information - headers already sent by (output started at /homepages/39/d90657023/htdocs/phpBB2/index.php:3) in /homepages/39/d90657023/htdocs/phpBB2/includes/sessions.php on line 294

Warning: Cannot modify header information - headers already sent by (output started at /homepages/39/d90657023/htdocs/phpBB2/index.php:3) in /homepages/39/d90657023/htdocs/phpBB2/includes/page_header.php on line 474

Warning: Cannot modify header information - headers already sent by (output started at /homepages/39/d90657023/htdocs/phpBB2/index.php:3) in /homepages/39/d90657023/htdocs/phpBB2/includes/page_header.php on line 476

Warning: Cannot modify header information - headers already sent by (output started at /homepages/39/d90657023/htdocs/phpBB2/index.php:3) in /homepages/39/d90657023/htdocs/phpBB2/includes/page_header.php on line 477

Thanks for all your help so far, Bernard. [Smile]
 
Posted by Insanity Plea (Member # 2053) on :
 
Where are you putting it? It should be in the index.php file.

oh!
there should be a header.php or somesuch file somewhere in there, put it at the top of that.

(edit: going to bed, if you don't get it hopefully fugu will be more helpful than i, or else i'll look at it tomorrow)
Satyagraha

[ July 04, 2004, 12:58 AM: Message edited by: Insanity Plea ]
 


Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2