<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating a community in five minutes with CakePHP</title>
	<atom:link href="http://aidanlister.com/2009/05/creating-a-community-in-five-minutes-with-cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://aidanlister.com/2009/05/creating-a-community-in-five-minutes-with-cakephp/</link>
	<description>Code is poetry</description>
	<lastBuildDate>Wed, 28 Jul 2010 23:10:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: recci</title>
		<link>http://aidanlister.com/2009/05/creating-a-community-in-five-minutes-with-cakephp/comment-page-1/#comment-1692</link>
		<dc:creator>recci</dc:creator>
		<pubDate>Thu, 24 Jun 2010 02:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=302#comment-1692</guid>
		<description>Is there anything else that need to be changed to make this compatible with 1,3 ? I cant seem to get the lastlogin or redirect to the account page to work.</description>
		<content:encoded><![CDATA[<p>Is there anything else that need to be changed to make this compatible with 1,3 ? I cant seem to get the lastlogin or redirect to the account page to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jawad</title>
		<link>http://aidanlister.com/2009/05/creating-a-community-in-five-minutes-with-cakephp/comment-page-1/#comment-1673</link>
		<dc:creator>jawad</dc:creator>
		<pubDate>Thu, 10 Jun 2010 09:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=302#comment-1673</guid>
		<description>hi can you please tell me where to fix this problem

Notice (8): Undefined index: password_confirm 

thanks and regardss</description>
		<content:encoded><![CDATA[<p>hi can you please tell me where to fix this problem</p>
<p>Notice (8): Undefined index: password_confirm </p>
<p>thanks and regardss</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://aidanlister.com/2009/05/creating-a-community-in-five-minutes-with-cakephp/comment-page-1/#comment-1379</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Tue, 09 Mar 2010 10:53:14 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=302#comment-1379</guid>
		<description>Sorry, one last thing - all this tutorial needs to make it perfect is to include the ability for users to verify their email address before they can log in. I might try and build it myself and share the results here :)</description>
		<content:encoded><![CDATA[<p>Sorry, one last thing &#8211; all this tutorial needs to make it perfect is to include the ability for users to verify their email address before they can log in. I might try and build it myself and share the results here <img src='http://aidanlister.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://aidanlister.com/2009/05/creating-a-community-in-five-minutes-with-cakephp/comment-page-1/#comment-1378</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Tue, 09 Mar 2010 10:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=302#comment-1378</guid>
		<description>PS, @Adriaan - thank you for the tip, that works great :)</description>
		<content:encoded><![CDATA[<p>PS, @Adriaan &#8211; thank you for the tip, that works great <img src='http://aidanlister.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://aidanlister.com/2009/05/creating-a-community-in-five-minutes-with-cakephp/comment-page-1/#comment-1377</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Tue, 09 Mar 2010 10:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=302#comment-1377</guid>
		<description>Hi, first off, thank you for the tutorial - creating the ability to let people register and log into a site has always been a pain for me, but this tutorial makes it easy.

I think you might have an error in your code however as I was unable to get the password recovery function to work. I think I fixed it, but would like some feedback to make sure I&#039;ve done it correctly.

In the /users_controller.php file, within the verify() method, you had this:

if ($data == $Token-&gt;get($token))

But this was just producing an error stating that the token value must be incorrect, in addition to a php notice saying that the variable $data didn&#039;t exist.

I fixed this by replacing the line above with this:

$data = $Token-&gt;get($token);
if ($data)

And it is now working as intended. Does this sound about right to you?

(PS, I&#039;m also using Cake 1.3, so I also had to replace the $this-&gt;del line in token.php with $this-&gt;delete to make it compatable)</description>
		<content:encoded><![CDATA[<p>Hi, first off, thank you for the tutorial &#8211; creating the ability to let people register and log into a site has always been a pain for me, but this tutorial makes it easy.</p>
<p>I think you might have an error in your code however as I was unable to get the password recovery function to work. I think I fixed it, but would like some feedback to make sure I&#8217;ve done it correctly.</p>
<p>In the /users_controller.php file, within the verify() method, you had this:</p>
<p>if ($data == $Token-&gt;get($token))</p>
<p>But this was just producing an error stating that the token value must be incorrect, in addition to a php notice saying that the variable $data didn&#8217;t exist.</p>
<p>I fixed this by replacing the line above with this:</p>
<p>$data = $Token-&gt;get($token);<br />
if ($data)</p>
<p>And it is now working as intended. Does this sound about right to you?</p>
<p>(PS, I&#8217;m also using Cake 1.3, so I also had to replace the $this-&gt;del line in token.php with $this-&gt;delete to make it compatable)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriaan</title>
		<link>http://aidanlister.com/2009/05/creating-a-community-in-five-minutes-with-cakephp/comment-page-1/#comment-1354</link>
		<dc:creator>Adriaan</dc:creator>
		<pubDate>Tue, 02 Feb 2010 10:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=302#comment-1354</guid>
		<description>Hi Aiden,

Great tutorial.

Just one little thing: In step 3 - Create a Login Page, you add this line of code to the users_controller to update the lastlogin field when a user logs in:

 $this-&gt;User-&gt;saveField(&#039;lastlogin&#039;, date(&#039;Y-m-d H:i:s&#039;));

Problem with this is that it will also update the modified field.
To prevent the modified field from being updated, you need to use $this-&gt;User-&gt;save() instead, like this:

$this-&gt;User-&gt;save(array(&#039;lastlogin&#039; =&gt; date(&#039;Y-m-d H:i:s&#039;), &#039;modified&#039; =&gt; false), false, array(&#039;lastlogin&#039;));

Setting modified to false in the$data array - first element in the save() call -  ensures the modified field won&#039;t be updated.</description>
		<content:encoded><![CDATA[<p>Hi Aiden,</p>
<p>Great tutorial.</p>
<p>Just one little thing: In step 3 &#8211; Create a Login Page, you add this line of code to the users_controller to update the lastlogin field when a user logs in:</p>
<p> $this-&gt;User-&gt;saveField(&#8216;lastlogin&#8217;, date(&#8216;Y-m-d H:i:s&#8217;));</p>
<p>Problem with this is that it will also update the modified field.<br />
To prevent the modified field from being updated, you need to use $this-&gt;User-&gt;save() instead, like this:</p>
<p>$this-&gt;User-&gt;save(array(&#8216;lastlogin&#8217; =&gt; date(&#8216;Y-m-d H:i:s&#8217;), &#8216;modified&#8217; =&gt; false), false, array(&#8216;lastlogin&#8217;));</p>
<p>Setting modified to false in the$data array &#8211; first element in the save() call &#8211;  ensures the modified field won&#8217;t be updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Merrill</title>
		<link>http://aidanlister.com/2009/05/creating-a-community-in-five-minutes-with-cakephp/comment-page-1/#comment-1343</link>
		<dc:creator>Merrill</dc:creator>
		<pubDate>Tue, 19 Jan 2010 17:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=302#comment-1343</guid>
		<description>I&#039;m afraid I&#039;m completely lost on this one! This is an excellent tutorial, but I haven&#039;t been able to make it work, even by downloading the source.

When I run http://localhost/users/recover, it goes to the &quot;account&quot; function and displays the view to change the password. I cannot get it to present a recovery page.

I downloaded the source for the tutorial, mainly because I was worried I may have made some undetectable typos. The downloaded source causes a failure in the webroot/index.php for an invalid CAKE_CORE_INCLUDE_PATH constant. Fortunately, I had saved the original webroot and config folders and the failure is corrected. I&#039;m using CakePHP 1.2.

I would very much appreciate any assistance to help me understand what I&#039;m doing wrong.

Thank you.</description>
		<content:encoded><![CDATA[<p>I&#8217;m afraid I&#8217;m completely lost on this one! This is an excellent tutorial, but I haven&#8217;t been able to make it work, even by downloading the source.</p>
<p>When I run <a href="http://localhost/users/recover" rel="nofollow">http://localhost/users/recover</a>, it goes to the &#8220;account&#8221; function and displays the view to change the password. I cannot get it to present a recovery page.</p>
<p>I downloaded the source for the tutorial, mainly because I was worried I may have made some undetectable typos. The downloaded source causes a failure in the webroot/index.php for an invalid CAKE_CORE_INCLUDE_PATH constant. Fortunately, I had saved the original webroot and config folders and the failure is corrected. I&#8217;m using CakePHP 1.2.</p>
<p>I would very much appreciate any assistance to help me understand what I&#8217;m doing wrong.</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neel</title>
		<link>http://aidanlister.com/2009/05/creating-a-community-in-five-minutes-with-cakephp/comment-page-1/#comment-1293</link>
		<dc:creator>Neel</dc:creator>
		<pubDate>Fri, 20 Nov 2009 09:05:46 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=302#comment-1293</guid>
		<description>Excellent I am a newbie in Cakephp, and it helps me alot to learn the basics.</description>
		<content:encoded><![CDATA[<p>Excellent I am a newbie in Cakephp, and it helps me alot to learn the basics.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amir</title>
		<link>http://aidanlister.com/2009/05/creating-a-community-in-five-minutes-with-cakephp/comment-page-1/#comment-1262</link>
		<dc:creator>amir</dc:creator>
		<pubDate>Fri, 09 Oct 2009 04:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=302#comment-1262</guid>
		<description>Hi,
Excellent work, thanks.

New to cakephp, and I have just one problem (FYI, I installed from the downloadable source) and the &quot;Old password&quot; in the account page always shows &quot;Does not match&quot;. 

I suspect this is something to do with the hashing, but could you please let me know what I can do to correct it? Any debugging pointers will be helpful too.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Excellent work, thanks.</p>
<p>New to cakephp, and I have just one problem (FYI, I installed from the downloadable source) and the &#8220;Old password&#8221; in the account page always shows &#8220;Does not match&#8221;. </p>
<p>I suspect this is something to do with the hashing, but could you please let me know what I can do to correct it? Any debugging pointers will be helpful too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://aidanlister.com/2009/05/creating-a-community-in-five-minutes-with-cakephp/comment-page-1/#comment-1231</link>
		<dc:creator>David</dc:creator>
		<pubDate>Fri, 04 Sep 2009 23:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://aidanlister.com/?p=302#comment-1231</guid>
		<description>Very helpful. I was having much difficulty defining a validation rule to check the current password when changing the password. This helped me alot.</description>
		<content:encoded><![CDATA[<p>Very helpful. I was having much difficulty defining a validation rule to check the current password when changing the password. This helped me alot.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
