URGENT: USING ADSENSE

Did I get your attention?

This is driving me absolutely nuts:

When I add a page block intended for adsense and insert my adsense code in the HTML source editor it changes!  Please look below:

This is what I paste:

<script type="text/javascript"><!--

google_ad_client = "pub-4361078016578976";

/* 468x60, created 9/24/10 */

google_ad_slot = "3475101817";

google_ad_width = 468;

google_ad_height = 60;

//-->

</script>

<script type="text/javascript"

src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>

This is what shows up after I save:

<script type="text/javascript">// <![CDATA[
google_ad_client = "pub-4361078016578976";
/* 468x60, created 9/24/10 */
google_ad_slot = "3475101817";
google_ad_width = 468;
google_ad_height = 60;
// ]]></script>
<script type="text/javascript">
</script>
Then the adsense ad doesn't show up.  Why is it dong this?
No Signature at this time.
Quote · 24 Sep 2010

Look here:

http://www.boonex.com/unity/forums/?action=goto&topic_id=Page-Builder-Big-Bug

The current HtML editor blocks Javascript code.

 

BTW, might what to copy/paste that in your browser address bar. Clicking the link doesnt work in this forum.

Nothing to see here
Quote · 24 Sep 2010

Quite anoying isn't it.

It's the filtering or the tinymce editor or something. You have several options.

1) Somewhere in the forums i posted a change to the html block to eliminate the tinymce editor. But i don't remember the link and am having problems finding it.

2) My block tools mod is able to insert html blocks without modifying the code.

3) My Deanos tools mod can be used to insert the code via a PHP block. For example

$sCode = '
Your google code here.
';
echo $sCode


Those are the current options to get around the problem.

https://www.deanbassett.com
Quote · 24 Sep 2010

Ah. Zarcon found the forum post i mentioned as option #1.

https://www.deanbassett.com
Quote · 24 Sep 2010

Thanks Zarcon.  I will definitely try the fix suggested by deano92964...and of course thanks deano92964!

No Signature at this time.
Quote · 24 Sep 2010

Cool!  It's like going back in time.  I just tried it out on my test site and it worked great.

I'm guessing that I could just make the change, then add all my adsense blocks, and then change back the code.

This should be fine, eh?

Thanks!!!

No Signature at this time.
Quote · 24 Sep 2010

I never checked, but I would assume adding the code directly to the database would also work, wouldn't it?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Sep 2010

Yes, you can add directly to the database, but you would need to make sure all double and single quotes and perhaps some other characters are escaped. Mostly single quotes are the big problems.


https://www.deanbassett.com
Quote · 24 Sep 2010

Deano, why don't you suggest  to use your free php block mod??

One easy way to add adsense to your sites is by installing Deano's free PHP block mod i.e. LINK

Then just insert the adsense code into the php block...

Facebook, Twitter &amp; Instagram Combo - http://bit.ly/1h5CarP
Quote · 24 Sep 2010

 

Deano, why don't you suggest  to use your free php block mod??

One easy way to add adsense to your sites is by installing Deano's free PHP block mod i.e. LINK

Then just insert the adsense code into the php block...

Yes, that is also an option. But my Deanos Tools mod(Also Free) Can insert PHP blocks as well. Just happen to forget the other one. I also forgot it can be manually added to the database as well which Mag mentioned.

Perhaps if we put our minds to it, we could think of some more options that have slipped our minds.


https://www.deanbassett.com
Quote · 25 Sep 2010

 

Deano, why don't you suggest  to use your free php block mod??

One easy way to add adsense to your sites is by installing Deano's free PHP block mod i.e. LINK

Then just insert the adsense code into the php block...

Because it is not Free!! It is the best US$15 bucks I ever spent. Indispensable tool. Deano's Tools is Free and an excellent tool for all webmasters!

There are none so blind as those that will not see.
Quote · 25 Sep 2010

No. He is referring to this one. Which is free.

http://www.boonex.com/unity/extensions/entry/Add_PHP_Block_to_Page_Builders_

Adds PHP Block abilities right into the page builders.

https://www.deanbassett.com
Quote · 25 Sep 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.