Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Google AdSense in PHP Fusion

Asked Modified Viewed 12,018 times
I
IoneT
I
IoneT 10
  • Member, joined since
  • Contributed 55 posts on the community forums.
  • Started 26 threads in the forums
  • Started this discussions
asked
Member

how can i insert Google AdSense in a panel ?
0 replies

29 posts

S
Super
S
Super 10
~Samchammy

Find some games below!!!
Gamedna.tk
  • Senior Member, joined since
  • Contributed 248 posts on the community forums.
  • Started 32 threads in the forums
answered
Senior Member

Quote

jak17 wrote:

Quote

jak17 wrote:
Super messed my code up :|

thats not what i had in mind
you DO NOT put this in "<?php" :o

THIS is what I meant, and it WORKS:

openside("Google Ads");
echo "<script type=\"text/javascript\"><!--\n";
echo "google_ad_client = \"pub-5103975367960609\";\n";
echo "/* 120x240, created 5/18/08 */\n";
echo "google_ad_slot = \"8184319823\";\n";
echo "google_ad_width = 120;\n";
echo "google_ad_height = 240;\n";
echo "//-->\n";
echo "</script>\n";
echo "<script type=\"text/javascript\"\n";
echo "src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">\n";
echo "</script>\n";
closeside();




why on earth would you put echo before the openside?:D


I went to yellowpipe and pasted your HTML, so if it is wrong it is your code. I did what you said.
0 replies
J
jak17
J
jak17 10
  • Member, joined since
  • Contributed 155 posts on the community forums.
  • Started 46 threads in the forums
answered
Member

actually no you didnt. isaid to put the google ads code into yellowpipe, NOT the openside closeside part automatically in php-fusion. but whatever it doesnt matter ;)
0 replies
S
Smith
S
Smith 10
Regards,
Smith
smile
  • Member, joined since
  • Contributed 152 posts on the community forums.
  • Started 2 threads in the forums
answered
Member

Problem solved, Super. You'll get em next time.
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

So everyone happy?

Or do I need to spell the code out for you? B)
0 replies
I
IoneT
I
IoneT 10
  • Member, joined since
  • Contributed 55 posts on the community forums.
  • Started 26 threads in the forums
  • Started this discussions
answered
Member

Everyone happy ;)
0 replies
L
lelebart
L
I don't know! I don't know why I did it, I don't know why I enjoyed it, and I don't know why I'll do it again! Bart Simpson
  • Member, joined since
  • Contributed 133 posts on the community forums.
  • Started 21 threads in the forums
answered
Member

i'm using the EOD method; on your example:
openside("Google Ads");
$google_adv = <<EOD
<script type="text/javascript">
<!--
google_ad_client = "pub-5103975367960609";
/* 120x240, created 5/18/08 */
google_ad_slot = "8184319823";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
EOD;
echo $google_adv."\n";
closeside();

everyone happy!
0 replies
I
IoneT
I
IoneT 10
  • Member, joined since
  • Contributed 55 posts on the community forums.
  • Started 26 threads in the forums
  • Started this discussions
answered
Member

:)) ya sure lelebart with your client code
0 replies
L
lelebart
L
I don't know! I don't know why I did it, I don't know why I enjoyed it, and I don't know why I'll do it again! Bart Simpson
  • Member, joined since
  • Contributed 133 posts on the community forums.
  • Started 21 threads in the forums
answered
Member

yep! it was just an example
0 replies
L
liamb2001
L
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
answered
Newbie

how do you put adsense code into the welcome message ?

pppppleease ??
0 replies
T
The Sun
T
Everything revolves around The Sun!
  • Member, joined since
  • Contributed 55 posts on the community forums.
  • Started 10 threads in the forums
answered
Member

Since you can simply add html to welcome, add your adsense code straight into it.
0 replies

Category Forum

General Discussion

Labels

None yet

Statistics

  • Views 0 views
  • Posts 29 posts
  • Votes 0 votes
  • Topic users 10 members

10 participants

H
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
I
I
IoneT 10
  • Member, joined since
  • Contributed 55 posts on the community forums.
  • Started 26 threads in the forums
  • Started this discussions
A
A
  • Junior Member, joined since
  • Contributed 47 posts on the community forums.
  • Started 6 threads in the forums
L
L
I don't know! I don't know why I did it, I don't know why I enjoyed it, and I don't know why I'll do it again! Bart Simpson
  • Member, joined since
  • Contributed 133 posts on the community forums.
  • Started 21 threads in the forums
E
E
Elactos 10
Infusions & modifications for PHP-Fusion v7
http://www.redward.org
  • Member, joined since
  • Contributed 138 posts on the community forums.
  • Started 5 threads in the forums
S
S
Smith 10
Regards,
Smith
smile
  • Member, joined since
  • Contributed 152 posts on the community forums.
  • Started 2 threads in the forums
S
S
Super 10
~Samchammy

Find some games below!!!
Gamedna.tk
  • Senior Member, joined since
  • Contributed 248 posts on the community forums.
  • Started 32 threads in the forums
T
T
Everything revolves around The Sun!
  • Member, joined since
  • Contributed 55 posts on the community forums.
  • Started 10 threads in the forums
J
J
jak17 10
  • Member, joined since
  • Contributed 155 posts on the community forums.
  • Started 46 threads in the forums
L
L
  • Newbie, joined since
  • Contributed 2 posts on the community forums.

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet