<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>MyCubeCart.com</title>
	<atom:link href="http://mycubecart.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mycubecart.com</link>
	<description>CubeCart Skins, Mods and Developer Ramblings.</description>
	<lastBuildDate>Fri, 05 Dec 2008 03:27:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CubeCart Pagination and SE Friendly URLs</title>
		<link>http://mycubecart.com/2008/12/04/cubecart-pagination-and-se-friendly-urls/</link>
		<comments>http://mycubecart.com/2008/12/04/cubecart-pagination-and-se-friendly-urls/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 05:48:43 +0000</pubDate>
		<dc:creator>Ron Edgecomb II</dc:creator>
				<category><![CDATA[CubeCart 3 and CubeCart 4 Tutorials]]></category>
		<category><![CDATA[CubeCart 4 Fixes]]></category>

		<guid isPermaLink="false">http://mycubecart.com/?p=47</guid>
		<description><![CDATA[In working with CubeCart 4.3 this evening, I&#8217;ve discovered a small bug which affects pagination links generated by CubeCart. If you have your store configured to use search engine friendly URLs, the pagination links will not reflect the desired search engine structure. The standard query based URL is displayed instead.
This bug is explained in detail [...]]]></description>
			<content:encoded><![CDATA[<p>In working with CubeCart 4.3 this evening, I&#8217;ve discovered a small bug which affects pagination links generated by CubeCart. If you have your store configured to use search engine friendly URLs, the pagination links will not reflect the desired search engine structure. The standard query based URL is displayed instead.</p>
<p>This bug is explained in detail below, you are welcome to skip ahead to <a href="/2008/12/04/cubecart-pagination-and-se-friendly-urls/#bug-fix">the fix</a>.<br />
<span id="more-47"></span></p>
<h2>What is pagination?</h2>
<p>For the web, pagination refers to the process of taking your content and splitting it up into separate pages. Pagination is typically reserved for large pieces of content.</p>
<p>For example, if you have a 1000 word article, you may wish to split it up over 4 pages limiting each page to 250 words. In the case of CubeCart, pagination is used to split up the content within the category view of products, search results and product reviews.</p>
<p>Here is an example of how the pagination in CubeCart may be displayed:</p>
<p style="text-align: center;"><img class="size-full wp-image-46 aligncenter" title="CubeCart Pagination Example" src="http://mycubecart.com/wp/wp-content/uploads/2008/12/cubecart-pagination-example.png" alt="CubeCart Pagination Example" width="250" height="25" /></p>
<h2>What does the pagination bug do?</h2>
<p>The pagination bug I&#8217;ve discovered will only affected CubeCart 4 stores which have search engine friendly URLs enabled. All pagination links generated by CubeCart will contain URLs which are not &#8220;clean&#8221;.</p>
<p>Fore example, with search engine friendly URLs enabled, you would anticipate pagination links to look something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">http://mycubecart.com/shop/category-description/cat_1.html?page=1</pre></div></div>

<p>What you get looks more like this:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">http://mycubecart.com/shop/index.php?_a=viewCat&amp;amp;catId=1&amp;amp;page=1</pre></div></div>

<p>As you can see from the example, the search engine friendly urls are much cleaner and easier for the user to understand.</p>
<p>The good news is this bug does not prevent your store from being used.</p>
<h2 id="bug-fix">The Pagination Bug Fix</h2>
<p>This bug was discovered in version 4.3.0 but appears to be present on all versions of CubeCart from 4.0.x &#8211; 4.3.0.</p>
<p>The bug fix outlined below references line numbers from CubeCart version 4.3.0. Though the line number may differ from older versions, it appears the fix is identical.</p>
<p>This bug requires the alteration of the following CubeCart 4 files:</p>
<ol>
<li>cubecart root/includes/functions.inc.php</li>
</ol>
<h2>Part 1 &#8211; All Version CubeCart 4.0.x &#8211; 4.3.0</h2>
<p>1. Open functions.inc.php</p>
<p>2. Find:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>386
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">    <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$lang</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>3. Replace with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>386
387
388
389
390
391
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// BEGIN: MyCubeCart.com</span>
    <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$lang</span><span style="color: #339933;">,</span> <span style="color: #000088;">$config</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">/* Replaced
    global $lang;
*/</span>
<span style="color: #666666; font-style: italic;">// END: MyCubeCart.com</span></pre></td></tr></table></div>

<p>4. Find:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>410
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">        <span style="color: #000088;">$currentPage</span> <span style="color: #339933;">=</span> sanitizeVar<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'PHP_SELF'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>5. Replace with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>410
411
412
413
414
415
416
417
418
419
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// BEGIN: MyCubeCart.com Mod</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'sef'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$currentPage</span> <span style="color: #339933;">=</span> sanitizeVar<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REQUEST_URI'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$currentPage</span> <span style="color: #339933;">=</span> sanitizeVar<span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'PHP_SELF'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>    
    <span style="color: #009900;">&#125;</span>
<span style="color: #666666; font-style: italic;">/* Replaced
    $currentPage = sanitizeVar($_SERVER['PHP_SELF']);
*/</span>
<span style="color: #666666; font-style: italic;">// END: MyCubeCart.com Mod</span></pre></td></tr></table></div>

<p>6. Save file and upload.</p>
<h3>Bug Fix Complete!</h3>
<p>After saving your updated functions.inc.php file and uploading to your sever, all pagination results will be formated to the desired search engine friendly parameters.</p>
]]></content:encoded>
			<wfw:commentRss>http://mycubecart.com/2008/12/04/cubecart-pagination-and-se-friendly-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CubeCart Bug Fixes</title>
		<link>http://mycubecart.com/2008/12/03/cubecart-bug-fixes/</link>
		<comments>http://mycubecart.com/2008/12/03/cubecart-bug-fixes/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 04:43:50 +0000</pubDate>
		<dc:creator>Ron Edgecomb II</dc:creator>
				<category><![CDATA[MyCubeCart.com and CubeCart News]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://mycubecart.com/2008/12/03/cubecart-bug-fixes/</guid>
		<description><![CDATA[Bugs happen. No piece of software out there is free of them. As much as I love working with CubeCart, it is not going to be the exception to this rule.
When working frequently with any piece of software there is a good chance you will discover a bug or two of your own. This has [...]]]></description>
			<content:encoded><![CDATA[<p>Bugs happen. No piece of software out there is free of them. As much as I love working with <a href="http://cubecart.com/">CubeCart</a>, it is not going to be the exception to this rule.</p>
<p>When working frequently with any piece of software there is a good chance you will discover a bug or two of your own. This has at been the case in my time working with CubeCart. I&#8217;ve uncovered <a href="http://bugs.cubecart.com/search.php?project_id=0&amp;reporter_id=123&amp;sticky_issues=off&amp;sortby=last_updated&amp;dir=DESC&amp;hide_status_id=-2">my fair share of bugs</a>. Hopefully in doing so I have improved CubeCart, even if in the smallest way.<br />
<span id="more-45"></span><br />
I will be dedicating a new section of MyCubeCart.com to detail some of those bugs I encounter. With each bug I not only intend to give you information on the bug itself, I aim to provide you with a workable solution to fix it, fast.</p>
<p>Though I can&#8217;t guarantee my fixes will be accepted as permanent solutions within the CubeCart codebase, it can hopefully serve as a means for you to keep your store running smoothly and efficiently before the next official release is issued by CubeCart.</p>
<p>To kick of this new section, I bring you a <a title="CubeCart 4 Pagination Bug" href="/2008/12/04/cubecart-pagination-and-se-friendly-urls/">pagination bug</a> I&#8217;ve encountered tonight.</p>
<p class="notice">If you ever do encounter a bug, please report your finding to the official <a href="http://bugs.cubecart.com/">CubeCart bug tracker</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mycubecart.com/2008/12/03/cubecart-bug-fixes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Checkout Button Background Color</title>
		<link>http://mycubecart.com/2008/11/29/google-checkout-button-background-color/</link>
		<comments>http://mycubecart.com/2008/11/29/google-checkout-button-background-color/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 06:56:52 +0000</pubDate>
		<dc:creator>Ron Edgecomb II</dc:creator>
				<category><![CDATA[CubeCart 3 and CubeCart 4 Tutorials]]></category>
		<category><![CDATA[CubeCart 4 Tutorials]]></category>
		<category><![CDATA[cubecart 4]]></category>
		<category><![CDATA[google checkout]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://mycubecart.com/2008/11/29/google-checkout-button-background-color-selector/</guid>
		<description><![CDATA[CubeCart 4 gives you the ability out of the box to allow your store to accept payments through Google Checkout. This is a great feature and one currently used here at MyCubeCart.com.
A small issued surfaced with the recent redesign of MyCubeCart.com. The Gooogle Checkout button had a white background, my content area did not. The [...]]]></description>
			<content:encoded><![CDATA[<p>CubeCart 4 gives you the ability out of the box to allow your store to accept payments through Google Checkout. This is a great feature and one currently used here at MyCubeCart.com.</p>
<p>A small issued surfaced with the recent redesign of MyCubeCart.com. The Gooogle Checkout button had a white background, my content area did not. The button looked out of place and I was pressed to find a solution. The Google Checkout API offers a handful of <a href="http://code.google.com/apis/checkout/developer/Google_Checkout_Basic_HTML_Google_Checkout_Buttons.html">button customization options</a>, a transparent background was one of them.</p>
<p>After digging around in the code a bit, I was pleasantly surprised to see that CubeCart was for the most part aligned to receive the type of customization I was after. A few small updates later, I had my transparent button.</p>
<p>Here&#8217;s how I did it.<br />
<span id="more-44"></span><br />
This modification requires the alteration of the following CubeCart 4 files:</p>
<ol>
<li>cubecart root/modules/altCheckout/Google_Checkout/admin/index.inc.php</li>
<li>cubecart root/modules/altCheckout/Google_Checkout/button.php</li>
</ol>
<h2>Part 1 &#8211; All Versions CubeCart 4.2.x &#8211; 4.3.0</h2>
<p>1. Open index.inc.php in a text, html or php editor.</p>
<p>2. Find:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>93
94
95
96
97
98
99
100
101
102
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">  &lt;tr&gt;
    &lt;tr&gt;
    &lt;td align=&quot;left&quot; class=&quot;tdText&quot;&gt;&lt;strong&gt;Button size:&lt;/strong&gt;&lt;/td&gt;
    &lt;td class=&quot;tdText&quot;&gt;
	&lt;select name=&quot;module[size]&quot;&gt;
      &lt;option value=&quot;large&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$module</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'size'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;large&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;selected='selected'&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&gt;Large&lt;/option&gt;
      &lt;option value=&quot;medium&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$module</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'size'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;medium&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;selected='selected'&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&gt;Medium&lt;/option&gt;
	  &lt;option value=&quot;small&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$module</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'size'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;small&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;selected='selected'&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&gt;Small&lt;/option&gt;
    &lt;/select&gt;&lt;/td&gt;
  &lt;/tr&gt;</pre></td></tr></table></div>

<p>3. Add immediately after:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>103
104
105
106
107
108
109
110
111
112
113
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">&lt;!-- BEGIN: MyCubeCart.com Mod --&gt;
  &lt;tr&gt;
    &lt;tr&gt;
    &lt;td align=&quot;left&quot; class=&quot;tdText&quot;&gt;&lt;strong&gt;Button Background Color:&lt;/strong&gt;&lt;/td&gt;
    &lt;td class=&quot;tdText&quot;&gt;
	&lt;select name=&quot;module[bgcolor]&quot;&gt;
      &lt;option value=&quot;white&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$module</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'bgcolor'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;white&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;selected='selected'&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&gt;White&lt;/option&gt;
      &lt;option value=&quot;trans&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$module</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'bgcolor'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">&quot;trans&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;selected='selected'&quot;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&gt;Transparent&lt;/option&gt;
    &lt;/select&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;!-- END: MyCubeCart.com Mod --&gt;</pre></td></tr></table></div>

<p>4. Save file and upload.</p>
<h2>Part 2 &#8211; All Versions CubeCart 4.2.x &#8211; 4.3.0</h2>
<p>1. Open button.php in a text, html or php editor.</p>
<p>2. Find (line 167 or 168, determined by version):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>168
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">            <span style="color: #b1b100;">return</span> <span style="color: #000088;">$cart</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>CheckoutButtonCode<span style="color: #009900;">&#40;</span><span style="color: #000088;">$module</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'size'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>3. Replace with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>168
169
170
171
172
173
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// BEGIN: MyCubeCart.com Mod</span>
            <span style="color: #b1b100;">return</span> <span style="color: #000088;">$cart</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>CheckoutButtonCode<span style="color: #009900;">&#40;</span><span style="color: #000088;">$module</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'size'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$module</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'bgcolor'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">/* Replaced
            return $cart-&amp;gt;CheckoutButtonCode($module['size']);
*/</span>
<span style="color: #666666; font-style: italic;">// END: MyCubeCart.com Mod</span></pre></td></tr></table></div>

<p>4. Save file and upload.</p>
<h3>Modification Complete!</h3>
<p>To use this feature, login to your CubeCart 4 control panel. Under the Modules heading, click on Alternate Checkouts. From here you will click the configure link next to the Google Checkout logo.</p>
<p>You will see a list of options for configuring this module. You will now have a dropdown menu in place to select the background color of your Google Checkout button!</p>
<p>Please note, the Google Checkout API only permits white and transparent as valid options for the button background color. Do not attempt to expand the color selection beyond what is provided in the tutorial, all attempts will fail to render a button in your stores frontend.</p>
]]></content:encoded>
			<wfw:commentRss>http://mycubecart.com/2008/11/29/google-checkout-button-background-color/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clean(er) CubeCart 4 URLs</title>
		<link>http://mycubecart.com/2008/11/28/cleaner-cubecart-4-urls/</link>
		<comments>http://mycubecart.com/2008/11/28/cleaner-cubecart-4-urls/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 05:33:25 +0000</pubDate>
		<dc:creator>Ron Edgecomb II</dc:creator>
				<category><![CDATA[CubeCart 3 and CubeCart 4 Tutorials]]></category>
		<category><![CDATA[CubeCart 4 Tutorials]]></category>
		<category><![CDATA[cubecart 4]]></category>
		<category><![CDATA[mod]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://mycubecart.com/?p=43</guid>
		<description><![CDATA[This modification may not function properly if you have selected &#8220;Use FTP generated PHP pages (If all other methods fail)&#8221; as the URL Build Option in your CubeCart settings.
If you are using CubeCart version 4 there is a fairly good chance you are making use of the search engine friendly URL features. This will replace [...]]]></description>
			<content:encoded><![CDATA[<p class="notice">This modification may not function properly if you have selected <em>&#8220;Use FTP generated PHP pages (If all other methods fail)&#8221;</em> as the <strong>URL Build Option</strong> in your CubeCart settings.</p>
<p>If you are using CubeCart version 4 there is a fairly good chance you are making use of the search engine friendly URL features. This will replace a &#8220;dirty&#8221;, query laced URL with a much cleaner search engine and user friendly URL modeled off of traditional static page URLs.</p>
<p>In making the URL clean, a .html extenstion is added to the end of the URL. For users like me, it&#8217;s not quite clean enough.</p>
<p>By leaning on WordPress in many of my web development projects, I&#8217;ve grown accustom to having my URLs end with no file extension, just a slash (eg. mycubecart.com/some/friendly/url/). This is what we aim to accomplish here.<br />
<span id="more-43"></span><br />
This modification requires the alteration of the following CubeCart 4 files:</p>
<ol>
<li>cubecart root/index.php</li>
<li>cubecart root/includes/sef_urls.inc.php</li>
</ol>
<h2>Part 1 &#8211; CubeCart Version 4.3.0 Only</h2>
<p>1. Open index.php in a text, html or php editor.</p>
<p>2. Find:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>53
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'#([a-z]{1,6})_([a-z0-9+]+).?([a-z]+)?(?.*)?$#i'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REQUEST_URI'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></pre></td></tr></table></div>

<p>3. Replace with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>53
54
55
56
57
58
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// BEGIN: MyCubeCart.com Mod - cleaner urls</span>
	<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'#([a-z]{1,6})_([a-z0-9+]+).?([a-z]+)?(/)?(?.*)?(/)?$#i'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REQUEST_URI'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">/* Replaced
	if(preg_match('#([a-z]{1,6})_([a-z0-9+]+).?([a-z]+)?(?.*)?$#i', $_SERVER['REQUEST_URI'], $matches)) {
*/</span>
<span style="color: #666666; font-style: italic;">// END: MyCubeCart.com Mod - cleaner urls</span></pre></td></tr></table></div>

<p>4. Save file and upload.</p>
<h2>Part 1 &#8211; CubeCart Version 4.2.x</h2>
<p>1. Open index.php in a text, html or php editor.</p>
<p>2. Find:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>53
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'#([a-z]{1,6})_([a-z0-9+]+).?([a-z]+)?(?.*)?$#i'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REQUEST_URI'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>3. Replace with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>53
54
55
56
57
58
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// BEGIN: MyCubeCart.com Mod - cleaner urls</span>
	<span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'#([a-z]{1,6})_([a-z0-9+]+).?([a-z]+)?(?.*)?(/)?$#i'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'REQUEST_URI'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">/* Replaced
	preg_match('#([a-z]{1,6})_([a-z0-9+]+).?([a-z]+)?(?.*)?$#i', $_SERVER['REQUEST_URI'], $matches);
*/</span>
<span style="color: #666666; font-style: italic;">// END: MyCubeCart.com Mod - cleaner urls</span></pre></td></tr></table></div>

<p>4. Save file and upload.</p>
<h2>Part 2 &#8211; All Version CubeCart 4.2.x &#8211; 4.3.0</h2>
<p>Line numbers below are based on that of 4.3.0. The replacements demonstated are consistent but the line numbers will vary based on the actual version of CubeCart 4 you are using.</p>
<p>1. Open sef_urls.inc.php.</p>
<p>2. Find (5 occurrences &#8211; lines: 86, 121, 147, 158 and 168):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>86
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #000088;">$ext</span>	<span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$config</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'sefserverconfig'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">3</span><span style="color: #009900;">&#41;</span> ? <span style="color: #0000ff;">'.php'</span> <span style="color: #339933;">:</span> <span style="color: #0000ff;">'.html'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>3. Replace each occurrence with:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>86
87
88
89
90
91
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// BEGIN: MyCubeCart.com Mod - cleaner urls</span>
	<span style="color: #000088;">$ext</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'/'</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">/* Replaced
	$ext	= ($config['sefserverconfig'] == 3) ? '.php' : '.html';
*/</span>
<span style="color: #666666; font-style: italic;">// END: MyCubeCart.com Mod - cleaner urls</span></pre></td></tr></table></div>

<p>4. Save file and upload.</p>
<h3>Modification Complete!</h3>
<p>Now your CubeCart URL&#8217;s will be so clean, the glare may hurt your visitors eyes!</p>
]]></content:encoded>
			<wfw:commentRss>http://mycubecart.com/2008/11/28/cleaner-cubecart-4-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CubeCart Skin and Mod Shop Now Open</title>
		<link>http://mycubecart.com/2008/11/26/cubecart-skin-and-mod-shop-now-open/</link>
		<comments>http://mycubecart.com/2008/11/26/cubecart-skin-and-mod-shop-now-open/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 03:20:57 +0000</pubDate>
		<dc:creator>Ron Edgecomb II</dc:creator>
				<category><![CDATA[MyCubeCart.com and CubeCart News]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://mycubecart.com/?p=40</guid>
		<description><![CDATA[I&#8217;ve worked through the bumps that held up the opening of the shop earlier today and I&#8217;m happy to announce that the MyCubeCart.com Skin and Mod Shop is back open for business.
More updates about the shop to come soon.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve worked through the bumps that held up the opening of the shop earlier today and I&#8217;m happy to announce that the <a href="/shop/">MyCubeCart.com Skin and Mod Shop</a> is back open for business.</p>
<p>More updates about the shop to come soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://mycubecart.com/2008/11/26/cubecart-skin-and-mod-shop-now-open/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Takeoff Trouble</title>
		<link>http://mycubecart.com/2008/11/26/takeoff-trouble/</link>
		<comments>http://mycubecart.com/2008/11/26/takeoff-trouble/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 22:31:20 +0000</pubDate>
		<dc:creator>Ron Edgecomb II</dc:creator>
				<category><![CDATA[MyCubeCart.com and CubeCart News]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://mycubecart.com/?p=38</guid>
		<description><![CDATA[There have been some user reported issues of redirect issues with on both the CubeCart 3 and CubeCart 4 preview store installations. The MyCubeCart.com shop will remain closed as we sort through these issues.
I hope to have everything smoothed out and running by the end if the night.
Please use the contact form with any questions [...]]]></description>
			<content:encoded><![CDATA[<p>There have been some user reported issues of redirect issues with on both the CubeCart 3 and CubeCart 4 preview store installations. The MyCubeCart.com shop will remain closed as we sort through these issues.</p>
<p>I hope to have everything smoothed out and running by the end if the night.</p>
<p>Please use the contact form with any questions or problems you may be experiencing in your visits.</p>
]]></content:encoded>
			<wfw:commentRss>http://mycubecart.com/2008/11/26/takeoff-trouble/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shop to Reopen</title>
		<link>http://mycubecart.com/2008/11/22/shop-to-reopen/</link>
		<comments>http://mycubecart.com/2008/11/22/shop-to-reopen/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 04:56:24 +0000</pubDate>
		<dc:creator>Ron Edgecomb II</dc:creator>
				<category><![CDATA[MyCubeCart.com and CubeCart News]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://mycubecart.com/?p=37</guid>
		<description><![CDATA[For nearly 8 weeks now the MyCubeCart.com shop has been down for some pretty hefty maintenance. Now, here at 12:00am Sunday Morning, I can see the light at the end of the tunnel. On Wednesday November 26, I will begin to open the skin inventory for purchase again.
Why the lengthy delay?
I&#8217;m on the tail end [...]]]></description>
			<content:encoded><![CDATA[<p>For nearly 8 weeks now the MyCubeCart.com shop has been down for some pretty hefty maintenance. Now, here at 12:00am Sunday Morning, I can see the light at the end of the tunnel. On Wednesday November 26, I will begin to open the skin inventory for purchase again.</p>
<h2>Why the lengthy delay?</h2>
<p>I&#8217;m on the tail end of completing a great deal of updates to the MyCubeCart.com site. 7 weeks ago I intended to have these updates complete. As it goes, <a href="http://greaterwebdesign.com">work</a> got in the way.<span id="more-37"></span> Over the past 7 weeks I was only able to dedicate small amounts of time to complete the updates. My schedule has leveled off a bit and I&#8217;m committed to getting this site back up and running as soon as possible.</p>
<p>For all of those who have wished to make a purchase in the past 8 weeks and have not been able to, I want to make it up to you. A sale of all sales will help get things rolling again. Mark your calendar, you won&#8217;t want to miss this.</p>
<p>Be sure to check out the <a title="MyCubeCart.com Blog" href="/blog/">MyCubeCart.com Blog</a> for additonal news and site updates. Much more will be introduced in the coming weeks.</p>
]]></content:encoded>
			<wfw:commentRss>http://mycubecart.com/2008/11/22/shop-to-reopen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MyCubeCart.com &#8211; Road to 2009</title>
		<link>http://mycubecart.com/2008/09/28/mycubecartcom-road-to-2009/</link>
		<comments>http://mycubecart.com/2008/09/28/mycubecartcom-road-to-2009/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 04:03:06 +0000</pubDate>
		<dc:creator>Ron Edgecomb II</dc:creator>
				<category><![CDATA[MyCubeCart.com and CubeCart News]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://mycubecart.com/?p=29</guid>
		<description><![CDATA[With the one year anniversary of MyCubeCart.com fast approaching, it was time for some long over due updates and changes around here. Just over a week ago I turned the site on it&#8217;s head and began a major overhaul of site design, features, functionality and product inventory. I&#8217;m happy with the progress and hope to [...]]]></description>
			<content:encoded><![CDATA[<p>With the one year anniversary of MyCubeCart.com fast approaching, it was time for some long over due updates and changes around here. Just over a week ago I turned the site on it&#8217;s head and began a major overhaul of site design, features, functionality and product inventory. I&#8217;m happy with the progress and hope to keep development moving on course.</p>
<h2>So what exactly is changing?</h2>
<p>The simple answer, everything.</p>
<p><span id="more-29"></span></p>
<p>It started with a design. I was growing a little tired of the MyCubeCart.com design. I had new design concepts for the site previously but never took them to the next step. This time around there was no holding back. While there are some bits of formatting to finalize throughout the site, what you see now is pretty consistent with what will be the finished product.</p>
<p>The second order of business was to bring the CubeCart version up to date. This task in itself was not monumental I was previously running a lightly customized version of 4.2.1.</p>
<p>The big task in front of me was that I wanted to expand the boundaries of what this site is and how it will serve the CubeCart community. Previously it was really nothing beyond a cookie cutter CubeCart site which I used as a platform to sell my skins and mods. While that in itself has served me very well over the past year, I want to do more. Much more.</p>
<h2>CubeCart and WordPress Mashup</h2>
<p>MyCubeCart.com is presently powered by a CubeCart and WordPress mashup. Both CubeCart 4.2.2 and WordPress 2.6.2 are serving up the content of and features of every MyCubeCart.com page you see.</p>
<p>This is not the first time I&#8217;ve done a CubeCart and WordPress mashup, I&#8217;ve actually completed previous integrations of the two in the past.</p>
<p>Updates and maintenance on the previous sites can prove to be a bit more laborious then desired. I sought to squash that problem this time around and feel I&#8217;ve successfully done so. My present integration has less than 5 core CubeCart files modified and none of the core WordPress files. Updates to either solution should be much more simplified.</p>
<p>There are various levels of integration achievable with a mashup like this. I plan to detail my process and other possibilities in a tutorial series in the near future.</p>
<h2>Did you say Tutorial?</h2>
<p>Sure did. I have a great deal of experience developing CubeCart sites for my clients. It&#8217;s rare that a vanilla CubeCart installation fits the bill. In fact, I don&#8217;t think thats every happened.</p>
<p>I find myself tweaking and modifying CubeCart to serve any number of needs a client may present, large and small. There is no replacement for experience and I wish to share mine with you.</p>
<h2>MyCubeCart.com Skins</h2>
<p>All of the existing MyCubeCart.com skin inventory will be updated and released again in the weeks to come. A new inventory of skins will continue to be released each month.</p>
<p>The current MyCubeCart.com design will also be released by the end of October. It will be available in at least 4 different color combinations.</p>
<h2>MyCubeCart.com Mods</h2>
<p>MyCubeCart.com had only a brief inventory of mods, presently there are none. This is set to change as well.</p>
<p>Some of the mods planned for release will be complimentary of MyCubeCart.com tutorials and provided free of charge.</p>
<p>If you have a custom modification request, fire off a message. I&#8217;d be glad to help you explore making your request a reality.</p>
<h2>Come Back Soon</h2>
<p>Now that the foundation of the new MyCubeCart.com has been laid out, things will continue to move quickly. Be sure to check back often as you don&#8217;t want to miss out on a few surprises.</p>
]]></content:encoded>
			<wfw:commentRss>http://mycubecart.com/2008/09/28/mycubecartcom-road-to-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The New MyCubeCart.com</title>
		<link>http://mycubecart.com/2008/09/19/the-new-mycubecartcom/</link>
		<comments>http://mycubecart.com/2008/09/19/the-new-mycubecartcom/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 04:03:07 +0000</pubDate>
		<dc:creator>Ron Edgecomb II</dc:creator>
				<category><![CDATA[MyCubeCart.com and CubeCart News]]></category>
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://mycubecart.com/?p=31</guid>
		<description><![CDATA[You&#8217;ve made it just in time! We are right smack in the middle of a pretty significant update to our site. We&#8217;ve gone ahead and flipped the switch &#8220;live&#8221; so you will quite literally see things change before your eyes.
Our store is currently down at the moment but will be back up very soon!
Please feel [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve made it just in time! We are right smack in the middle of a pretty significant update to our site. We&#8217;ve gone ahead and flipped the switch &#8220;live&#8221; so you will quite literally see things change before your eyes.</p>
<p>Our store is currently down at the moment but will be back up very soon!</p>
<p>Please feel free to <a title="Contact MyCubeCart.com" href="../../contact/">contact us</a> with any questions or problems you may have in the mean time.</p>
]]></content:encoded>
			<wfw:commentRss>http://mycubecart.com/2008/09/19/the-new-mycubecartcom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to MyCubeCart.com</title>
		<link>http://mycubecart.com/2007/11/09/hello-world/</link>
		<comments>http://mycubecart.com/2007/11/09/hello-world/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 18:33:34 +0000</pubDate>
		<dc:creator>Ron Edgecomb II</dc:creator>
				<category><![CDATA[MyCubeCart.com and CubeCart News]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[commercial]]></category>
		<category><![CDATA[cubecart]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[mods]]></category>
		<category><![CDATA[skins]]></category>

		<guid isPermaLink="false">http://mycubecart.com/?p=1</guid>
		<description><![CDATA[Welcome to my home on the web for all things CubeCart, MyCubeCart.com. CubeCart is currently my shopping cart solution of choice when developing an ecommerce website for my clients. I&#8217;ve had a fair share of experience with some of the other PHP solutions out there, and I&#8217;m very pleased where CubeCart positions me for a [...]]]></description>
			<content:encoded><![CDATA[<p>Welcome to my home on the web for all things CubeCart, MyCubeCart.com. CubeCart is currently my shopping cart solution of choice when developing an ecommerce website for my clients. I&#8217;ve had a fair share of experience with some of the other PHP <a href="http://oscommerce.com/">solutions</a> <a href="http://zencart.com/">out</a> <a href="http://litecommerce.com/">there</a>, and I&#8217;m very pleased where CubeCart positions me for a project.</p>
<p>While I remain a fan of CubeCart, I&#8217;m far from a &#8220;fanboy&#8221;. No cart solution out there is perfect, and CubeCart is not an exception to that rule. If something better comes along, you&#8217;ll likely see MyNewFavoriteCart.com shortly thereafter.</p>
<p>From a developer standpoint, CubeCart remains quite workable to meet the custom functionality requirements of my clients. Things are laid out fairly well in the backend so I spend more time implementing my modifications and less time digging through the site to find the files to update. I hope with each new release they will continue to improve on this and further make it easier for developers such as myself.</p>
<h2>What Can I  Expect From MyCubeCart.com?</h2>
<p>Though I don&#8217;t have the direction of this site etched in stone as of yet, I do have a pretty good idea of what I&#8217;ll being doing for some time into the future. I plan on releasing skins and mods, both free and commercial, for use in CubeCart versions 3 and 4.  I aim to release one new skin or mod each month. You may see some things roll out more frequently for the first couple of months but ultimately time will tell.</p>
<p>You can also expect to hear a few words of praise and a few rants along the way. Be sure to stick around, it could get interesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://mycubecart.com/2007/11/09/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
