<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<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>WordPress &#8250; Support Topic: How to add subscribers photo to their comments</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: How to add subscribers photo to their comments</description>
<language>en</language>
<pubDate>Sat, 04 Jul 2009 09:57:36 +0000</pubDate>

<item>
<title>mzeecedric on "How to add subscribers photo to their comments"</title>
<link>http://wordpress.org/support/topic/142074#post-643666</link>
<pubDate>Mon, 05 Nov 2007 12:51:05 +0000</pubDate>
<dc:creator>mzeecedric</dc:creator>
<guid isPermaLink="false">643666@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I would like to add Avatars (Similar to Gravatar) to the &#60;strong&#62;comments of subcribers and authors&#60;/strong&#62;. To add a picture to the posts I simply use the Template Tag &#60;code&#62;get_the_author_ID()&#60;/code&#62; in combination with &#60;a href=&#34;http://www.cimatti.it/blog/cimy-wordpress-plugins/cimy-user-extra-fields/&#34;&#62;Cimy User Extra Fields Plugin&#60;/a&#62;. I can't figure a possibility to get the comments author (profile) ID within a comment. I think I would need s.th. as &#60;code&#62;get_the_comment_author_ID ()&#60;/code&#62;. I'm quite a php and template newbie so I hope I'm just missing some idea how to get this done.&#60;/p&#62;
&#60;p&#62;This is the code-snippet I use to add a profile picture within the post:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
  $value = get_cimyFieldValue(get_the_author_ID(), 'PHOTO');&#60;br /&#62;
  if ($value == NULL) {&#60;br /&#62;
     $value = '...default.png';&#60;br /&#62;
} ?&#38;gt;&#60;br /&#62;
&#38;lt;img src=&#34;&#38;lt;?php echo $value ?&#38;gt;&#34; title=&#34;&#38;lt;?php the_author() ?&#38;gt;&#34; /&#38;gt;&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
