<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Edikon Forums]]></title>
		<link>http://www.edikon.com/forums/</link>
		<description><![CDATA[The most recent topics at Edikon Forums.]]></description>
		<lastBuildDate>Wed, 25 Aug 2010 21:21:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Image upload problems - phpShop 0.8.1 on XAMPP Windows Vista]]></title>
			<link>http://www.edikon.com/forums/topic/6613/new/posts/</link>
			<description><![CDATA[<p>When updating images for the vendor or products, get errors on the unlink</p><p>Warning: unlink(D:/Webserver/Site3/phpshop/images/shop/vendor/c19970d6f2970cb0d1b13bea3af3144a.gif) [function.unlink]: Permission denied in D:\Webserver\Site3\phpshop\WEB-INF\modules\admin\lib\ps_main.inc(222) : eval()&#039;d code on line 1</p><p>An error has ocurred.<br />ERROR: Image Update command failed.<br />$ret = unlink(&quot;D:/Webserver/Site3/phpshop/images/shop/vendor/c19970d6f2970cb0d1b13bea3af3144a.gif&quot;)</p><p>Note this does appear to work on a linux server, but for testing/evaluation/prototyping I am using XAMPP (1.6.4) on Windows Vista (though the same thing occurrs on Windows XP using XAMPP 1.6.3a)</p><p>Earlier posts suggest various things but I believe they are relevant to earlier versions and some suggestions appear to be included in the 0.8.1 release.<br />As a work around for the vendor, I have manually updated the db directory for vendor_image_path to be images/shop/ rather than /images/shop/ and vendor_full_image to be the name of the new image.</p><p>Any further suggestions?</p>]]></description>
			<author><![CDATA[dummy@example.com (janets)]]></author>
			<pubDate>Wed, 25 Aug 2010 21:21:39 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/6613/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[adding plus and minus buttons or links to the minicart]]></title>
			<link>http://www.edikon.com/forums/topic/6724/new/posts/</link>
			<description><![CDATA[<p>I have a problem! (PHPshop 0.8.1)</p><p>I use the minicart option, but it&#039;s not the original, it&#039;s looks like the browse page (product names, quantities, prices in a row) in a list.</p><p>And below subtotal etc...</p><p>Please help me, to build buttons or links to each row in the minicart, which add plus 1 and -1 quantity to the products, but not each item. First + and - button or link to only the first item, and etc...</p><p>Or</p><p>a link, which I can add 1 item to the quantity in the minicart.</p><p>Please help me!!!</p><p>Thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (dici10)]]></author>
			<pubDate>Fri, 09 Apr 2010 21:54:02 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/6724/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[phpshop.cfg]]></title>
			<link>http://www.edikon.com/forums/topic/6723/new/posts/</link>
			<description><![CDATA[<p>Hello</p><p>Just started setting up the phpshop and so far really impressed, this forum has also been a great source of information.</p><p>Just trying to set up the authorize.net payment system and in AUTHORIZE.NET.txt file it says to edit the phpshop.cfg file.</p><p>An embarrassing problem......I cannot find this file!!</p><p>Any help would be greatly appreciated, thanks in advance!</p>]]></description>
			<author><![CDATA[dummy@example.com (halfdrawn)]]></author>
			<pubDate>Thu, 18 Feb 2010 13:05:13 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/6723/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[csv import function doesn't create category_url correctly]]></title>
			<link>http://www.edikon.com/forums/topic/6691/new/posts/</link>
			<description><![CDATA[<p>there is actually a bug in the csv_import class - the function csv_category doesn&#039;t create the full category path when populating the category_url field.&nbsp; it only inserts the final category name as the category_url, not the full path of the category tree.</p><p>example:&nbsp; a new category path of &quot;store/widgets/red/small&quot; would result in all the categories being created and nested correctly, but the category_url would be &quot;store&quot;, &quot;widgets&quot;, &quot;red&quot; and &quot;small&quot; for each category creeated, respectively.&nbsp; they should be &quot;store&quot;, &quot;store_widgets&quot;, &quot;store_widgets_red&quot; and &quot;store_widgets_red_small&quot; respectively.</p><p>in fairness, any changes made to the category after it&#039;s been imported would correctly reset the value in the DB.&nbsp; categories unmodified would retain their incorrect url.</p><p>reason this is important:&nbsp; if you want to find all products that are in a category and all subcategories in one search, you only have to search for products who&#039;s categories have a &quot; category_url LIKE &#039;$category_url%&#039; &quot;.&nbsp; much simplier than recursively traversing the category tree from the starting point to the bottom to find all the possible category_ids that are invovled.</p><p>this updated function fixes that problem.</p><p>this is an updated csv_category in ps_csv.inc<br /></p><div class="codebox"><pre><code>  /**************************************************************************
  ** name: csv_category()
  ** created by: John Syben
  ** updated by: jnewman67
  ** Creates categories from slash delimited line
  ***************************************************************************/
  function csv_category($line) {
    // Explode slash delimited category tree into array
    $category_list = explode(&quot;/&quot;, $line);
    $category_count = count($category_list);

    $db = new ps_DB;
    $category_parent_id = &#039;0&#039;;
        $full_url = &quot;&quot;;

      // For each category in array
      for($i = 0; $i &lt; $category_count; $i++) {
        // See if this category exists with it&#039;s parent in xref
        $q = &quot;SELECT category.category_id FROM category,category_xref &quot;;
        $q .= &quot;WHERE category.category_name=&#039;&quot; . $category_list[$i] . &quot;&#039; &quot;;
        $q .= &quot;AND category_xref.category_child_id=category.category_id &quot;;
        $q .= &quot;AND category_xref.category_parent_id=&#039;$category_parent_id&#039;&quot;;
        $db-&gt;query($q);
          // If it does not exist, create it
          if ($db-&gt;next_record()) { // Category exists
            $category_id = $db-&gt;f(&quot;category_id&quot;);
          }
          else { // Category does not exist - create it
            $hash_secret=&quot;PHPShopIsCool&quot;;
            $category_id = md5(uniqid($hash_secret));
            $timestamp = time();

                        $cat_url = strtolower($category_list[$i]);
                        $cat_url = str_replace(&quot; &quot;, &quot;&quot;,$cat_url);
                        $cat_url = str_replace(&quot;_&quot;, &quot;&quot;,$cat_url);
                        if ($full_url == &quot;&quot;) {
                            $full_url = $cat_url;
                        } else {
                            $full_url .= &quot;_&quot; . $cat_url;
                        }

            // Add category
            $q = &quot;INSERT INTO category &quot;;
            $q .= &quot;(category_id,vendor_id,category_name,category_url,category_publish,cdate,mdate) &quot;;
            $q .= &quot;VALUES (&#039;&quot;;
            $q .= $category_id . &quot;&#039;,&#039;&quot;;
            $q .= &quot;1&#039;, &#039;&quot;;
            $q .= $category_list[$i] . &quot;&#039;, &#039;&quot;;
            $q .= &quot;$full_url&#039;, &#039;&quot;;
            $q .= &quot;Y&#039;, &#039;&quot;;
            $q .= $timestamp . &quot;&#039;, &#039;&quot;;
            $q .= $timestamp . &quot;&#039;)&quot;;
            $db-&gt;query($q);

            // Create xref with parent
            $q = &quot;INSERT INTO category_xref &quot;;
            $q .= &quot;(category_parent_id, category_child_id) &quot;;
            $q .= &quot;VALUES (&#039;&quot;;
            $q .= $category_parent_id . &quot;&#039;, &#039;&quot;;
            $q .= $category_id . &quot;&#039;)&quot;;
            $db-&gt;query($q);
          }
        // Set this category as parent of next in line
        $category_parent_id = $category_id;
      } // end for

    // Return the last category_id which is where the product goes
    return $category_id;

  } // End function csv_category</code></pre></div><p>the full_url is used to track the full tree category path.&nbsp; any lines with that variable on it are the ones that were actually changed.</p>]]></description>
			<author><![CDATA[dummy@example.com (jnewman67)]]></author>
			<pubDate>Fri, 05 Feb 2010 14:18:56 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/6691/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[I can only see the demo site(Urgent)]]></title>
			<link>http://www.edikon.com/forums/topic/6722/new/posts/</link>
			<description><![CDATA[<p>Hi all,</p><p>Thanks alot for reading but i urgently need some help i new to this and php. i did the set up but now when i go to http://localhostXXXX/index.php i can onli see the demo. </p><p>is tat right? can how I use the propre phpshop? when i select the login in at the top menu i don see the login page</p>]]></description>
			<author><![CDATA[dummy@example.com (whousemy)]]></author>
			<pubDate>Tue, 26 Jan 2010 15:17:21 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/6722/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[listing products in multiple categories code mods]]></title>
			<link>http://www.edikon.com/forums/topic/2185/new/posts/</link>
			<description><![CDATA[<p>We have been working on this and have come up with a few mods the will get products listed under multiple categories. We have tested it with a database of around 400 products with most products list under 4 to 10 different categories or subcategories with no problems. There are no guarantees that it is not completely bug free and if anyone finds any can they please let me know.</p><p>To associate a product with more than one category you only need to add extra records into the product_category_xref table and the product will be listed in the shop under the multiple categories. These can be added manually using phpmyadmin but this is rather inconvenient.</p><p>The administration pages do not allow the input of multiple records for product category and will only add one record on a product add, when doing a product update if multiple records exist they are all set the same category. A product delete will delete all product_category_xref records for that product which is the desired behaviour. </p><p>The following mods will modify the product administration to allow you to add and delete extra product_category_xref records. No changes were required to the non-administrative components of the shop. </p><p>The product add function can be easily modified to allow the adding of multiple categories when adding a product, this can be done by changing the category selection drop down box on the product/lib/product_form to a multi select list box</p><p>In <strong>product/ps_product_category/list_category() </strong></p><p>Change name variable declaration to an array by adding []<br />&nbsp; &nbsp;[code]$name = &quot;category_id[]&quot;;[/code]</p><p>Add MULTIPLE and SIZE the SELECT statement to<br />[code]echo &quot;&lt;SELECT MULTIPLE SIZE=10 NAME=$name&gt;n&quot;;[/code]</p><p>The product add can be modified to allow multiple categories to be added with the following modifications by looping the two dimensional array for the category input. Modify the following code in <strong>product/lib/ps_product/add() </strong>at line 203</p><p>[code]</p>]]></description>
			<author><![CDATA[dummy@example.com (hiredgeek)]]></author>
			<pubDate>Sun, 17 Jan 2010 00:02:56 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/2185/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Multiple Categories per Product?]]></title>
			<link>http://www.edikon.com/forums/topic/5503/new/posts/</link>
			<description><![CDATA[<p>I want to display all products by supplier. I can of course add supplier as a category but the products are already assigned to their respecitive category. </p><p>Is it easier / better to modify the functionality to allow multiple product / category combinations (what effect does this have on the rest of the functionality?)<br />or add a new Supplier field to the product DB table?</p><p>Has anyone every entcountered this before?</p>]]></description>
			<author><![CDATA[dummy@example.com (hiredgeek)]]></author>
			<pubDate>Sat, 16 Jan 2010 23:58:35 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/5503/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Using Shopper Email Address As Username]]></title>
			<link>http://www.edikon.com/forums/topic/4274/new/posts/</link>
			<description><![CDATA[<p>Hi all,</p><br /><p>I want to use the shoppers email address as their username so that it is easier for them in the long run to remember their login id and password. There is one way that I was thinking that could make this work; How about if i modify the add() function in ps_shopper.inc like</p><p>[code]if (!$this-&gt;validate_add($d)) {</p>]]></description>
			<author><![CDATA[dummy@example.com (hiredgeek)]]></author>
			<pubDate>Tue, 12 Jan 2010 00:01:43 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/4274/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[phpshop.cfg.php is unwriteable]]></title>
			<link>http://www.edikon.com/forums/topic/6721/new/posts/</link>
			<description><![CDATA[<p>How to change this so to writeable, can&#039;t save changes</p>]]></description>
			<author><![CDATA[dummy@example.com (mscheeky)]]></author>
			<pubDate>Wed, 30 Dec 2009 06:36:32 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/6721/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[I need somebody to re-design my site]]></title>
			<link>http://www.edikon.com/forums/topic/6720/new/posts/</link>
			<description><![CDATA[<p>Hello</p><p>I need someone to re-design my website. My requirements:</p><p>1. Site has to be done using VB bulletin 4.0 publishing suite, which Gold version is about to be released. <br />2. Integrate a cart solution withing website<br />3. Develop a cool and simple design for my website<br />4. Needs to be done ASAP</p><p>Anyone? Please let me know.... I will pay via paypal</p>]]></description>
			<author><![CDATA[dummy@example.com (seiki73)]]></author>
			<pubDate>Mon, 21 Dec 2009 12:37:47 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/6720/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[SSL & QUickBooks vs. Authorize.net]]></title>
			<link>http://www.edikon.com/forums/topic/1652/new/posts/</link>
			<description><![CDATA[<p>Hi,</p><p>What&#039;s less expensive? Buying QUickbooks and processing orders myself or going thru authorize.net and having everyhting process thru the server? If I use quickbooks, then do I need an SSL certificate to encrypt the info sent in the email?</p>]]></description>
			<author><![CDATA[dummy@example.com (cutecub00)]]></author>
			<pubDate>Sat, 19 Dec 2009 09:47:44 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/1652/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Export to quickbooks]]></title>
			<link>http://www.edikon.com/forums/topic/5609/new/posts/</link>
			<description><![CDATA[<p>hi everybody --</p><p>has anybody thought about adding an export to quickbooks utility for orders?</p><p>i need an easy way to get php shop sales into quickbooks....</p><p>suggestions???</p>]]></description>
			<author><![CDATA[dummy@example.com (cutecub00)]]></author>
			<pubDate>Tue, 15 Dec 2009 17:00:46 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/5609/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Dotshop BETA]]></title>
			<link>http://www.edikon.com/forums/topic/6717/new/posts/</link>
			<description><![CDATA[<p>Hello, i made a simple but clean &#039;theme&#039; for phpshop. I&#039;m still working on it.</p><p>really like to here your comments / feedback.</p><p>I deleted most tables and put div&#039;s back in.</p><p>you can see my workfile here: <a href="http://shop.dotflow.nl">http://shop.dotflow.nl</a></p>]]></description>
			<author><![CDATA[dummy@example.com (wouterjr)]]></author>
			<pubDate>Sun, 29 Nov 2009 22:37:15 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/6717/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[image upload problems]]></title>
			<link>http://www.edikon.com/forums/topic/6716/new/posts/</link>
			<description><![CDATA[<p>Hello!<br />When I try to upload images.&nbsp; The Windows platform.</p><p>I have next message:</p><p>Warning: copy(Z: mp\php3A.tmp) [function.copy]: failed to open stream: Invalid argument in Z:\home\ttt.ru\www\lib\modules\admin\lib\ps_main.inc(203) : eval()&#039;d code on line 1</p><p>ERROR: Image Update command failed.<br />$ret = copy(&quot;Z:\tmp\php3A.tmp&quot;, &quot;Z:/home/ttt.ru/www/images/shop/product/81bc453a1d07c07caffb9e1d9ed8a7b4.jpg&quot;)</p><br /><p>The format image:&nbsp; &nbsp;product_t_h123.jpg&nbsp; &nbsp;end product_f_h123.jpg </p><p>I,m&nbsp; read the forum not respounse.</p><p>help, please!</p>]]></description>
			<author><![CDATA[dummy@example.com (dmitry)]]></author>
			<pubDate>Mon, 23 Nov 2009 15:24:38 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/6716/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Quantity Discount]]></title>
			<link>http://www.edikon.com/forums/topic/6715/new/posts/</link>
			<description><![CDATA[<p>Hi there</p><p>Someone finally implemented a fully running quantity-discount feature?<br />Need to have a shop with prices like: <br />1 = 10$<br />2 = 9$ per item <br />from 5 to 10 8$ per item<br />..<br />..<br />..</p><p>Can anybody help me? <br />The solutions from thefinalcoz and gramlin/anders are not complete anymore or the posts are broken or incomplete... :-( !?</p><p>Thanks for help &amp; cheers<br />abdul</p>]]></description>
			<author><![CDATA[dummy@example.com (abdul)]]></author>
			<pubDate>Mon, 16 Nov 2009 10:35:23 +0000</pubDate>
			<guid>http://www.edikon.com/forums/topic/6715/new/posts/</guid>
		</item>
	</channel>
</rss>
