<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[LemonStand Forum]]></title>
		<link>http://forum.lemonstandapp.com/</link>
		<description><![CDATA[The most recent topics at LemonStand Forum.]]></description>
		<lastBuildDate>Wed, 08 Sep 2010 17:36:22 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Optimization Issue]]></title>
			<link>http://forum.lemonstandapp.com/topic/649/optimization-issue/new/posts/</link>
			<description><![CDATA[<p>Hey guys,</p><p>I&#039;ve been looking in to speeding up Lemonstand for a client and did some profiling with XHProf.&nbsp; I found a very interesting bottleneck on the Category pages.&nbsp; 354 calls of uniqid() - which you call in the DB_ActiveRecord constructor - were responsible for a little over 13% of the total processing time.</p><p>This seemed way too high, so I did some investigation.&nbsp; Based on the following blog post <a href="http://portfolio.technoized.com/notes/44">http://portfolio.technoized.com/notes/44</a>, all you need to do is change the uniqid() calls with uniqid(&quot;&quot;, true) and you&#039;ll see a very significant speed increase, especially when loading lots of ActiveRecord records.&nbsp; The major culprit here is on line 226 of db_activerecord.php, although it&#039;s also called in a few other places.</p><p>I can verify this is true, as after this change uniqid() was responsible for roughly 1.5% of processing time rather than 13% and I saw load times decrease by approximately .7 seconds.</p><p>I&#039;m also experimenting with caching template output with APC - would you be interested in my code changes there also?</p>]]></description>
			<author><![CDATA[dummy@example.com (pnomolos)]]></author>
			<pubDate>Wed, 08 Sep 2010 17:36:22 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/649/optimization-issue/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[On Sale banner]]></title>
			<link>http://forum.lemonstandapp.com/topic/641/on-sale-banner/new/posts/</link>
			<description><![CDATA[<p>I&#039;m not sure if this is already possible or not. But is there some PHP code to pull a catalog price rule &quot;title&quot; and &quot;description&quot; if one exsists (not on the product page). For example:</p><p>My client sets up a discount with the title &quot;Classic Tees - 10% Off&quot; and a description &quot;Classic Tees are 10% off till Christmas!&quot;. I would like to place some code in the template that could display that.</p><p>I didn&#039;t see anything in the wiki about this. It may be a nice <a href="http://lemonstandapp.com/docs/shop_tips_and_tricks/">http://lemonstandapp.com/docs/shop_tips_and_tricks/</a>&nbsp; <img src="http://forum.lemonstandapp.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> </p><p>Also, this is the 2nd time the forum software posted only the first line of text and nothing else. Kind of frustrating having to retype everything.</p>]]></description>
			<author><![CDATA[dummy@example.com (pmeissner)]]></author>
			<pubDate>Wed, 08 Sep 2010 17:17:25 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/641/on-sale-banner/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Loading...]]></title>
			<link>http://forum.lemonstandapp.com/topic/652/loading/new/posts/</link>
			<description><![CDATA[<p>Where is the CSS or set up for that message? I would like to just adjust the colour and size etc....</p>]]></description>
			<author><![CDATA[dummy@example.com (Jez-Timms)]]></author>
			<pubDate>Wed, 08 Sep 2010 14:21:52 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/652/loading/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Error Connecting to Database]]></title>
			<link>http://forum.lemonstandapp.com/topic/651/error-connecting-to-database/new/posts/</link>
			<description><![CDATA[<p>Every time I open the site for the first time in the day. It gives me the error in the image. Any thoughts on what would cause this ?</p>]]></description>
			<author><![CDATA[dummy@example.com (gabecouch)]]></author>
			<pubDate>Wed, 08 Sep 2010 13:47:22 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/651/error-connecting-to-database/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Non standard use of templates issue]]></title>
			<link>http://forum.lemonstandapp.com/topic/647/non-standard-use-of-templates-issue/new/posts/</link>
			<description><![CDATA[<p>In my templates, I&#039;ve started using:<br /></p><div class="codebox"><pre><code>&lt;? include(&#039;resources/templates/home.php&#039;); ?&gt;</code></pre></div><p>to use files for the templates and partials. I realize this is non-standard and non-supported, but this may apply to other cases down the road in a different way:</p><p>What i&#039;m running into is that when i include the files that way, LS appears to be putting some extra spaces which add a new empty line at the bottom of my page... you can see the code here:</p><p><a href="http://cl.ly/31d2657cc706526a6fcc">http://cl.ly/31d2657cc706526a6fcc</a></p><p>if i remove the include line from the template i&#039;m using and just paste in the html from home.php this doesn&#039;t happen.</p><p>Again, I realize this is not a supported use of the template system, but it seemed odd to me that when i&#039;m including the file with the same code that i&#039;d normally paste in, i get extra whitespace...</p><p>Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (Aleksey)]]></author>
			<pubDate>Wed, 08 Sep 2010 03:24:09 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/647/non-standard-use-of-templates-issue/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Flash Message]]></title>
			<link>http://forum.lemonstandapp.com/topic/609/flash-message/new/posts/</link>
			<description><![CDATA[<p>It&#039;d be great to have the flash message &quot;x items added to cart&quot; if &quot;cart&quot; linked to the cart.</p><p>If there&#039;s a simple way to do this globally that&#039;d be fine too without having to update every place where i have an add to cart button.</p><p>Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (Aleksey)]]></author>
			<pubDate>Wed, 08 Sep 2010 02:38:48 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/609/flash-message/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Use partials instead of flash messages]]></title>
			<link>http://forum.lemonstandapp.com/topic/650/use-partials-instead-of-flash-messages/new/posts/</link>
			<description><![CDATA[<p>Hi!</p><p>We just published a feature which allows you to output HTML formatted partials instead of standard flash messages. The documentation is available here: <a href="http://lemonstandapp.com/docs/using_partials_instead_of_flash_messages/">http://lemonstandapp.com/docs/using_par &#133; _messages/</a></p><p>Thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (Aleksey)]]></author>
			<pubDate>Wed, 08 Sep 2010 02:38:26 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/650/use-partials-instead-of-flash-messages/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[number of current users]]></title>
			<link>http://forum.lemonstandapp.com/topic/648/number-of-current-users/new/posts/</link>
			<description><![CDATA[<p>Hi, I&#039;ve got another question. We know Lemonstand is very new, can you tell me how many current users or shops are set up using lemonstand?</p><p>Thanks,</p><p>Darren Dub</p>]]></description>
			<author><![CDATA[dummy@example.com (Danny)]]></author>
			<pubDate>Wed, 08 Sep 2010 00:58:34 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/648/number-of-current-users/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Robots.txt info]]></title>
			<link>http://forum.lemonstandapp.com/topic/445/robotstxt-info/new/posts/</link>
			<description><![CDATA[<p>Just as an aside from my usual &#039;how do you do this topics&#039; I thought I&#039;d post something useful.</p><p>I don&#039;t think lemonstand generates a robots.txt file automatically, and recently noticed that google.co.uk was indexing https: copies of various pages on my site, this obviously counts as duplicate content which is frowned upon. I didn&#039;t notice it with google.com for some reason.</p><p>Anyway, the reason is that I haven&#039;t got my secure pages running on a separate server/sub-domain.</p><p>The solution is to create a .htaccess command which tells anything using port 443 [SSL] to look at another robots.txt file.</p><p>So create robots_ssl.txt</p><div class="codebox"><pre><code>User-agent: *
Disallow: /</code></pre></div><p>and add the following to your .htaccess</p><div class="codebox"><pre><code>RewriteEngine on
Options +FollowSymlinks
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^robots.txt$ robots_ssl.txt</code></pre></div><br /><p>Aleksey, is there anything that we should be specifically disallowing within a robots.txt?</p>]]></description>
			<author><![CDATA[dummy@example.com (Aleksey)]]></author>
			<pubDate>Wed, 08 Sep 2010 00:43:53 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/445/robotstxt-info/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Different Prices dependent on account logged in?]]></title>
			<link>http://forum.lemonstandapp.com/topic/646/different-prices-dependent-on-account-logged-in/new/posts/</link>
			<description><![CDATA[<p>Hi,</p><p>No idea if this is possible but here goes...</p><p>We have been asked by a client to develop a site that will be for consumer and trade. The difficulty comes as rather than giving trade a flat % discount off every thing in the store they wish to price each item individually for trade.&nbsp; So - when you visit the site you get the general consumer site, once you log in with your trade account you see the trade prices.</p><p>Would this be possible with Lemon App? I know it will be additional work to enter 2 prices for each product, but the other option is to create 2 sites.</p><p>Thanks for your help.</p><p>Ben</p>]]></description>
			<author><![CDATA[dummy@example.com (Aleksey)]]></author>
			<pubDate>Tue, 07 Sep 2010 23:19:01 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/646/different-prices-dependent-on-account-logged-in/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Standard Form error alert]]></title>
			<link>http://forum.lemonstandapp.com/topic/644/standard-form-error-alert/new/posts/</link>
			<description><![CDATA[<p>Hi,<br />is there a way to amend the way forms display errors. Would like to change the standard alert message if possible.</p>]]></description>
			<author><![CDATA[dummy@example.com (Aleksey)]]></author>
			<pubDate>Tue, 07 Sep 2010 23:15:44 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/644/standard-form-error-alert/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Skipping Shipping Choice]]></title>
			<link>http://forum.lemonstandapp.com/topic/632/skipping-shipping-choice/new/posts/</link>
			<description><![CDATA[<p>If there is ONLY ONE method of shipping and one rate, be that paid or free - how do you skip the part in the checkout process, as it is not needed?</p>]]></description>
			<author><![CDATA[dummy@example.com (frosty)]]></author>
			<pubDate>Tue, 07 Sep 2010 22:27:31 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/632/skipping-shipping-choice/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[UK Based Payment Gateways]]></title>
			<link>http://forum.lemonstandapp.com/topic/642/uk-based-payment-gateways/new/posts/</link>
			<description><![CDATA[<p>What gateways do you support?&nbsp; I was trying to find some info and couldn&#039;t.</p>]]></description>
			<author><![CDATA[dummy@example.com (MrBen)]]></author>
			<pubDate>Tue, 07 Sep 2010 09:20:50 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/642/uk-based-payment-gateways/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Update: automatic customer registration feature]]></title>
			<link>http://forum.lemonstandapp.com/topic/645/update-automatic-customer-registration-feature/new/posts/</link>
			<description><![CDATA[<p>Hi!</p><p>Yesterday we published the automatic customer registration feature. Customers can now be registered on checkout. The documentation is here: <a href="http://lemonstandapp.com/docs/automatic_customer_registration/">http://lemonstandapp.com/docs/automatic &#133; istration/</a></p><p>Thank you</p>]]></description>
			<author><![CDATA[dummy@example.com (Aleksey)]]></author>
			<pubDate>Tue, 07 Sep 2010 07:08:20 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/645/update-automatic-customer-registration-feature/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Register at checkout without confirmation email]]></title>
			<link>http://forum.lemonstandapp.com/topic/499/register-at-checkout-without-confirmation-email/new/posts/</link>
			<description><![CDATA[<p>I work for a web design agency, and we&#039;re always on the lookout for software to help us with client projects. Lemonstand looks great for something that&#039;s only just about to come out of beta - very flexible.</p><p>One point I have is about the checkout. Ideally you want new customers to register as they make their first purchase. Guest checkout can be handy, but generally you want people to register, and the registration process should be part of the normal flow of the checkout.</p><p>The checkout registration process on lemonstand seems to require the user to pick up a store generated email to recover their password before they can proceed, which puts a bit of an obstruction in the checkout process - maybe they don&#039;t have easy access to their email. It just gives them a point to bale out.</p><p>Ideally at this checkout step the user would ENTER their desired password rather than needing to pick up the store generated one. They enter their email and password, and are automatically logged in ready for the next step in the checkout</p><p>This is discussed in the thread here: <a href="http://forum.lemonstandapp.com/topic/324/new-user-registration-bypassing-confirmation-email/">http://forum.lemonstandapp.com/topic/32 &#133; ion-email/</a><br />where you provide an option to have the password generated and sent to the user AFTER they place their first order.<br />The problem with this method (as we have found with another store that uses the same system) is that when users come to place their 2nd order, they have no idea what their password is (because they never make a note of it or change it when they receive it - maybe the email goes into spam or something). They try and login with their normal password, and are told the details are wrong. So they need to do a &#039;recover password&#039;, which again puts that barrier in place on the checkout.</p><p>If they set up their account with their usual password when they create their first order, we don&#039;t have any issues (this is how it works in cs-cart, which we currently use).</p><p>Is it possible to set up lemonstand in this way at all - even if it meant disabling the guest checkout option?</p>]]></description>
			<author><![CDATA[dummy@example.com (Aleksey)]]></author>
			<pubDate>Tue, 07 Sep 2010 01:32:16 +0000</pubDate>
			<guid>http://forum.lemonstandapp.com/topic/499/register-at-checkout-without-confirmation-email/new/posts/</guid>
		</item>
	</channel>
</rss>
