Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
3 registered (maria, Ruben Rocha, 1 invisible), 23 Guests and 23 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 08/14/07
Posts: 8
Top Posters (30 Days)
Ruben Rocha 177
Gizmo 110
Rick 109
Thelockman 80
driv 46
AllenAyres 35
Ian 29
ntdoc 27
Sirdude 23
ScriptKeeper 21
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#216650 - 08/28/08 11:28 PM Google AdSense Help
SoundDomain Offline
stranger

Registered: 08/20/08
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.

Top
#216651 - 08/28/08 11:37 PM Re: Google AdSense Help [Re: SoundDomain]
SoundDomain Offline
stranger

Registered: 08/20/08
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!

Top
#216654 - 08/29/08 08:13 AM Re: Google AdSense Help [Re: SoundDomain]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: 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?
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#216661 - 08/29/08 03:18 PM Re: Google AdSense Help [Re: Rick]
SoundDomain Offline
stranger

Registered: 08/20/08
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?

Top
#216670 - 08/30/08 02:23 PM Re: Google AdSense Help [Re: SoundDomain]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: 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.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#216716 - 09/02/08 12:02 AM Re: Google AdSense Help [Re: Rick]
SoundDomain Offline
stranger

Registered: 08/20/08
Posts: 4
I found out what RSS feed was causing the issues and I killed it. Thanks for your help everybody!

Top


Moderator:  Gizmo 
Shout Box

Today's Birthdays
brushie, cass, Monte G., twebman, White Gold Wielder
Recent Topics
UBBThreads vs. vBulletin -- Defections & Why So Tough to Compare?
by WebMagic
12/01/08 12:28 PM
Font and column shifts occuring
by Bill B
11/30/08 06:21 PM
changing colors in quoted thread box
by sbserves
11/30/08 07:08 AM
[7.3.1] Image Not Found
by BellaOnline
11/29/08 09:48 PM
Private topic (PM) to a user that doesn't exist...
by bakerzdosen
11/29/08 10:56 AM
Forum Stats
4261 Members
33 Forums
30529 Topics
154943 Posts

Max Online: 978 @ 06/24/07 08:19 PM