FacebookTwitter
Hatrack River Forum   
my profile login | search | faq | forum home

  next oldest topic   next newest topic
» Hatrack River Forum » Active Forums » Books, Films, Food and Culture » Google Ads

   
Author Topic: Google Ads
Rappin' Ronnie Reagan
Member
Member # 5626

 - posted      Profile for Rappin' Ronnie Reagan   Email Rappin' Ronnie Reagan         Edit/Delete Post 
Does anyone know how I put the code on my forum to make the ads appear like they do here?
Posts: 1658 | Registered: Sep 2003  |  IP: Logged | Report this post to a Moderator
Insanity Plea
Member
Member # 2053

 - posted      Profile for Insanity Plea   Email Insanity Plea         Edit/Delete Post 
I guess you didn't see me link it in the chat:
https://www.google.com/adsense/?sourceid=aso&subid=us-et-ads

Satyagraha

Posts: 359 | Registered: Jun 2001  |  IP: Logged | Report this post to a Moderator
Rappin' Ronnie Reagan
Member
Member # 5626

 - posted      Profile for Rappin' Ronnie Reagan   Email Rappin' Ronnie Reagan         Edit/Delete Post 
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]

Posts: 1658 | Registered: Sep 2003  |  IP: Logged | Report this post to a Moderator
Insanity Plea
Member
Member # 2053

 - posted      Profile for Insanity Plea   Email Insanity Plea         Edit/Delete Post 
I suppose it's like any other webcode: wherever you want it. :-)
Satyagraha

Posts: 359 | Registered: Jun 2001  |  IP: Logged | Report this post to a Moderator
Rappin' Ronnie Reagan
Member
Member # 5626

 - posted      Profile for Rappin' Ronnie Reagan   Email Rappin' Ronnie Reagan         Edit/Delete Post 
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.
Posts: 1658 | Registered: Sep 2003  |  IP: Logged | Report this post to a Moderator
Annie
Member
Member # 295

 - posted      Profile for Annie   Email Annie         Edit/Delete Post 
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

Posts: 8504 | Registered: Aug 1999  |  IP: Logged | Report this post to a Moderator
Rappin' Ronnie Reagan
Member
Member # 5626

 - posted      Profile for Rappin' Ronnie Reagan   Email Rappin' Ronnie Reagan         Edit/Delete Post 
*giggle* we'll see if I still haven't figured it out by then. [Razz]
Posts: 1658 | Registered: Sep 2003  |  IP: Logged | Report this post to a Moderator
Insanity Plea
Member
Member # 2053

 - posted      Profile for Insanity Plea   Email Insanity Plea         Edit/Delete Post 
post the code for the add here
Satyagraha

Posts: 359 | Registered: Jun 2001  |  IP: Logged | Report this post to a Moderator
Rappin' Ronnie Reagan
Member
Member # 5626

 - posted      Profile for Rappin' Ronnie Reagan   Email Rappin' Ronnie Reagan         Edit/Delete Post 
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>


Posts: 1658 | Registered: Sep 2003  |  IP: Logged | Report this post to a Moderator
Insanity Plea
Member
Member # 2053

 - posted      Profile for Insanity Plea   Email Insanity Plea         Edit/Delete Post 
Throw it in the head area.
Satyagraha

Posts: 359 | Registered: Jun 2001  |  IP: Logged | Report this post to a Moderator
Rappin' Ronnie Reagan
Member
Member # 5626

 - posted      Profile for Rappin' Ronnie Reagan   Email Rappin' Ronnie Reagan         Edit/Delete Post 
What if the page is all php and has no discernible head section?
Posts: 1658 | Registered: Sep 2003  |  IP: Logged | Report this post to a Moderator
Insanity Plea
Member
Member # 2053

 - posted      Profile for Insanity Plea   Email Insanity Plea         Edit/Delete Post 
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
Posts: 359 | Registered: Jun 2001  |  IP: Logged | Report this post to a Moderator
Rappin' Ronnie Reagan
Member
Member # 5626

 - posted      Profile for Rappin' Ronnie Reagan   Email Rappin' Ronnie Reagan         Edit/Delete Post 
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]
Posts: 1658 | Registered: Sep 2003  |  IP: Logged | Report this post to a Moderator
Insanity Plea
Member
Member # 2053

 - posted      Profile for Insanity Plea   Email Insanity Plea         Edit/Delete Post 
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 ]

Posts: 359 | Registered: Jun 2001  |  IP: Logged | Report this post to a Moderator
   

   Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


Contact Us | Hatrack River Home Page

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