<?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: Tuning the &#8220;Newest Post Since Last Visit&#8221; SQL</title>
	<atom:link href="http://www.phpbbdoctor.com/blog/2008/02/28/tuning-the-newest-post-since-last-visit-sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpbbdoctor.com/blog/2008/02/28/tuning-the-newest-post-since-last-visit-sql/</link>
	<description>Your premium source for custom modification services for phpBB</description>
	<lastBuildDate>Wed, 11 Jan 2012 20:39:04 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave Rathbun</title>
		<link>http://www.phpbbdoctor.com/blog/2008/02/28/tuning-the-newest-post-since-last-visit-sql/comment-page-1/#comment-2587</link>
		<dc:creator>Dave Rathbun</dc:creator>
		<pubDate>Fri, 29 Feb 2008 16:16:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpbbdoctor.com/blog/2008/02/24/tuning-the-newest-post-since-last-visit-sql/#comment-2587</guid>
		<description>Hm. Well. This post is wrong. :) I tried to take part of a solution and use it, but it seems that as written this code will not work. The reason those extra tables are required is because the $userdata array has not been populated yet when this code is executed. So that means that you have to use the session table to get the user information, and you need the user information to get the last visit date/time value correct.

I could move the session code up above this, but that adds extra overhead that goes beyond using the extra tables in this query. So I would NOT suggest that you make the changes as listed, as they will not work. Live and learn. :)</description>
		<content:encoded><![CDATA[<p>Hm. Well. This post is wrong. <img src='http://www.phpbbdoctor.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I tried to take part of a solution and use it, but it seems that as written this code will not work. The reason those extra tables are required is because the $userdata array has not been populated yet when this code is executed. So that means that you have to use the session table to get the user information, and you need the user information to get the last visit date/time value correct.</p>
<p>I could move the session code up above this, but that adds extra overhead that goes beyond using the extra tables in this query. So I would NOT suggest that you make the changes as listed, as they will not work. Live and learn. <img src='http://www.phpbbdoctor.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

