Icy Phoenix
Old Support Topics - I Can't See Google Adsense
SiuL [ Wed 16 May, 2007 23:07 ]
Post subject: I Can't See Google Adsense
I got a google adsense code and I put this code in a new block and This was correct.
But when I put the code in ACP>Config>Banners I dont see the google adsense, the code isn't visible.
I tried paste the code in the correct block and I see it.
I want to see the ads in the first topic.
Also I tried paste the code in others publicity blocks but..
My english sucks! Im sry!.
Thanks a lot!.
Zuker [ Thu 17 May, 2007 00:31 ]
Post subject: Re: I Can't See Google Adsense
If you got other adsense ads on yout page sometimes google blocks the code, forcing to be shown only once at the time on a page
Round11 [ Mon 21 May, 2007 02:10 ]
Post subject: Re: I Can't See Google Adsense
I have the same problem here. I can't view the Google Adsense coding in the forums, but I can see it if I have an HTML block on the portal page. Not sure why.
Vortex [ Mon 21 May, 2007 08:27 ]
Post subject: Re: I Can't See Google Adsense
Check again from ACP if you have also ACTIVATED the banner in viewtopic (it is not enough to paste the code in the block

)
Then check if you have to many banners in other parts of the page.
Round11 [ Mon 21 May, 2007 14:17 ]
Post subject: Re: I Can't See Google Adsense
I only had the one banner, and yes, it was set to YES. But, still doesn't work there. I'm not sure why.
Vortex [ Mon 21 May, 2007 15:59 ]
Post subject: Re: I Can't See Google Adsense
Doesn't the "sponsor"'s post show, or it shows but empty?
Round11 [ Mon 21 May, 2007 17:02 ]
Post subject: Re: I Can't See Google Adsense
The sponsor post shows, just doesn't show the ad within the post. It's just blank.
Vortex [ Mon 21 May, 2007 17:30 ]
Post subject: Re: I Can't See Google Adsense
The sponsor post shows, just doesn't show the ad within the post. It's just blank.
Uhm... Are you sure you don't have any adblocker or scriptblocker running?
Round11 [ Mon 21 May, 2007 17:51 ]
Post subject: Re: I Can't See Google Adsense
Nope, tried it on my home computer, and my work machine, both doing the same thing. The ad works if I put it on a block on the portal, but not in the forum. I am using the same exact Google Adsense code for both.

Zuker [ Mon 21 May, 2007 18:42 ]
Post subject: Re: I Can't See Google Adsense
U can't show the same code on the same page twice. Google blocks it
Round11 [ Mon 21 May, 2007 18:50 ]
Post subject: Re: I Can't See Google Adsense
What I meant, is that if I put a block, on the portal page, the code works fine. But, if I delete that block, then put the code active in the forum, it doesn't display. Even if it's the only ad on the entire site.
Round11 [ Mon 21 May, 2007 18:55 ]
Post subject: Re: I Can't See Google Adsense
I only activated the option for "Viewtopic Banner Code". The option is set to YES. Here's the code I used for the Google Adsense:
- <script type="text/javascript"><!--
- google_ad_client = "pub-*************";
- google_ad_width = 728;
- google_ad_height = 90;
- google_ad_format = "728x90_as";
- google_ad_type = "text";
- google_ad_channel = "";
- google_color_border = "FFFFFF";
- google_color_bg = "FFFFFF";
- google_color_link = ["469A40","026CB1"];
- google_color_text = "000000";
- google_color_url = ["469A40","026CB1"];
- //-->
- </script>
- <script type="text/javascript"
- src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
- </script>
If you go to my site (guilinux.net) and look at the forum, and view the source, you can even see the adsense code within the source of the page. Still not working right though.
Vortex [ Mon 21 May, 2007 19:14 ]
Post subject: Re: I Can't See Google Adsense
I only activated the option for "Viewtopic Banner Code". The option is set to YES. Here's the code I used for the Google Adsense:
- <script type="text/javascript"><!--
- google_ad_client = "pub-*************";
- google_ad_width = 728;
- google_ad_height = 90;
- google_ad_format = "728x90_as";
- google_ad_type = "text";
- google_ad_channel = "";
- google_color_border = "FFFFFF";
- google_color_bg = "FFFFFF";
- google_color_link = ["469A40","026CB1"];
- google_color_text = "000000";
- google_color_url = ["469A40","026CB1"];
- //-->
- </script>
- <script type="text/javascript"
- src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
- </script>
If you go to my site (guilinux.net) and look at the forum, and view the source, you can even see the adsense code within the source of the page. Still not working right though.
Quite useless to to censor the publisher code... if you ask us to see your page's code
Anyway, I'm joking
If I take a look to source of your page after having loaded it, I got this code, instead:
<script type="text/javascript"><!--
google_ad_client = "pub-*****";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = ["469A40","026CB1"];
google_color_text = "000000";
google_color_url = ["469A40","026CB1"];
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
As you can see, there is a
in front of every
"
That is why your banner doesn't show. The matter now is to discover where do those slashes come from

