<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Edikon Forums]]></title>
	<link rel="self" href="http://www.edikon.com/forums/feed/atom/"/>
	<updated>2010-08-25T21:21:39Z</updated>
	<generator>PunBB</generator>
	<id>http://www.edikon.com/forums/</id>
		<entry>
			<title type="html"><![CDATA[Image upload problems - phpShop 0.8.1 on XAMPP Windows Vista]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/6613/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[janets]]></name>
				<uri>http://www.edikon.com/forums/user/9432/</uri>
			</author>
			<updated>2010-08-25T21:21:39Z</updated>
			<id>http://www.edikon.com/forums/topic/6613/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[adding plus and minus buttons or links to the minicart]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/6724/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[dici10]]></name>
				<uri>http://www.edikon.com/forums/user/9707/</uri>
			</author>
			<updated>2010-04-09T21:54:02Z</updated>
			<id>http://www.edikon.com/forums/topic/6724/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[phpshop.cfg]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/6723/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[halfdrawn]]></name>
				<uri>http://www.edikon.com/forums/user/9703/</uri>
			</author>
			<updated>2010-02-18T13:05:13Z</updated>
			<id>http://www.edikon.com/forums/topic/6723/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[csv import function doesn't create category_url correctly]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/6691/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[jnewman67]]></name>
				<uri>http://www.edikon.com/forums/user/5188/</uri>
			</author>
			<updated>2010-02-05T14:18:56Z</updated>
			<id>http://www.edikon.com/forums/topic/6691/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[I can only see the demo site(Urgent)]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/6722/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[whousemy]]></name>
				<uri>http://www.edikon.com/forums/user/9697/</uri>
			</author>
			<updated>2010-01-26T15:17:21Z</updated>
			<id>http://www.edikon.com/forums/topic/6722/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[listing products in multiple categories code mods]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/2185/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[hiredgeek]]></name>
				<uri>http://www.edikon.com/forums/user/1041/</uri>
			</author>
			<updated>2010-01-17T00:02:56Z</updated>
			<id>http://www.edikon.com/forums/topic/2185/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Multiple Categories per Product?]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/5503/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[hiredgeek]]></name>
				<uri>http://www.edikon.com/forums/user/4062/</uri>
			</author>
			<updated>2010-01-16T23:58:35Z</updated>
			<id>http://www.edikon.com/forums/topic/5503/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Using Shopper Email Address As Username]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/4274/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[hiredgeek]]></name>
				<uri>http://www.edikon.com/forums/user/2374/</uri>
			</author>
			<updated>2010-01-12T00:01:43Z</updated>
			<id>http://www.edikon.com/forums/topic/4274/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[phpshop.cfg.php is unwriteable]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/6721/new/posts/"/>
			<summary type="html"><![CDATA[<p>How to change this so to writeable, can&#039;t save changes</p>]]></summary>
			<author>
				<name><![CDATA[mscheeky]]></name>
				<uri>http://www.edikon.com/forums/user/9695/</uri>
			</author>
			<updated>2009-12-30T06:36:32Z</updated>
			<id>http://www.edikon.com/forums/topic/6721/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[I need somebody to re-design my site]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/6720/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[seiki73]]></name>
				<uri>http://www.edikon.com/forums/user/9692/</uri>
			</author>
			<updated>2009-12-21T12:37:47Z</updated>
			<id>http://www.edikon.com/forums/topic/6720/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[SSL & QUickBooks vs. Authorize.net]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/1652/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[cutecub00]]></name>
				<uri>http://www.edikon.com/forums/user/903/</uri>
			</author>
			<updated>2009-12-19T09:47:44Z</updated>
			<id>http://www.edikon.com/forums/topic/1652/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Export to quickbooks]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/5609/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[cutecub00]]></name>
				<uri>http://www.edikon.com/forums/user/502/</uri>
			</author>
			<updated>2009-12-15T17:00:46Z</updated>
			<id>http://www.edikon.com/forums/topic/5609/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Dotshop BETA]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/6717/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[wouterjr]]></name>
				<uri>http://www.edikon.com/forums/user/9683/</uri>
			</author>
			<updated>2009-11-29T22:37:15Z</updated>
			<id>http://www.edikon.com/forums/topic/6717/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[image upload problems]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/6716/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[dmitry]]></name>
				<uri>http://www.edikon.com/forums/user/9682/</uri>
			</author>
			<updated>2009-11-23T15:24:38Z</updated>
			<id>http://www.edikon.com/forums/topic/6716/new/posts/</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Quantity Discount]]></title>
			<link rel="alternate" href="http://www.edikon.com/forums/topic/6715/new/posts/"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[abdul]]></name>
				<uri>http://www.edikon.com/forums/user/9677/</uri>
			</author>
			<updated>2009-11-16T10:35:23Z</updated>
			<id>http://www.edikon.com/forums/topic/6715/new/posts/</id>
		</entry>
</feed>
