<?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: Yet another tech support bleg</title>
	<atom:link href="http://timesandseasons.org/index.php/2005/12/yet-another-tech-support-bleg/feed/" rel="self" type="application/rss+xml" />
	<link>http://timesandseasons.org/index.php/2005/12/yet-another-tech-support-bleg/</link>
	<description>Truth Will Prevail</description>
	<lastBuildDate>Thu, 24 May 2012 04:49:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: danithew</title>
		<link>http://timesandseasons.org/index.php/2005/12/yet-another-tech-support-bleg/#comment-111046</link>
		<dc:creator>danithew</dc:creator>
		<pubDate>Wed, 07 Dec 2005 14:39:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.timesandseasons.org/?p=2763#comment-111046</guid>
		<description>Kaimi, speaking of coding changes ... I think it would be good for the sideblog if people could comment on the links provided there -- whether to express approval/disapproval of the comments provided or to add thoughts regarding the content of the links themselves.  Any chance of that ever happening?</description>
		<content:encoded><![CDATA[<p>Kaimi, speaking of coding changes &#8230; I think it would be good for the sideblog if people could comment on the links provided there &#8212; whether to express approval/disapproval of the comments provided or to add thoughts regarding the content of the links themselves.  Any chance of that ever happening?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaimi Wenger</title>
		<link>http://timesandseasons.org/index.php/2005/12/yet-another-tech-support-bleg/#comment-110873</link>
		<dc:creator>Kaimi Wenger</dc:creator>
		<pubDate>Tue, 06 Dec 2005 14:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.timesandseasons.org/?p=2763#comment-110873</guid>
		<description>Thank you, Bryce.  It works like a charm!</description>
		<content:encoded><![CDATA[<p>Thank you, Bryce.  It works like a charm!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryce I</title>
		<link>http://timesandseasons.org/index.php/2005/12/yet-another-tech-support-bleg/#comment-110872</link>
		<dc:creator>Bryce I</dc:creator>
		<pubDate>Tue, 06 Dec 2005 14:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.timesandseasons.org/?p=2763#comment-110872</guid>
		<description>SELECT SELECT ID, comment_ID, comment_content, comment_author, post_title
FROM wp_comments INNER JOIN (wp_posts INNER JOIN wp_post2cat ON wp_posts.ID = wp_post2cat.post_id) ON wp_comments.comment_post_ID = wp_posts.ID
WHERE (((wp_post2cat.category_id)=62));

Make appropriate replacements of table names with php variables

There may be some naming problems with fields.</description>
		<content:encoded><![CDATA[<p>SELECT SELECT ID, comment_ID, comment_content, comment_author, post_title<br />
FROM wp_comments INNER JOIN (wp_posts INNER JOIN wp_post2cat ON wp_posts.ID = wp_post2cat.post_id) ON wp_comments.comment_post_ID = wp_posts.ID<br />
WHERE (((wp_post2cat.category_id)=62));</p>
<p>Make appropriate replacements of table names with php variables</p>
<p>There may be some naming problems with fields.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryce I</title>
		<link>http://timesandseasons.org/index.php/2005/12/yet-another-tech-support-bleg/#comment-110871</link>
		<dc:creator>Bryce I</dc:creator>
		<pubDate>Tue, 06 Dec 2005 14:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.timesandseasons.org/?p=2763#comment-110871</guid>
		<description>Kaimi --

IM me.</description>
		<content:encoded><![CDATA[<p>Kaimi &#8211;</p>
<p>IM me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaimi Wenger</title>
		<link>http://timesandseasons.org/index.php/2005/12/yet-another-tech-support-bleg/#comment-110869</link>
		<dc:creator>Kaimi Wenger</dc:creator>
		<pubDate>Tue, 06 Dec 2005 13:15:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.timesandseasons.org/?p=2763#comment-110869</guid>
		<description>Hi,

Yeah, I guess it would help if you knew the database structure.  wp_posts, wp_comments, and wp_post2cat are all tables that are off of the main database, which is wpdb.  

Also, thanks for the suggestion (which, alas, isn&#039;t working, though I&#039;m continuing to tinker).  

Variations that are also not working:

&lt;blockquote&gt;
global $wpdb, $tablecomments, $tableposts, $tablepost2cat;
$request = &quot;SELECT ID, comment_ID, comment_content, comment_author, post_title, FROM $tablecomments LEFT JOIN $tableposts ON $tableposts.ID=$tablecomments.comment_post_ID WHERE post_status = &#039;publish&#039; LEFT JOIN $tablepost2cat ON ($tableposts.ID = $tablepost2cat.post_id) WHERE category_id = &#039;62&#039;&quot;;&lt;/blockquote&gt;

and
&lt;blockquote&gt;
SELECT ID, comment_ID, comment_content, comment_author, post_title, FROM $tablecomments LEFT JOIN $tableposts ON $tableposts.ID=$tablecomments.comment_post_ID LEFT JOIN $tablepost2cat ON $tablepost2cat.post_id=$tablecomments.comment_post_ID WHERE post_status = &#039;publish&#039; and category_id = &#039;62&#039;&lt;/blockquote&gt;

and

&lt;blockquote&gt;SELECT ID, comment_ID, comment_content, comment_author, post_title, FROM $tablecomments LEFT JOIN $tableposts ON $tableposts.ID=$tablecomments.comment_post_ID WHERE post_status = &#039;publish&#039; LEFT JOIN $tablepost2cat ON $tablepost2cat.post_id=$tablecomments.comment_post_ID WHERE category_id = &#039;62&#039;&lt;/blockquote&gt;

I&#039;m a pro at generating non-working queries . . .</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Yeah, I guess it would help if you knew the database structure.  wp_posts, wp_comments, and wp_post2cat are all tables that are off of the main database, which is wpdb.  </p>
<p>Also, thanks for the suggestion (which, alas, isn&#8217;t working, though I&#8217;m continuing to tinker).  </p>
<p>Variations that are also not working:</p>
<blockquote><p>
global $wpdb, $tablecomments, $tableposts, $tablepost2cat;<br />
$request = &#8220;SELECT ID, comment_ID, comment_content, comment_author, post_title, FROM $tablecomments LEFT JOIN $tableposts ON $tableposts.ID=$tablecomments.comment_post_ID WHERE post_status = &#8216;publish&#8217; LEFT JOIN $tablepost2cat ON ($tableposts.ID = $tablepost2cat.post_id) WHERE category_id = &#8217;62&#8242;&#8221;;</p></blockquote>
<p>and</p>
<blockquote><p>
SELECT ID, comment_ID, comment_content, comment_author, post_title, FROM $tablecomments LEFT JOIN $tableposts ON $tableposts.ID=$tablecomments.comment_post_ID LEFT JOIN $tablepost2cat ON $tablepost2cat.post_id=$tablecomments.comment_post_ID WHERE post_status = &#8216;publish&#8217; and category_id = &#8217;62&#8242;</p></blockquote>
<p>and</p>
<blockquote><p>SELECT ID, comment_ID, comment_content, comment_author, post_title, FROM $tablecomments LEFT JOIN $tableposts ON $tableposts.ID=$tablecomments.comment_post_ID WHERE post_status = &#8216;publish&#8217; LEFT JOIN $tablepost2cat ON $tablepost2cat.post_id=$tablecomments.comment_post_ID WHERE category_id = &#8217;62&#8242;</p></blockquote>
<p>I&#8217;m a pro at generating non-working queries . . .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark N.</title>
		<link>http://timesandseasons.org/index.php/2005/12/yet-another-tech-support-bleg/#comment-110841</link>
		<dc:creator>Mark N.</dc:creator>
		<pubDate>Tue, 06 Dec 2005 06:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.timesandseasons.org/?p=2763#comment-110841</guid>
		<description>Oops.  Left something out:

SELECT ID, comment_ID, comment_content, comment_author, post_title, FROM $tablecomments LEFT JOIN $tableposts ON $tableposts.ID=$tablecomments.comment_post_ID
LEFT JOIN wp_post2cat ON wp_post2cat.post_id=$tablecomments.comment_post_ID
WHERE post_status = â€˜publishâ€™ and wp_Post2cat.category_id = â€˜62â€²

Or something like that.</description>
		<content:encoded><![CDATA[<p>Oops.  Left something out:</p>
<p>SELECT ID, comment_ID, comment_content, comment_author, post_title, FROM $tablecomments LEFT JOIN $tableposts ON $tableposts.ID=$tablecomments.comment_post_ID<br />
LEFT JOIN wp_post2cat ON wp_post2cat.post_id=$tablecomments.comment_post_ID<br />
WHERE post_status = â€˜publishâ€™ and wp_Post2cat.category_id = â€˜62â€²</p>
<p>Or something like that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark N.</title>
		<link>http://timesandseasons.org/index.php/2005/12/yet-another-tech-support-bleg/#comment-110839</link>
		<dc:creator>Mark N.</dc:creator>
		<pubDate>Tue, 06 Dec 2005 06:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.timesandseasons.org/?p=2763#comment-110839</guid>
		<description>Given that I&#039;m flying blind in your database, and that I don&#039;t know the structure of your tables, I&#039;m guessing that you&#039;d want to do something like

SELECT ID, comment_ID, comment_content, comment_author, post_title, FROM $tablecomments LEFT JOIN $tableposts ON $tableposts.ID=$tablecomments.comment_post_ID 
LEFT JOIN wp_post2cat ON wp_post2cat.post_id=$tablecomments.comment_post_ID
WHERE post_status = â€˜publishâ€™

But, like I said, it&#039;s kind of a stab in the dark.  You can string just about as many LEFT JOINs together as you want in these things.</description>
		<content:encoded><![CDATA[<p>Given that I&#8217;m flying blind in your database, and that I don&#8217;t know the structure of your tables, I&#8217;m guessing that you&#8217;d want to do something like</p>
<p>SELECT ID, comment_ID, comment_content, comment_author, post_title, FROM $tablecomments LEFT JOIN $tableposts ON $tableposts.ID=$tablecomments.comment_post_ID<br />
LEFT JOIN wp_post2cat ON wp_post2cat.post_id=$tablecomments.comment_post_ID<br />
WHERE post_status = â€˜publishâ€™</p>
<p>But, like I said, it&#8217;s kind of a stab in the dark.  You can string just about as many LEFT JOINs together as you want in these things.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
