<?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"
	>
<channel>
	<title>Comments on: How To Add Avatars To Your WordPress 2.5 Theme</title>
	<atom:link href="http://www.dyers.org/blog/archives/2008/05/21/how-to-add-avatars-to-your-wordpress-25-theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dyers.org/blog/archives/2008/05/21/how-to-add-avatars-to-your-wordpress-25-theme/</link>
	<description>Helping You Through Right Now</description>
	<pubDate>Wed, 03 Dec 2008 23:49:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Clint</title>
		<link>http://www.dyers.org/blog/archives/2008/05/21/how-to-add-avatars-to-your-wordpress-25-theme/#comment-51248</link>
		<dc:creator>Clint</dc:creator>
		<pubDate>Sat, 26 Jul 2008 16:47:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.dyers.org/blog/?p=1639#comment-51248</guid>
		<description>Thanks for the help! Worked like a charm when I was setting up Wordpress 2.6. I wonder why they didn't change the template to show the avatar in the default theme?</description>
		<content:encoded><![CDATA[<p>Thanks for the help! Worked like a charm when I was setting up Wordpress 2.6. I wonder why they didn&#8217;t change the template to show the avatar in the default theme?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.dyers.org/blog/archives/2008/05/21/how-to-add-avatars-to-your-wordpress-25-theme/#comment-49052</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Sat, 19 Jul 2008 15:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.dyers.org/blog/?p=1639#comment-49052</guid>
		<description>@Saeed: Add the following code and change the 82 until the comment lines up.

.commentlist p {
	font-weight: normal;
	text-transform: none;
	margin: 10px 5px 10px 82px;
	}</description>
		<content:encoded><![CDATA[<p>@Saeed: Add the following code and change the 82 until the comment lines up.</p>
<p>.commentlist p {<br />
	font-weight: normal;<br />
	text-transform: none;<br />
	margin: 10px 5px 10px 82px;<br />
	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saeed</title>
		<link>http://www.dyers.org/blog/archives/2008/05/21/how-to-add-avatars-to-your-wordpress-25-theme/#comment-49005</link>
		<dc:creator>Saeed</dc:creator>
		<pubDate>Sat, 19 Jul 2008 04:59:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.dyers.org/blog/?p=1639#comment-49005</guid>
		<description>A very simply put yet excellent tutorial. Thank you very much for it. :)

I'm having some trouble with aligning the actual comment with the author's name and metadata, as you have set on this very page. The CSS code actually doesn't contain any .commentlist p. Could you possible guide me here?</description>
		<content:encoded><![CDATA[<p>A very simply put yet excellent tutorial. Thank you very much for it. <img src='http://www.dyers.org/WordPress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m having some trouble with aligning the actual comment with the author&#8217;s name and metadata, as you have set on this very page. The CSS code actually doesn&#8217;t contain any .commentlist p. Could you possible guide me here?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.dyers.org/blog/archives/2008/05/21/how-to-add-avatars-to-your-wordpress-25-theme/#comment-43176</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Tue, 17 Jun 2008 15:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.dyers.org/blog/?p=1639#comment-43176</guid>
		<description>@Chelle: That would require a call to each commenter's blog to grab their icon.  It's similar to what Buddy Love does in the sidebar, but I think you'd have to build a plugin to efficiently make the calls to the other sites, because I'm not sure that the code is built into Wordpress like the Gravatar support is.</description>
		<content:encoded><![CDATA[<p>@Chelle: That would require a call to each commenter&#8217;s blog to grab their icon.  It&#8217;s similar to what Buddy Love does in the sidebar, but I think you&#8217;d have to build a plugin to efficiently make the calls to the other sites, because I&#8217;m not sure that the code is built into Wordpress like the Gravatar support is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chelle</title>
		<link>http://www.dyers.org/blog/archives/2008/05/21/how-to-add-avatars-to-your-wordpress-25-theme/#comment-43076</link>
		<dc:creator>Chelle</dc:creator>
		<pubDate>Mon, 16 Jun 2008 14:07:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.dyers.org/blog/?p=1639#comment-43076</guid>
		<description>Sorry, another thought - I think perhaps the ones I know who have avatars are set up in the WordPress profile settings that they have, and not actually a gravatar. When I checked their comments on other sites and looked at the source code for the avatar, it is coming up as a WordPress image, not gravatar. How would I account for pulling these as well?

Thanks again!</description>
		<content:encoded><![CDATA[<p>Sorry, another thought - I think perhaps the ones I know who have avatars are set up in the WordPress profile settings that they have, and not actually a gravatar. When I checked their comments on other sites and looked at the source code for the avatar, it is coming up as a WordPress image, not gravatar. How would I account for pulling these as well?</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chelle</title>
		<link>http://www.dyers.org/blog/archives/2008/05/21/how-to-add-avatars-to-your-wordpress-25-theme/#comment-43070</link>
		<dc:creator>Chelle</dc:creator>
		<pubDate>Mon, 16 Jun 2008 12:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.dyers.org/blog/?p=1639#comment-43070</guid>
		<description>This was great and I was able to easily install it. My question, though, is that once installed all of my comments showed up with default avatar images, when I know many of those commenting have specified avatars. Am I missing where to pull them from?

Thanks for the help.</description>
		<content:encoded><![CDATA[<p>This was great and I was able to easily install it. My question, though, is that once installed all of my comments showed up with default avatar images, when I know many of those commenting have specified avatars. Am I missing where to pull them from?</p>
<p>Thanks for the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.dyers.org/blog/archives/2008/05/21/how-to-add-avatars-to-your-wordpress-25-theme/#comment-42864</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Thu, 12 Jun 2008 13:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.dyers.org/blog/?p=1639#comment-42864</guid>
		<description>You could make a call to the database, but that assumes that everyone will store the icon in the same place.  It's also another call to the database that you don't really need.  You could also eliminate the call to the default icon altogether because Gravatar will use it's own default icon if no default icon is specified.

Does that help?</description>
		<content:encoded><![CDATA[<p>You could make a call to the database, but that assumes that everyone will store the icon in the same place.  It&#8217;s also another call to the database that you don&#8217;t really need.  You could also eliminate the call to the default icon altogether because Gravatar will use it&#8217;s own default icon if no default icon is specified.</p>
<p>Does that help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sa</title>
		<link>http://www.dyers.org/blog/archives/2008/05/21/how-to-add-avatars-to-your-wordpress-25-theme/#comment-42838</link>
		<dc:creator>sa</dc:creator>
		<pubDate>Thu, 12 Jun 2008 00:20:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.dyers.org/blog/?p=1639#comment-42838</guid>
		<description>Sorry my post didn't show the php lines.

I"ll try again....

-----------------------

I’ve seen elsewhere in the Wordpress code lines that seem to call the site url dynamically from the database (?), such as this:

bloginfo ('stylesheet_directory');  ?  &#62;  /images/Avatar.jpg

(ignore the extra spaces)

I was thinking that in your line of code:

get_avatar (   $  comment, '50', 'http://mysite.com/default.png'  )

the “http://mysite.com/” could be created by asking wordpress database for the sites url.

-----------------------</description>
		<content:encoded><![CDATA[<p>Sorry my post didn&#8217;t show the php lines.</p>
<p>I&#8221;ll try again&#8230;.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>I’ve seen elsewhere in the Wordpress code lines that seem to call the site url dynamically from the database (?), such as this:</p>
<p>bloginfo (&#8217;stylesheet_directory&#8217;);  ?  &gt;  /images/Avatar.jpg</p>
<p>(ignore the extra spaces)</p>
<p>I was thinking that in your line of code:</p>
<p>get_avatar (   $  comment, &#8216;50&#8242;, &#8216;http://mysite.com/default.png&#8217;  )</p>
<p>the “http://mysite.com/” could be created by asking wordpress database for the sites url.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sa</title>
		<link>http://www.dyers.org/blog/archives/2008/05/21/how-to-add-avatars-to-your-wordpress-25-theme/#comment-42837</link>
		<dc:creator>sa</dc:creator>
		<pubDate>Thu, 12 Jun 2008 00:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.dyers.org/blog/?p=1639#comment-42837</guid>
		<description>Thanks for your reply.

I don't think I explained myself very well.

If you were creating a theme on your home computer running PHP and Apache, and you want to link directly to a image, you would use a link such as:

http://localhost:8888/wordpress/images/default-avatar.gif

But once you move that online, say, to http://www.foobar.com, the localhost link will no longer work requiring you to manually change the link in the comments.php file eg to something like this:

http://www.foobar.com/wordpress/images/default-avatar.gif


I've seen elsewhere in the Wordpress code lines that seem to call the site url dynamically from the database (?), such as this:

/images/Avatar.jpg

I was thinking that in your line of code:
 

the "http://mysite.com/" could be created by asking wordpress database for the sites url. 

I know very little php and can't seem to create the right code to  create the link to my default avatar.

Would you know how to do that?

I hope that is clearer.

S</description>
		<content:encoded><![CDATA[<p>Thanks for your reply.</p>
<p>I don&#8217;t think I explained myself very well.</p>
<p>If you were creating a theme on your home computer running PHP and Apache, and you want to link directly to a image, you would use a link such as:</p>
<p><a href="http://localhost:8888/wordpress/images/default-avatar.gif" rel="nofollow">http://localhost:8888/wordpress/images/default-avatar.gif</a></p>
<p>But once you move that online, say, to <a href="http://www.foobar.com" rel="nofollow">http://www.foobar.com</a>, the localhost link will no longer work requiring you to manually change the link in the comments.php file eg to something like this:</p>
<p><a href="http://www.foobar.com/wordpress/images/default-avatar.gif" rel="nofollow">http://www.foobar.com/wordpress/images/default-avatar.gif</a></p>
<p>I&#8217;ve seen elsewhere in the Wordpress code lines that seem to call the site url dynamically from the database (?), such as this:</p>
<p>/images/Avatar.jpg</p>
<p>I was thinking that in your line of code:</p>
<p>the &#8220;http://mysite.com/&#8221; could be created by asking wordpress database for the sites url. </p>
<p>I know very little php and can&#8217;t seem to create the right code to  create the link to my default avatar.</p>
<p>Would you know how to do that?</p>
<p>I hope that is clearer.</p>
<p>S</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.dyers.org/blog/archives/2008/05/21/how-to-add-avatars-to-your-wordpress-25-theme/#comment-42825</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Wed, 11 Jun 2008 20:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.dyers.org/blog/?p=1639#comment-42825</guid>
		<description>Because there is no icon stored at gravatar.com, there is no way to pull the site from them.  All they store an e-mail and a picture.  Is that what you mean?</description>
		<content:encoded><![CDATA[<p>Because there is no icon stored at gravatar.com, there is no way to pull the site from them.  All they store an e-mail and a picture.  Is that what you mean?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