Round11 [ Mon 21 May, 2007 19:32 ]
Post subject: Re: I Can't See Google Adsense
Exactly. I see that as well. It doesn't appear to happen here on icyphoenix.com though....if you have any ideas, let me know

Round11 [ Mon 21 May, 2007 20:03 ]
Post subject: Re: I Can't See Google Adsense
It's definitely something to do with the " character. It shows the after every ". Seems like a PHP thing. I tried general html, ya know, simple <br>'s, and it shows up fine. The minute a " is there, that's when everything screws up.

Round11 [ Thu 24 May, 2007 02:07 ]
Post subject: Re: I Can't See Google Adsense
Anyone know what might be causing this? I'm thinking about just backing up the db, and doing a clean install...should I try that?
Vortex [ Thu 24 May, 2007 08:32 ]
Post subject: Re: I Can't See Google Adsense
It's definitely something to do with the " character. It shows the after every ". Seems like a PHP thing. I tried general html, ya know, simple <br>'s, and it shows up fine. The minute a " is there, that's when everything screws up.

I have a problem like yours.
Can you please try to put a " character (what's the english for that damn thing?

) and then try to change the style of your site and see if you got a CTracker error?
Round11 [ Thu 24 May, 2007 14:04 ]
Post subject: Re: I Can't See Google Adsense
Where do you want me to put the "? BTW, it's called a quote

Vortex [ Thu 24 May, 2007 14:21 ]
Post subject: Re: I Can't See Google Adsense
Where do you want me to put the "? BTW, it's called a quote

Quote!
Well, I got error wherever I put... in the header and banners page. In any of the text field it doesn't matter, I got always error.
(I think is something related to the config table)
jz [ Fri 25 May, 2007 19:04 ]
Post subject: Re: I Can't See Google Adsense
Same problem here
After updating from XS to Icy,,, I think mighty can solve this issue

hpl [ Fri 25 May, 2007 19:21 ]
Post subject: Re: I Can't See Google Adsense
I've same problem...but on this site work so fine...
I haven't any idea...

jz [ Sat 26 May, 2007 00:10 ]
Post subject: Re: I Can't See Google Adsense
I have hard coded the script in view_topic.tpl as temp solution...
until mighty can come up with a real one

Mighty Gorgon [ Sat 26 May, 2007 04:01 ]
Post subject: Re: I Can't See Google Adsense
I can try to escape quotes... in the meantime can you try to remove CTracker CONFIG check and try again?

jz [ Sat 26 May, 2007 10:27 ]
Post subject: Re: I Can't See Google Adsense
Still not working,...
SiuL [ Sun 27 May, 2007 17:11 ]
Post subject: Re: I Can't See Google Adsense
Is it a bug?
Round11 [ Sun 27 May, 2007 19:06 ]
Post subject: Re: I Can't See Google Adsense
Looks like it is if all these people are having the same problem. Hopefully it'll be resolved soon.
sharknos [ Mon 11 Jun, 2007 16:27 ]
Post subject: Re: I Can't See Google Adsense
i got today the same problem... but i found it at least!
ACP > Configuration > Site
Active the option for raffigure HTML on your site! and then go header&Banner and insert:
<html><center>YOURGOOGLECODE</center></html>
greets!
Vortex [ Mon 11 Jun, 2007 17:56 ]
Post subject: Re: I Can't See Google Adsense
i got today the same problem... but i found it at least!
ACP > Configuration > Site
Active the option for raffigure HTML on your site! and then go header&Banner and insert:
<html><center>YOURGOOGLECODE</center></html>
greets!
In my opinion this is a quite bad workaround... it is not a good thing to allow html in the whole site. Maybe this thing should be fixed...
isb1009 [ Fri 15 Jun, 2007 12:32 ]
Post subject: Re: I Can't See Google Adsense
I've also got the same problem, and the solution from sharknos doesn't work in my forum. The only thing I know that works is write the code BUT without the colour information (you can see it working on
http://astronomipedia.quae.net/test/foro/index.php).
But I don't understand how can the official Icy Phoenix forum show the banners correctly. It's really strange. And MG says to deactivate CTracker, but people say it doesn't work. It's really, really strange.
What do you do to show it?
Zuker [ Sat 16 Jun, 2007 17:00 ]
Post subject: Re: I Can't See Google Adsense
Please try to replace this file and let me know
it goes inside adm folder
isb1009 [ Sat 16 Jun, 2007 20:12 ]
Post subject: Re: I Can't See Google Adsense
Thanks Zuker!
It's working now, I really thank you again. I've downloaded it from phpBB-es and it works!, so the file in here must work too.
Thanks,
Zuker [ Sat 16 Jun, 2007 21:10 ]
Post subject: Re: I Can't See Google Adsense
m740 [ Sat 16 Jun, 2007 21:32 ]
Post subject: Re: I Can't See Google Adsense
dxlwebs [ Wed 29 Aug, 2007 14:14 ]
Post subject: Re: I Can't See Google Adsense
Thats Great thnx it works perfectly i replaced that file with yours and BAM it works thanks alot man you rock