<?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: Integrating User Photo with Members List</title>
	<atom:link href="http://www.dquinn.net/integrating-user-photo-with-members-list/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dquinn.net/integrating-user-photo-with-members-list/</link>
	<description>Daniel J. Quinn&#039;s journal of WordPress, electronic publishing, and general geek culture.</description>
	<lastBuildDate>Mon, 26 Jul 2010 19:03:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: William Gardner</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-4387</link>
		<dc:creator>William Gardner</dc:creator>
		<pubDate>Wed, 21 Jul 2010 08:23:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-4387</guid>
		<description>Hi,

Althought the &#039;userphoto_thumbnail&#039; code does display the thumbnails rather than the full size images, a problem happens:

The list of members thumbnail images are now displayed outside of the the #tern_members div, meaning they are positioned incorrectly.

I&#039;m guessing that changing to display &#039;userphoto_thumbnail&#039; means that the code becomes unreferenced somewhere so that it&#039;s not part of the correctly postioned loop?

Hope you can help.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Althought the 'userphoto_thumbnail' code does display the thumbnails rather than the full size images, a problem happens:</p>
<p>The list of members thumbnail images are now displayed outside of the the #tern_members div, meaning they are positioned incorrectly.</p>
<p>I'm guessing that changing to display 'userphoto_thumbnail' means that the code becomes unreferenced somewhere so that it's not part of the correctly postioned loop?</p>
<p>Hope you can help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Quinn</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-3465</link>
		<dc:creator>Daniel Quinn</dc:creator>
		<pubDate>Fri, 19 Mar 2010 03:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-3465</guid>
		<description>The code in question just displays the author photo in the author template if it exists, otherwise it displays the author&#039;s default gravatar.</description>
		<content:encoded><![CDATA[<p>The code in question just displays the author photo in the author template if it exists, otherwise it displays the author's default gravatar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Quinn</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-3464</link>
		<dc:creator>Daniel Quinn</dc:creator>
		<pubDate>Fri, 19 Mar 2010 03:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-3464</guid>
		<description>Did you enclose the code in php brackets?</description>
		<content:encoded><![CDATA[<p>Did you enclose the code in php brackets?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-3461</link>
		<dc:creator>Anne</dc:creator>
		<pubDate>Thu, 18 Mar 2010 16:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-3461</guid>
		<description>I ended up removing your recommended code above, and instead put the following code in the author template:

get_queried_object()) ?&gt;

This fixed my problem of not getting the author photo to show.  But is your code still necessary to fully integrate the user photo plugin with the author template for some other reason?

I&#039;m using WP 2.9.2 with the Atahualpa theme; Members List 2.9.1, and User Photo 0.9.4.

Also FYI, in order to get the &#039;search by alpha&#039; function to display in the members page, I had to revise the following in the members.php file:

old:
members(array(&#039;search&#039;=&gt;true,&#039;pagination&#039;=&gt;true,&#039;sort&#039;=&gt;true));
?&gt;

new:
members(array(&#039;search&#039;=&gt;true,&#039;alpha&#039;=&gt;true,&#039;pagination&#039;=&gt;true,&#039;sort&#039;=&gt;true));
?&gt;</description>
		<content:encoded><![CDATA[<p>I ended up removing your recommended code above, and instead put the following code in the author template:</p>
<p>get_queried_object()) ?&gt;</p>
<p>This fixed my problem of not getting the author photo to show.  But is your code still necessary to fully integrate the user photo plugin with the author template for some other reason?</p>
<p>I'm using WP 2.9.2 with the Atahualpa theme; Members List 2.9.1, and User Photo 0.9.4.</p>
<p>Also FYI, in order to get the 'search by alpha' function to display in the members page, I had to revise the following in the members.php file:</p>
<p>old:<br />
members(array('search'=&gt;true,'pagination'=&gt;true,'sort'=&gt;true));<br />
?&gt;</p>
<p>new:<br />
members(array('search'=&gt;true,'alpha'=&gt;true,'pagination'=&gt;true,'sort'=&gt;true));<br />
?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-3459</link>
		<dc:creator>Anne</dc:creator>
		<pubDate>Thu, 18 Mar 2010 14:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-3459</guid>
		<description>Sorry - my comment above didn&#039;t show the code brackets properly - obviously I&#039;m total newbie here.

I copied and pasted your code into my author template file, where I thought it should go in the definition list, but the only output I get is a display of that code in my author page instead of the author photo.</description>
		<content:encoded><![CDATA[<p>Sorry - my comment above didn't show the code brackets properly - obviously I'm total newbie here.</p>
<p>I copied and pasted your code into my author template file, where I thought it should go in the definition list, but the only output I get is a display of that code in my author page instead of the author photo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-3458</link>
		<dc:creator>Anne</dc:creator>
		<pubDate>Thu, 18 Mar 2010 14:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-3458</guid>
		<description>I&#039;m having trouble adding this code to the definition list in the author template:

&lt;code&gt;echo &quot;Photo&quot;;
if(userphoto_exists($curauth-&gt;ID)) {
     echo &quot;&quot;.userphoto($curauth).&quot;&quot;;
} else {
     echo &quot;&quot;.get_avatar($curauth-&gt;ID, 64).&quot;&quot;;
}&lt;/code&gt;

Do you have an example of exactly where to add it in the dl?</description>
		<content:encoded><![CDATA[<p>I'm having trouble adding this code to the definition list in the author template:</p>
<p><code>echo "Photo";<br />
if(userphoto_exists($curauth-&gt;ID)) {<br />
     echo "".userphoto($curauth)."";<br />
} else {<br />
     echo "".get_avatar($curauth-&gt;ID, 64)."";<br />
}</code></p>
<p>Do you have an example of exactly where to add it in the dl?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Quinn</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-1961</link>
		<dc:creator>Daniel Quinn</dc:creator>
		<pubDate>Thu, 12 Nov 2009 20:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-1961</guid>
		<description>Strange, I would chalk it up to a borked file on my end if it hadn&#039;t worked for the other users who commented here. Did anyone else who followed this tutorial use the files I provided, or did you all start with plugins from the WP repository and modify them?</description>
		<content:encoded><![CDATA[<p>Strange, I would chalk it up to a borked file on my end if it hadn't worked for the other users who commented here. Did anyone else who followed this tutorial use the files I provided, or did you all start with plugins from the WP repository and modify them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Bathgate</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-1909</link>
		<dc:creator>Tom Bathgate</dc:creator>
		<pubDate>Tue, 10 Nov 2009 22:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-1909</guid>
		<description>Hi Daniel,

I did yes, but it was still adding photos but with unapproved status. I added the code exactly as it is at the end of the other functions in my file. Its very odd. I took the other users solutions from that forum post you linked to as a temporary solution until i can get the problem sorted. I don&#039;t want to have to make that change everytime the module is updated</description>
		<content:encoded><![CDATA[<p>Hi Daniel,</p>
<p>I did yes, but it was still adding photos but with unapproved status. I added the code exactly as it is at the end of the other functions in my file. Its very odd. I took the other users solutions from that forum post you linked to as a temporary solution until i can get the problem sorted. I don't want to have to make that change everytime the module is updated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Quinn</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-1908</link>
		<dc:creator>Daniel Quinn</dc:creator>
		<pubDate>Tue, 10 Nov 2009 22:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-1908</guid>
		<description>That&#039;s odd, did you add to your functions.php the fix from the tutorial to force approval of user photos?

[php]
// auto approval in user photo plugin
add_action( &#039;profile_update&#039; , &#039;auto_approve_photo&#039; , 1000 );
function auto_approve_photo() {
	global $current_user;
	if ( defined( &#039;IS_PROFILE_PAGE&#039; ) ) {
		update_usermeta( $current_user-&gt;ID , &#039;userphoto_approvalstatus&#039; , USERPHOTO_APPROVED );
	}
}
[/php]</description>
		<content:encoded><![CDATA[<p>That's odd, did you add to your functions.php the fix from the tutorial to force approval of user photos?</p>
<pre class="brush: php;">
// auto approval in user photo plugin
add_action( 'profile_update' , 'auto_approve_photo' , 1000 );
function auto_approve_photo() {
	global $current_user;
	if ( defined( 'IS_PROFILE_PAGE' ) ) {
		update_usermeta( $current_user->ID , 'userphoto_approvalstatus' , USERPHOTO_APPROVED );
	}
}
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Bathgate</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-1877</link>
		<dc:creator>Tom Bathgate</dc:creator>
		<pubDate>Tue, 10 Nov 2009 00:19:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-1877</guid>
		<description>I discovered the problem. The code is doing as it supposed to, except the userphoto module isn&#039;t automatically approving the picutre, once i went into the user via the admin and approve the picture it all worked fine.

Will need to find a way to get the function code to work. Thanks for the suggestions</description>
		<content:encoded><![CDATA[<p>I discovered the problem. The code is doing as it supposed to, except the userphoto module isn't automatically approving the picutre, once i went into the user via the admin and approve the picture it all worked fine.</p>
<p>Will need to find a way to get the function code to work. Thanks for the suggestions</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Bathgate</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-1876</link>
		<dc:creator>Tom Bathgate</dc:creator>
		<pubDate>Mon, 09 Nov 2009 23:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-1876</guid>
		<description>HI Daniel, thanks for getting back so quickly to me. I tried with the default install and v 2.8 and it didn&#039;t work. I tried with the default install and version 2.4 and it didn&#039;t work. I uploaded your code file as well and it made no difference. I&#039;m totally stumped.

I can&#039;t post the url online. Cna i email it to you?</description>
		<content:encoded><![CDATA[<p>HI Daniel, thanks for getting back so quickly to me. I tried with the default install and v 2.8 and it didn't work. I tried with the default install and version 2.4 and it didn't work. I uploaded your code file as well and it made no difference. I'm totally stumped.</p>
<p>I can't post the url online. Cna i email it to you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Quinn</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-1875</link>
		<dc:creator>Daniel Quinn</dc:creator>
		<pubDate>Mon, 09 Nov 2009 22:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-1875</guid>
		<description>Try to apply the edits to 2.4 (or use my file), then post a link to your installation if possible. 

You might also test this implementation on the Default theme to be sure it is not something in your theme that&#039;s affecting the plugin...</description>
		<content:encoded><![CDATA[<p>Try to apply the edits to 2.4 (or use my file), then post a link to your installation if possible. </p>
<p>You might also test this implementation on the Default theme to be sure it is not something in your theme that's affecting the plugin...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Bathgate</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-1874</link>
		<dc:creator>Tom Bathgate</dc:creator>
		<pubDate>Mon, 09 Nov 2009 22:36:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-1874</guid>
		<description>Thanks for the prompt reply! I&#039;ve disabled all plugins except user photo and members list and still only gravatars. I wonder if i should take the plugin back to version 2.4? 

I have followed the instructions to the letter and am lost with no idea what to do :-(</description>
		<content:encoded><![CDATA[<p>Thanks for the prompt reply! I've disabled all plugins except user photo and members list and still only gravatars. I wonder if i should take the plugin back to version 2.4? </p>
<p>I have followed the instructions to the letter and am lost with no idea what to do <img src='http://www.dquinn.net/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Quinn</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-1873</link>
		<dc:creator>Daniel Quinn</dc:creator>
		<pubDate>Mon, 09 Nov 2009 22:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-1873</guid>
		<description>This tutorial was written when Members List 2.4 was out, 2.8.4 is a newer version and I don&#039;t know what the plugin author may have changed. To rule out your installation first, disable all other plugins and see if it works. Otherwise it may be the newer version or your implementation of the plugin.</description>
		<content:encoded><![CDATA[<p>This tutorial was written when Members List 2.4 was out, 2.8.4 is a newer version and I don't know what the plugin author may have changed. To rule out your installation first, disable all other plugins and see if it works. Otherwise it may be the newer version or your implementation of the plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Bathgate</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-1868</link>
		<dc:creator>Tom Bathgate</dc:creator>
		<pubDate>Mon, 09 Nov 2009 21:41:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-1868</guid>
		<description>I&#039;m having a problem with this. I can get the member list to work and the author page to work. 

However I cannot get the userphoto section to work. The code provided above works to the extent where it shows the gravatar or default gravtar selected for the blog with the correct class as specified in the members list code, but it won&#039;t show the userphoto at all.

I&#039;ve tried making the changes mentioned myself, which didn&#039;t work then i tried downloading the files and using them and it still won&#039;t work. I&#039;m stumped as everything else is exactly as it should be and is working. Can you help? I&#039;m using wordpress 2.8.4 and members list version 2.8.4 and userphoto version 0.9.4.

Any help would be appreciated</description>
		<content:encoded><![CDATA[<p>I'm having a problem with this. I can get the member list to work and the author page to work. </p>
<p>However I cannot get the userphoto section to work. The code provided above works to the extent where it shows the gravatar or default gravtar selected for the blog with the correct class as specified in the members list code, but it won't show the userphoto at all.</p>
<p>I've tried making the changes mentioned myself, which didn't work then i tried downloading the files and using them and it still won't work. I'm stumped as everything else is exactly as it should be and is working. Can you help? I'm using wordpress 2.8.4 and members list version 2.8.4 and userphoto version 0.9.4.</p>
<p>Any help would be appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathemans</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-1214</link>
		<dc:creator>Mathemans</dc:creator>
		<pubDate>Thu, 01 Oct 2009 10:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-1214</guid>
		<description>Awesome Tips... Later I will try..</description>
		<content:encoded><![CDATA[<p>Awesome Tips... Later I will try..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Quinn</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-1040</link>
		<dc:creator>Daniel Quinn</dc:creator>
		<pubDate>Wed, 16 Sep 2009 14:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-1040</guid>
		<description>You should be able to call userphoto_thumbnail instead of userphoto in the above code.</description>
		<content:encoded><![CDATA[<p>You should be able to call userphoto_thumbnail instead of userphoto in the above code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barry</title>
		<link>http://www.dquinn.net/integrating-user-photo-with-members-list/#comment-991</link>
		<dc:creator>Barry</dc:creator>
		<pubDate>Tue, 15 Sep 2009 16:20:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.dquinn.net/?p=1866#comment-991</guid>
		<description>One problem with this: the alterations mean that the fullsize images are called instead of thumbnails for the members list. This looks very messy with all the thumbs being squashed unless square. Thumbnails are auto generated, would it be possible to change it to call them instead?</description>
		<content:encoded><![CDATA[<p>One problem with this: the alterations mean that the fullsize images are called instead of thumbnails for the members list. This looks very messy with all the thumbs being squashed unless square. Thumbnails are auto generated, would it be possible to change it to call them instead?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
