Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 80 guests, and 210 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Gizmo
Gizmo
Portland, OR; USA
Posts: 16,942
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 12
Ruben 5
M4TT 4
Morgan 3
isaac 2
Latest Photos
Previous Thread
Next Thread
Print Thread
Google AdSense Help #216650
08/29/08 02:28 AM
08/29/08 02:28 AM
Joined: Aug 2008
Posts: 4
S
SoundDomain Offline OP
stranger
SoundDomain  Offline OP
stranger
S
Joined: Aug 2008
Posts: 4
Hey-- I'm new to this stuff, and I need to insert a custom island to my forums with Google AdSense. I've created a Custom Island (I used Island 3), changed the title to "Site Sponsor", and inserted this text into the box:


/* BODY HERE */

$body = <<<EOF

<script type="text/javascript"><!--
google_ad_client = "pub-0599284166073617";
/* Forum Right */
google_ad_slot = "5971298024";
google_ad_width = 125;
google_ad_height = 125;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

EOF;


The ads aren't appearing, and the island title still says "Portal Box 3"

What am I doing wrong? Should there be some php code in there? Truthfully, I"m not even sure what it would be. I'm a total noob.

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Google AdSense Help [Re: SoundDomain] #216651
08/29/08 02:37 AM
08/29/08 02:37 AM
Joined: Aug 2008
Posts: 4
S
SoundDomain Offline OP
stranger
SoundDomain  Offline OP
stranger
S
Joined: Aug 2008
Posts: 4
Also, why do I get "Error reading RSS data." when i tell it to update the Custom Island?

Huge thanks for any help!

Re: Google AdSense Help [Re: SoundDomain] #216654
08/29/08 11:13 AM
08/29/08 11:13 AM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
Hmm, the main thing is to make sure there are no spaces after the <<<EOF and EOF; lines. I'd check on that first.

As for the Error you are getting. This sounds like maybe one of your other custom islands. Do you have another one that has anything to do with RSS stuff?

Re: Google AdSense Help [Re: Rick] #216661
08/29/08 06:18 PM
08/29/08 06:18 PM
Joined: Aug 2008
Posts: 4
S
SoundDomain Offline OP
stranger
SoundDomain  Offline OP
stranger
S
Joined: Aug 2008
Posts: 4
nope, no spaces. I get that error anytime I try to update the Island after inserting the above code. Do I need to have some sort of PHP code?

Re: Google AdSense Help [Re: SoundDomain] #216670
08/30/08 05:23 PM
08/30/08 05:23 PM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
Well, it could all be related to this error: Error reading RSS data. That's not part of the default code, so I'm assuming that's coming from one of your other portal boxes. I'd try and get that one resolved first.

For the adsense one you don't need any php code, just what you posted.

Re: Google AdSense Help [Re: Rick] #216716
09/02/08 03:02 AM
09/02/08 03:02 AM
Joined: Aug 2008
Posts: 4
S
SoundDomain Offline OP
stranger
SoundDomain  Offline OP
stranger
S
Joined: Aug 2008
Posts: 4
I found out what RSS feed was causing the issues and I killed it. Thanks for your help everybody!



Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Member being directed to "stopforumspam?"
by Lisanne. 07/14/18 10:27 AM
7.6.1.1 - Broken ReCaptcha (Not A Bug)
by M4TT. 07/01/18 06:02 PM
Control Panel / Transactions Username
by Morgan. 06/20/18 05:38 AM
Custom Insert won't save
by Baldeagle. 06/18/18 07:44 PM
random 500 server errors on post
by Bad Frog. 05/31/18 09:34 AM
Forum Statistics
Forums36
Topics35,125
Posts191,356
Members12,091
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2
(Preview build 20180524)