<?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: Help Sought: Do you know Wordpress and PHP?</title>
	<atom:link href="http://blog.stevepoland.com/help-sought-do-you-know-wordpress-and-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stevepoland.com/help-sought-do-you-know-wordpress-and-php/</link>
	<description>web entrepreneur &#124; obsessed music fan &#124; b-lo forever!</description>
	<lastBuildDate>Fri, 25 Jun 2010 14:32:45 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: James D Kirk</title>
		<link>http://blog.stevepoland.com/help-sought-do-you-know-wordpress-and-php/comment-page-1/#comment-527</link>
		<dc:creator>James D Kirk</dc:creator>
		<pubDate>Sat, 17 Mar 2007 19:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://stevepoland.com/?p=166#comment-527</guid>
		<description>Talk about &quot;Ask and you shall receive&quot;!

Looking forward to seeing and using that code. Thanks Steve and Chip!</description>
		<content:encoded><![CDATA[<p>Talk about &#8220;Ask and you shall receive&#8221;!</p>
<p>Looking forward to seeing and using that code. Thanks Steve and Chip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Poland</title>
		<link>http://blog.stevepoland.com/help-sought-do-you-know-wordpress-and-php/comment-page-1/#comment-526</link>
		<dc:creator>Steve Poland</dc:creator>
		<pubDate>Sat, 17 Mar 2007 17:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://stevepoland.com/?p=166#comment-526</guid>
		<description>Chip Haynor, Sr. Project Consultant, of &lt;a href=&quot;http://www.centresource.com&quot; rel=&quot;nofollow&quot;&gt;CentreSource&lt;/a&gt; in Nashville was able to send me the needed code -- Thanks Chip!!!  I&#039;ll update the post to include a link to the code.</description>
		<content:encoded><![CDATA[<p>Chip Haynor, Sr. Project Consultant, of <a href="http://www.centresource.com" rel="nofollow" target="_blank">CentreSource</a> in Nashville was able to send me the needed code &#8212; Thanks Chip!!!  I&#8217;ll update the post to include a link to the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James D Kirk</title>
		<link>http://blog.stevepoland.com/help-sought-do-you-know-wordpress-and-php/comment-page-1/#comment-525</link>
		<dc:creator>James D Kirk</dc:creator>
		<pubDate>Sat, 17 Mar 2007 17:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://stevepoland.com/?p=166#comment-525</guid>
		<description>Hey Steve,

I&#039;m going to look into this this afternoon/evening, right after I get back from the hardware store with a new angle stop for the hot water side under my kitchen sink. I installed a new faucet yesterday, and the old valve had some stripped threading making it impossible to hook up my dishwasher. And I will not code, as my business partner so eloquently posted yesterday &lt;a href=&quot;http://boldlygoing.com/joseph/2007-03/code-like-a-girl/trackback/&quot; rel=&quot;nofollow&quot;&gt;my girl code&lt;/a&gt; with dish pan hands!

If you recall our conversation when you told me about your use of Official Comments plugin on your site, you&#039;ll know that I want to have it at our site as well. I like your concepts of differentiating, visually users of different levels. If it&#039;s not solved by later today, I&#039;ll jump in with what you&#039;ve done thus far and see if we can&#039;t whip up something we can both use, and release out there as well!

&lt;em&gt;Go Boldly!&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Hey Steve,</p>
<p>I&#8217;m going to look into this this afternoon/evening, right after I get back from the hardware store with a new angle stop for the hot water side under my kitchen sink. I installed a new faucet yesterday, and the old valve had some stripped threading making it impossible to hook up my dishwasher. And I will not code, as my business partner so eloquently posted yesterday <a href="http://boldlygoing.com/joseph/2007-03/code-like-a-girl/trackback/" rel="nofollow" target="_blank">my girl code</a> with dish pan hands!</p>
<p>If you recall our conversation when you told me about your use of Official Comments plugin on your site, you&#8217;ll know that I want to have it at our site as well. I like your concepts of differentiating, visually users of different levels. If it&#8217;s not solved by later today, I&#8217;ll jump in with what you&#8217;ve done thus far and see if we can&#8217;t whip up something we can both use, and release out there as well!</p>
<p><em>Go Boldly!</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dryan</title>
		<link>http://blog.stevepoland.com/help-sought-do-you-know-wordpress-and-php/comment-page-1/#comment-524</link>
		<dc:creator>dryan</dc:creator>
		<pubDate>Sat, 17 Mar 2007 17:00:02 +0000</pubDate>
		<guid isPermaLink="false">http://stevepoland.com/?p=166#comment-524</guid>
		<description>Here it is, your moment of Zen:

&lt;code&gt;
&lt;ol class=&quot;commentlist&quot;&gt;

    &lt;?php foreach ($comments as $comment) : $author_meta = new WP_User($comment-&gt;user_id); $author_level = $author_meta-&gt;roles[&#039;0&#039;]; ?&gt;

        &lt;!--&lt;li class=&quot;&lt;?php echo $oddcomment; ?&gt;&quot; id=&quot;comment-&lt;?php comment_ID() ?&gt;&quot;&gt;--&gt;
&lt;li class=&quot;comment &lt;?php if($author_level != null) { echo &quot;comment&quot; . ucwords($author_level) . &quot;User&quot;; } ?&gt;&quot; id=&quot;comment-&lt;?php comment_ID() ?&gt;&quot;&gt;

                        &lt;?php if(function_exists(&quot;MyAvatars&quot;))  MyAvatars(); ?&gt;
            &lt;cite&gt;&lt;?php comment_author_link() ?&gt;&lt;/cite&gt; Says:
            &lt;?php if ($comment-&gt;comment_approved == &#039;0&#039;) : ?&gt;
            &lt;em&gt;Your comment is awaiting moderation.&lt;/em&gt;
            &lt;?php endif; ?&gt;
            &lt;br /&gt;

            &lt;small class=&quot;commentmetadata&quot;&gt;&lt;a href=&quot;#comment-&lt;?php comment_ID() ?&gt;&quot; title=&quot;&quot;&gt;&lt;?php comment_date(&#039;F jS, Y&#039;) ?&gt; at &lt;?php comment_time() ?&gt;&lt;/a&gt; &lt;?php edit_comment_link(&#039;e&#039;,&#039;&#039;,&#039;&#039;); ?&gt;&lt;/small&gt;

            &lt;?php comment_text() ?&gt;


        &lt;/li&gt;

    &lt;?php /* Changes every other comment to a different class */
        if (&#039;alt&#039; == $oddcomment) $oddcomment = &#039;&#039;;
        else $oddcomment = &#039;alt&#039;;
    ?&gt;

    &lt;?php endforeach; /* end for each comment */ ?&gt;

    &lt;/ol&gt;</description>
		<content:encoded><![CDATA[<p>Here it is, your moment of Zen:</p>
<p><code><br />
&lt;ol class="commentlist"&gt;</p>
<p>    &lt;?php foreach ($comments as $comment) : $author_meta = new WP_User($comment-&gt;user_id); $author_level = $author_meta-&gt;roles['0']; ?&gt;</p>
<p>        &lt;!--&lt;li class="&lt;?php echo $oddcomment; ?&gt;" id="comment-&lt;?php comment_ID() ?&gt;"&gt;--&gt;<br />
&lt;li class="comment &lt;?php if($author_level != null) { echo "comment" . ucwords($author_level) . "User"; } ?&gt;" id="comment-&lt;?php comment_ID() ?&gt;"&gt;</p>
<p>                        &lt;?php if(function_exists("MyAvatars"))  MyAvatars(); ?&gt;<br />
            &lt;cite&gt;&lt;?php comment_author_link() ?&gt;&lt;/cite&gt; Says:<br />
            &lt;?php if ($comment-&gt;comment_approved == '0') : ?&gt;<br />
            &lt;em&gt;Your comment is awaiting moderation.&lt;/em&gt;<br />
            &lt;?php endif; ?&gt;<br />
            &lt;br /&gt;</p>
<p>            &lt;small class="commentmetadata"&gt;&lt;a href="#comment-&lt;?php comment_ID() ?&gt;" title=""&gt;&lt;?php comment_date('F jS, Y') ?&gt; at &lt;?php comment_time() ?&gt;&lt;/a&gt; &lt;?php edit_comment_link('e','',''); ?&gt;&lt;/small&gt;</p>
<p>            &lt;?php comment_text() ?&gt;</p>
<p>        &lt;/li&gt;</p>
<p>    &lt;?php /* Changes every other comment to a different class */<br />
        if ('alt' == $oddcomment) $oddcomment = '';<br />
        else $oddcomment = 'alt';<br />
    ?&gt;</p>
<p>    &lt;?php endforeach; /* end for each comment */ ?&gt;</p>
<p>    &lt;/ol&gt;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Poland</title>
		<link>http://blog.stevepoland.com/help-sought-do-you-know-wordpress-and-php/comment-page-1/#comment-523</link>
		<dc:creator>Steve Poland</dc:creator>
		<pubDate>Sat, 17 Mar 2007 09:59:48 +0000</pubDate>
		<guid isPermaLink="false">http://stevepoland.com/?p=166#comment-523</guid>
		<description>Rachel was close on a new reply. Here was my reply to her:

Rachel,

I believe that is taking the userdata of the current logged in user?  Thus, I&#039;m seeing &#039;userlevel-10&#039; when I&#039;m logged in... when I log-out, I get &#039;userlevel-&#039;.  I think you&#039;re close!!

Here&#039;s where I had put that code:
&lt;code&gt;
&lt;?php foreach ($comments as $comment) : ?&gt;

&lt;?php
global $userdata;
get_currentuserinfo();
?&gt;

&lt;li class=&quot;comment userlevel-&lt;?php echo $userdata-&gt;user_level; ?&gt;&quot; id=&quot;comment-&lt;?php comment_ID() ?&gt;&quot;&gt;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Rachel was close on a new reply. Here was my reply to her:</p>
<p>Rachel,</p>
<p>I believe that is taking the userdata of the current logged in user?  Thus, I&#8217;m seeing &#8216;userlevel-10&#8242; when I&#8217;m logged in&#8230; when I log-out, I get &#8216;userlevel-&#8217;.  I think you&#8217;re close!!</p>
<p>Here&#8217;s where I had put that code:<br />
<code>&lt;?php foreach ($comments as $comment) : ?&gt;</p>
<p>&lt;?php<br />
global $userdata;<br />
get_currentuserinfo();<br />
?&gt;</p>
<p>&lt;li class=\&quot;comment userlevel-&lt;?php echo $userdata-&gt;user_level; ?&gt;\&quot; id=\&quot;comment-&lt;?php comment_ID() ?&gt;\&quot;&gt;</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
