<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Create a google AdSense box for your osCommerce store</title>
	<atom:link href="http://multimixer.gr/26/07/2011/create-a-google-adsense-box-for-your-oscommerce-store/feed/" rel="self" type="application/rss+xml" />
	<link>https://multimixer.gr/26/07/2011/create-a-google-adsense-box-for-your-oscommerce-store/</link>
	<description>lets talk about osCommerce</description>
	<lastBuildDate>Tue, 07 Apr 2020 11:18:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: hoffmann</title>
		<link>https://multimixer.gr/26/07/2011/create-a-google-adsense-box-for-your-oscommerce-store/#comment-1289</link>
		<dc:creator>hoffmann</dc:creator>
		<pubDate>Thu, 06 Feb 2014 19:21:36 +0000</pubDate>
		<guid isPermaLink="false">http://multimixer.gr/?p=978#comment-1289</guid>
		<description>Google Adsense code and SSL issues?whats your opinion with that issues?</description>
		<content:encoded><![CDATA[<p>Google Adsense code and SSL issues?whats your opinion with that issues?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hoffmann</title>
		<link>https://multimixer.gr/26/07/2011/create-a-google-adsense-box-for-your-oscommerce-store/#comment-1288</link>
		<dc:creator>hoffmann</dc:creator>
		<pubDate>Thu, 06 Feb 2014 19:18:19 +0000</pubDate>
		<guid isPermaLink="false">http://multimixer.gr/?p=978#comment-1288</guid>
		<description>Hello George
First, I&#039;m sorry if that code makes you dizzy. 
Second, in the view of my websites, adsense code just become blank ads?instruction adsense you make,..now make me dizzy..
thirth</description>
		<content:encoded><![CDATA[<p>Hello George<br />
First, I&#8217;m sorry if that code makes you dizzy.<br />
Second, in the view of my websites, adsense code just become blank ads?instruction adsense you make,..now make me dizzy..<br />
thirth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: multimixer</title>
		<link>https://multimixer.gr/26/07/2011/create-a-google-adsense-box-for-your-oscommerce-store/#comment-1287</link>
		<dc:creator>multimixer</dc:creator>
		<pubDate>Thu, 06 Feb 2014 16:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://multimixer.gr/?p=978#comment-1287</guid>
		<description>Hello Hoffmann

The comments area of the blog is not good for posting any code, it get corrupted

Anyway, first question is: What is not working?</description>
		<content:encoded><![CDATA[<p>Hello Hoffmann</p>
<p>The comments area of the blog is not good for posting any code, it get corrupted</p>
<p>Anyway, first question is: What is not working?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hoffmann</title>
		<link>https://multimixer.gr/26/07/2011/create-a-google-adsense-box-for-your-oscommerce-store/#comment-1286</link>
		<dc:creator>hoffmann</dc:creator>
		<pubDate>Thu, 06 Feb 2014 16:51:11 +0000</pubDate>
		<guid isPermaLink="false">http://multimixer.gr/?p=978#comment-1286</guid>
		<description>Hello George, 
I followed your instructions, but still not working on my website.can you help me, with rechecking my code?

title = MODULE_BOXES_ADSENSE_TITLE;
      $this-&gt;description = MODULE_BOXES_ADSENSE_DESCRIPTION;

      if ( defined(&#039;MODULE_BOXES_ADSENSE_STATUS&#039;) ) {
        $this-&gt;sort_order = MODULE_BOXES_ADSENSE_SORT_ORDER;
        $this-&gt;enabled = (MODULE_BOXES_ADSENSE_STATUS == &#039;True&#039;);

        $this-&gt;group = ((MODULE_BOXES_ADSENSE_CONTENT_PLACEMENT == &#039;Left Column&#039;) ? &#039;boxes_column_left&#039; : &#039;boxes_column_right&#039;);
      }
    }

    function dataF() {
 
  $data = &#039;&#039;;
  $data .= MODULE_BOXES_ADSENSE_CODE;
  $data .=&#039;&#039;;
 
  return $data;
}
 
function execute() {
  global $oscTemplate;
 
  $oscTemplate-&gt;addBlock($this-&gt;dataF(), $this-&gt;group);
	}

    function isEnabled() {
      return $this-&gt;enabled;
    }

    function check() {
      return defined(&#039;MODULE_BOXES_ADSENSE_STATUS&#039;);
    }

    function install() {
      tep_db_query(&quot;insert into &quot; . TABLE_CONFIGURATION . &quot; (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values (&#039;Enable adsense Module&#039;, &#039;MODULE_BOXES_ADSENSE_STATUS&#039;, &#039;True&#039;, &#039;Do you want to add the module to your shop?&#039;, &#039;6&#039;, &#039;1&#039;, &#039;tep_cfg_select_option(array(\&#039;True\&#039;, \&#039;False\&#039;), &#039;, now())&quot;);
      tep_db_query(&quot;insert into &quot; . TABLE_CONFIGURATION . &quot; (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values (&#039;Content Placement&#039;, &#039;MODULE_BOXES_ADSENSE_CONTENT_PLACEMENT&#039;, &#039;Left Column&#039;, &#039;Should the module be loaded in the left or right column?&#039;, &#039;6&#039;, &#039;1&#039;, &#039;tep_cfg_select_option(array(\&#039;Left Column\&#039;, \&#039;Right Column\&#039;), &#039;, now())&quot;);
      tep_db_query(&quot;insert into &quot; . TABLE_CONFIGURATION . &quot; (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values (&#039;Sort Order&#039;, &#039;MODULE_BOXES_ADSENSE_SORT_ORDER&#039;, &#039;0&#039;, &#039;Sort order of display. Lowest is displayed first.&#039;, &#039;6&#039;, &#039;0&#039;, now())&quot;);
	  tep_db_query( &quot;insert into &quot; . TABLE_CONFIGURATION . &quot; (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ( &#039;adSense code&#039;, &#039;MODULE_BOXES_ADSENSE_CODE&#039;, &#039;&#039;, &#039;Paste the adSense code into here&#039;, &#039;6&#039;, &#039;4&#039;, &#039;tep_draw_textarea_field(\&#039;configuration[MODULE_BOXES_ADSENSE_CODE]\&#039;, false, 35, 20, &#039;, now())&quot; );
    }

    function remove() {
      tep_db_query(&quot;delete from &quot; . TABLE_CONFIGURATION . &quot; where configuration_key in (&#039;&quot; . implode(&quot;&#039;, &#039;&quot;, $this-&gt;keys()) . &quot;&#039;)&quot;);
    }

    function keys() {
  return array(&#039;MODULE_BOXES_ADSENSE_STATUS&#039;, &#039;MODULE_BOXES_ADSENSE_CONTENT_PLACEMENT&#039;, &#039;MODULE_BOXES_ADSENSE_SORT_ORDER&#039;, &#039;MODULE_BOXES_ADSENSE_CODE&#039;);
}
  }
?&gt;</description>
		<content:encoded><![CDATA[<p>Hello George,<br />
I followed your instructions, but still not working on my website.can you help me, with rechecking my code?</p>
<p>title = MODULE_BOXES_ADSENSE_TITLE;<br />
      $this-&gt;description = MODULE_BOXES_ADSENSE_DESCRIPTION;</p>
<p>      if ( defined(&#8216;MODULE_BOXES_ADSENSE_STATUS&#8217;) ) {<br />
        $this-&gt;sort_order = MODULE_BOXES_ADSENSE_SORT_ORDER;<br />
        $this-&gt;enabled = (MODULE_BOXES_ADSENSE_STATUS == &#8216;True&#8217;);</p>
<p>        $this-&gt;group = ((MODULE_BOXES_ADSENSE_CONTENT_PLACEMENT == &#8216;Left Column&#8217;) ? &#8216;boxes_column_left&#8217; : &#8216;boxes_column_right&#8217;);<br />
      }<br />
    }</p>
<p>    function dataF() {</p>
<p>  $data = &#8221;;<br />
  $data .= MODULE_BOXES_ADSENSE_CODE;<br />
  $data .=&#8221;;</p>
<p>  return $data;<br />
}</p>
<p>function execute() {<br />
  global $oscTemplate;</p>
<p>  $oscTemplate-&gt;addBlock($this-&gt;dataF(), $this-&gt;group);<br />
	}</p>
<p>    function isEnabled() {<br />
      return $this-&gt;enabled;<br />
    }</p>
<p>    function check() {<br />
      return defined(&#8216;MODULE_BOXES_ADSENSE_STATUS&#8217;);<br />
    }</p>
<p>    function install() {<br />
      tep_db_query(&#8220;insert into &#8221; . TABLE_CONFIGURATION . &#8221; (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values (&#8216;Enable adsense Module&#8217;, &#8216;MODULE_BOXES_ADSENSE_STATUS&#8217;, &#8216;True&#8217;, &#8216;Do you want to add the module to your shop?&#8217;, &#8217;6&#8242;, &#8217;1&#8242;, &#8216;tep_cfg_select_option(array(\&#8217;True\&#8217;, \&#8217;False\&#8217;), &#8216;, now())&#8221;);<br />
      tep_db_query(&#8220;insert into &#8221; . TABLE_CONFIGURATION . &#8221; (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values (&#8216;Content Placement&#8217;, &#8216;MODULE_BOXES_ADSENSE_CONTENT_PLACEMENT&#8217;, &#8216;Left Column&#8217;, &#8216;Should the module be loaded in the left or right column?&#8217;, &#8217;6&#8242;, &#8217;1&#8242;, &#8216;tep_cfg_select_option(array(\&#8217;Left Column\&#8217;, \&#8217;Right Column\&#8217;), &#8216;, now())&#8221;);<br />
      tep_db_query(&#8220;insert into &#8221; . TABLE_CONFIGURATION . &#8221; (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values (&#8216;Sort Order&#8217;, &#8216;MODULE_BOXES_ADSENSE_SORT_ORDER&#8217;, &#8217;0&#8242;, &#8216;Sort order of display. Lowest is displayed first.&#8217;, &#8217;6&#8242;, &#8217;0&#8242;, now())&#8221;);<br />
	  tep_db_query( &#8220;insert into &#8221; . TABLE_CONFIGURATION . &#8221; (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ( &#8216;adSense code&#8217;, &#8216;MODULE_BOXES_ADSENSE_CODE&#8217;, &#8221;, &#8216;Paste the adSense code into here&#8217;, &#8217;6&#8242;, &#8217;4&#8242;, &#8216;tep_draw_textarea_field(\&#8217;configuration[MODULE_BOXES_ADSENSE_CODE]\&#8217;, false, 35, 20, &#8216;, now())&#8221; );<br />
    }</p>
<p>    function remove() {<br />
      tep_db_query(&#8220;delete from &#8221; . TABLE_CONFIGURATION . &#8221; where configuration_key in (&#8216;&#8221; . implode(&#8220;&#8216;, &#8216;&#8221;, $this-&gt;keys()) . &#8220;&#8216;)&#8221;);<br />
    }</p>
<p>    function keys() {<br />
  return array(&#8216;MODULE_BOXES_ADSENSE_STATUS&#8217;, &#8216;MODULE_BOXES_ADSENSE_CONTENT_PLACEMENT&#8217;, &#8216;MODULE_BOXES_ADSENSE_SORT_ORDER&#8217;, &#8216;MODULE_BOXES_ADSENSE_CODE&#8217;);<br />
}<br />
  }<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: multimixer</title>
		<link>https://multimixer.gr/26/07/2011/create-a-google-adsense-box-for-your-oscommerce-store/#comment-1060</link>
		<dc:creator>multimixer</dc:creator>
		<pubDate>Sat, 12 Jan 2013 12:14:51 +0000</pubDate>
		<guid isPermaLink="false">http://multimixer.gr/?p=978#comment-1060</guid>
		<description>@Sanjivani 

If you can&#039;t see the box at all when you click on &quot;install&quot; on the top right corner in admin (under modules&gt;boxes) then I would suspect that you missed some point at the replacements, in the example above from &quot;information&quot; to &quot;adsense&quot;

Most possible the issue is in the constants, whatever is in CAPITAL_LETTERS</description>
		<content:encoded><![CDATA[<p>@Sanjivani </p>
<p>If you can&#8217;t see the box at all when you click on &#8220;install&#8221; on the top right corner in admin (under modules>boxes) then I would suspect that you missed some point at the replacements, in the example above from &#8220;information&#8221; to &#8220;adsense&#8221;</p>
<p>Most possible the issue is in the constants, whatever is in CAPITAL_LETTERS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjivani</title>
		<link>https://multimixer.gr/26/07/2011/create-a-google-adsense-box-for-your-oscommerce-store/#comment-1059</link>
		<dc:creator>Sanjivani</dc:creator>
		<pubDate>Thu, 10 Jan 2013 03:53:43 +0000</pubDate>
		<guid isPermaLink="false">http://multimixer.gr/?p=978#comment-1059</guid>
		<description>Hi,
I am trying to make a new box, I have added new files for that as mentioned but I cannot see my box in Admin Panel under Modules-&gt;Boxes.

What can be wrong?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am trying to make a new box, I have added new files for that as mentioned but I cannot see my box in Admin Panel under Modules-&gt;Boxes.</p>
<p>What can be wrong?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddy</title>
		<link>https://multimixer.gr/26/07/2011/create-a-google-adsense-box-for-your-oscommerce-store/#comment-534</link>
		<dc:creator>Eddy</dc:creator>
		<pubDate>Fri, 13 Jan 2012 08:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://multimixer.gr/?p=978#comment-534</guid>
		<description>MTS PageMaker?!  Shoot!!  Looking forward to it.</description>
		<content:encoded><![CDATA[<p>MTS PageMaker?!  Shoot!!  Looking forward to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: multimixer</title>
		<link>https://multimixer.gr/26/07/2011/create-a-google-adsense-box-for-your-oscommerce-store/#comment-533</link>
		<dc:creator>multimixer</dc:creator>
		<pubDate>Fri, 13 Jan 2012 08:08:59 +0000</pubDate>
		<guid isPermaLink="false">http://multimixer.gr/?p=978#comment-533</guid>
		<description>Hi Eddy, I will make a separate post about this, as a side note, a mini template system module that will let you create a custom layout per page is under construction</description>
		<content:encoded><![CDATA[<p>Hi Eddy, I will make a separate post about this, as a side note, a mini template system module that will let you create a custom layout per page is under construction</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddy</title>
		<link>https://multimixer.gr/26/07/2011/create-a-google-adsense-box-for-your-oscommerce-store/#comment-529</link>
		<dc:creator>Eddy</dc:creator>
		<pubDate>Fri, 13 Jan 2012 02:14:01 +0000</pubDate>
		<guid isPermaLink="false">http://multimixer.gr/?p=978#comment-529</guid>
		<description>Thank you very much.

Doesn&#039;t it make the lines shorter and more readable if I don&#039;t use the operator &quot;&#124;&#124;&quot; and by storing $PHP_SELF into a variable?  Is there any side-effect the way I did it?</description>
		<content:encoded><![CDATA[<p>Thank you very much.</p>
<p>Doesn&#8217;t it make the lines shorter and more readable if I don&#8217;t use the operator &#8220;||&#8221; and by storing $PHP_SELF into a variable?  Is there any side-effect the way I did it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: multimixer</title>
		<link>https://multimixer.gr/26/07/2011/create-a-google-adsense-box-for-your-oscommerce-store/#comment-521</link>
		<dc:creator>multimixer</dc:creator>
		<pubDate>Thu, 12 Jan 2012 15:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://multimixer.gr/?p=978#comment-521</guid>
		<description>Hi Eddy

This comes because Mini Template System &quot;re-execute&quot; the boxes depending on your template settings. That is the reason why &lt;a href=&quot;http://multimixer.gr/03/01/2011/separating-data-from-execution-in-oscommerce-boxes/&quot; rel=&quot;nofollow&quot;&gt;&quot;data&quot; has been separated from &quot;execution&quot;&lt;/a&gt;

If you want to add any conditions, best is you do this in function &quot;dataF()&quot; You could by the way merge all of your conditions into one using &quot;or&quot; that look like this &quot;&#124;&#124;&quot;. 

Something like this: if (condition1 &#124;&#124; condition2 &#124;&#124; condition3); return;

Not sure also why you store $PHP_SELF into a variable and don&#039;t use it as is?
</description>
		<content:encoded><![CDATA[<p>Hi Eddy</p>
<p>This comes because Mini Template System &#8220;re-execute&#8221; the boxes depending on your template settings. That is the reason why <a href="http://multimixer.gr/03/01/2011/separating-data-from-execution-in-oscommerce-boxes/" rel="nofollow">&#8220;data&#8221; has been separated from &#8220;execution&#8221;</a></p>
<p>If you want to add any conditions, best is you do this in function &#8220;dataF()&#8221; You could by the way merge all of your conditions into one using &#8220;or&#8221; that look like this &#8220;||&#8221;. </p>
<p>Something like this: if (condition1 || condition2 || condition3); return;</p>
<p>Not sure also why you store $PHP_SELF into a variable and don&#8217;t use it as is?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
