<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Plugin: Recent Commenters</title>
	<link>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/</link>
	<description>pro-gram-mer: n. a person who converts coffee into code</description>
	<pubDate>Sat, 26 Jul 2008 01:43:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: FORUM JEUNES - 7ème édition - &#187; Recent Commenters and Commented on posts</title>
		<link>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-88729</link>
		<dc:creator>FORUM JEUNES - 7ème édition - &#187; Recent Commenters and Commented on posts</dc:creator>
		<pubDate>Sat, 20 Jan 2007 15:33:33 +0000</pubDate>
		<guid>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-88729</guid>
		<description>[...] UPDATE There’s been a bit of debate about the need for a central database of plugins. There’s a lot of developers now developing plugins, and it’s quite a task to find them as a user, as well as a developer to see if something you want to do has already been done. In any case - this plugin has apparently already been done by coffee2code.com (with only some minimal differences). [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] UPDATE There’s been a bit of debate about the need for a central database of plugins. There’s a lot of developers now developing plugins, and it’s quite a task to find them as a user, as well as a developer to see if something you want to do has already been done. In any case - this plugin has apparently already been done by <a href="http://coffee2code.com" title="http://coffee2code.com" class="autohyperlink" target="_blank">coffee2code.com</a> (with only some minimal differences). [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-64</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Thu, 15 Jul 2004 04:33:43 +0000</pubDate>
		<guid>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-64</guid>
		<description>Ruby,
Revisit the page where I posted your customized code (linked via the second comment in this post).  I've updated it to omit unapproved comments.  The updated line of code, reproduced below, was given this new bit: &lt;code&gt;comment_approved = '1' AND &lt;/code&gt;

&lt;h4&gt;
$sql = "SELECT comment_date, comment_author, comment_ID FROM $tablecomments WHERE comment_approved = '1' AND comment_post_ID = $row-&gt;ID ORDER BY comment_date DESC LIMIT $num_show_comments";
&lt;/h4&gt;</description>
		<content:encoded><![CDATA[<p>Ruby,<br />
Revisit the page where I posted your customized code (linked via the second comment in this post).  I&#8217;ve updated it to omit unapproved comments.  The updated line of code, reproduced below, was given this new bit: <code>comment_approved = &#039;1&#039; AND </code></p>
<p><pre><h4>
$sql = &quot;SELECT comment_date, comment_author, comment_ID FROM $tablecomments WHERE comment_approved = &#039;1&#039; AND comment_post_ID = $row-&gt;ID ORDER BY comment_date DESC LIMIT $num_show_comments&quot;;
</h4></pre></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruby Sinreich</title>
		<link>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-63</link>
		<dc:creator>Ruby Sinreich</dc:creator>
		<pubDate>Thu, 15 Jul 2004 03:58:08 +0000</pubDate>
		<guid>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-63</guid>
		<description>Eww, what's "borthing?"  I mean to say "bothering."  :}</description>
		<content:encoded><![CDATA[<p>Eww, what&#8217;s &#8220;borthing?&#8221;  I mean to say &#8220;bothering.&#8221;  :}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruby Sinreich</title>
		<link>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-62</link>
		<dc:creator>Ruby Sinreich</dc:creator>
		<pubDate>Thu, 15 Jul 2004 03:57:06 +0000</pubDate>
		<guid>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-62</guid>
		<description>Sorry to keep borthing you, Scott.  I have a small problem, my recent comments list is showing comments that haven't been approved yet!  Is there a setting I can toggle in your script to only display approved comments?

As always, thanks for your amazing work!</description>
		<content:encoded><![CDATA[<p>Sorry to keep borthing you, Scott.  I have a small problem, my recent comments list is showing comments that haven&#8217;t been approved yet!  Is there a setting I can toggle in your script to only display approved comments?</p>
<p>As always, thanks for your amazing work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruby Sinreich</title>
		<link>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-49</link>
		<dc:creator>Ruby Sinreich</dc:creator>
		<pubDate>Sat, 10 Jul 2004 20:43:09 +0000</pubDate>
		<guid>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-49</guid>
		<description>Sorry to be such a pain in your ass, but I think I fixed it!  I had a bunch of configurations in the get_recent_commenters from when I was messing with that.  I cleared those out and now it looks good. 

Thanks again, and sorry again!  Keep the great plug-ins coming...</description>
		<content:encoded><![CDATA[<p>Sorry to be such a pain in your ass, but I think I fixed it!  I had a bunch of configurations in the get_recent_commenters from when I was messing with that.  I cleared those out and now it looks good. </p>
<p>Thanks again, and sorry again!  Keep the great plug-ins coming&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruby Sinreich</title>
		<link>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-42</link>
		<dc:creator>Ruby Sinreich</dc:creator>
		<pubDate>Fri, 09 Jul 2004 22:58:55 +0000</pubDate>
		<guid>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-42</guid>
		<description>Yep, I pasted it directly from your instructions.  Here's what the whole line looks like:
&lt;code&gt;    foreach (get_recently_commented($num_posts, '', '') as $post) {
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Yep, I pasted it directly from your instructions.  Here&#8217;s what the whole line looks like:<br />
<pre><code>    foreach (get_recently_commented($num_posts, &#039;&#039;, &#039;&#039;) as $post) {
</code></pre></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-32</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Fri, 09 Jul 2004 05:10:36 +0000</pubDate>
		<guid>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-32</guid>
		<description>Hmmm, can you verify that in your sample2_recently_commented() function, that the call to get_recently_commented() (a call which is necessary) does NOT have ANY spaces between the pair of single-quote characters in the second and third argument to the function.  Should be like:
&lt;h4&gt;get_recently_commented($num_posts, '', '')&lt;/h4&gt;
If the second and third arguments are '' (a pair of single-quotes without a space in between), get_recently_commented() is not supposed to echo/display the basic formatting.  So I'd like to rule out the simple stuff.  It ran fine for me on a test blog.</description>
		<content:encoded><![CDATA[<p>Hmmm, can you verify that in your sample2_recently_commented() function, that the call to get_recently_commented() (a call which is necessary) does NOT have ANY spaces between the pair of single-quote characters in the second and third argument to the function.  Should be like:<br />
<h4>get_recently_commented($num_posts, &#039;&#039;, &#039;&#039;)</h4><br />
If the second and third arguments are &#8221; (a pair of single-quotes without a space in between), get_recently_commented() is not supposed to echo/display the basic formatting.  So I&#8217;d like to rule out the simple stuff.  It ran fine for me on a test blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruby Sinreich</title>
		<link>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-28</link>
		<dc:creator>Ruby Sinreich</dc:creator>
		<pubDate>Fri, 09 Jul 2004 02:27:35 +0000</pubDate>
		<guid>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-28</guid>
		<description>OK, something weird: somehow sample2_recently_comment is calling get_recently_commented within it.  Have a look and you'll see: &lt;a href="http://wp.orangepolitics.org"&gt;WP.OrangePolitics.org&lt;/a&gt;.

I've added some text to show where it is in the script.</description>
		<content:encoded><![CDATA[<p>OK, something weird: somehow sample2_recently_comment is calling get_recently_commented within it.  Have a look and you&#8217;ll see: <a href="http://wp.orangepolitics.org">WP.OrangePolitics.org</a>.</p>
<p>I&#8217;ve added some text to show where it is in the script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ruby Sinreich</title>
		<link>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-27</link>
		<dc:creator>Ruby Sinreich</dc:creator>
		<pubDate>Fri, 09 Jul 2004 01:57:23 +0000</pubDate>
		<guid>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-27</guid>
		<description>Thank you, Scott!  You are officially my favorite plug-in author!!!</description>
		<content:encoded><![CDATA[<p>Thank you, Scott!  You are officially my favorite plug-in author!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-25</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Thu, 08 Jul 2004 06:11:09 +0000</pubDate>
		<guid>http://coffee2code.com/archives/2004/07/07/plugin-recent-commenters/#comment-25</guid>
		<description>Yours was a little more complex to implement than Icyshard's request, but I think I did it.  Go &lt;a href="http://www.coffee2code.com/wp-plugins/samples/using-recently-commented.phps"&gt;here&lt;/a&gt; and refer to the second function on that page, sample2_recently_commented().  Theoretically, you'd just have to do:

&lt;h4&gt;&#60;?php sample2_recently_commented(); ?&gt;&lt;/h4&gt;

and you'd get what you currently have under MT.  Like I said for Icyshard, you can paste that function into your copy of recently_commented.php, or into the myhacks.php file (you'll have to find help on using that file yourself).  Hope it helps!</description>
		<content:encoded><![CDATA[<p>Yours was a little more complex to implement than Icyshard&#8217;s request, but I think I did it.  Go <a href="http://www.coffee2code.com/wp-plugins/samples/using-recently-commented.phps">here</a> and refer to the second function on that page, sample2_recently_commented().  Theoretically, you&#8217;d just have to do:</p>
<p><h4>&amp;lt;?php sample2_recently_commented(); ?&gt;</h4></p>
<p>and you&#8217;d get what you currently have under MT.  Like I said for Icyshard, you can paste that function into your copy of recently_commented.php, or into the myhacks.php file (you&#8217;ll have to find help on using that file yourself).  Hope it helps!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
