Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 90 guests, and 201 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
mcasado
mcasado
oregon and belize
Posts: 185
Joined: November 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 27
isaac 21
Ruben 20
Morgan 6
Alento 4
M4TT 2
driv 2
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
Google AdSense Help #216650
08/29/08 02:28 AM
08/29/08 02:28 AM
S
SoundDomain  Offline OP
stranger
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
S
SoundDomain  Offline OP
stranger
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
R
Rick  Offline
Former Developer
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
S
SoundDomain  Offline OP
stranger
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
R
Rick  Offline
Former Developer
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
S
SoundDomain  Offline OP
stranger
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
"UBB 10 years" image/button question
by Morgan. 10/22/18 09:35 AM
image test
by JPG. 10/21/18 10:06 AM
Upgrade from a really really old version
by Alento. 10/18/18 06:16 PM
Subscription Feature
by M4TT. 10/16/18 09:34 PM
PHP 7.2 compatibility
by Pak. 10/16/18 06:00 PM
Forum Statistics
Forums36
Topics35,153
Posts191,544
Members12,110
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2