<?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>bbPress plugin browser Topic: Avatar Upload</title>
<link>http://bbpress.org/plugins/</link>
<description>bbPress plugin browser Topic: Avatar Upload</description>
<language>en</language>
<pubDate>Sun, 20 Jul 2008 06:09:07 +0000</pubDate>

<item>
<title>elanaspantry on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1405</link>
<pubDate>Wed, 25 Jun 2008 19:11:31 +0000</pubDate>
<dc:creator>elanaspantry</dc:creator>
<guid isPermaLink="false">1405@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;This is a great idea. However, when uploading an avatar the default gravatar feature for bbpress takes over - there's no way to switch gravatars of. I've tried to uncheck the checkbox in my admin panel for gravatars bt everytime I click submit it rechecks itself again.&#60;/p&#62;
&#60;p&#62;Can anyone help?&#60;/p&#62;
&#60;p&#62;I've uninstalled this plugin until it works properly.
&#60;/p&#62;</description>
</item>
<item>
<title>thrca on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1225</link>
<pubDate>Sat, 10 May 2008 23:05:26 +0000</pubDate>
<dc:creator>thrca</dc:creator>
<guid isPermaLink="false">1225@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I had an issue with my host where the uploaded avatars were not getting the proper file permissions..  I added the following to bbpressroot/avatar-upload.php..&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Did we move the image to the avatar folder successfully?
        if ($img_errs == 0 &#38;#38;&#38;#38; !@move_uploaded_file($img_temp, BBPATH . $config-&#38;gt;avatar_dir . $user_filename) )
        {
                $img_errs = 11;
        }

        // Did we set the permissions on the uploaded file properly?
        if ($img_errs == 0 &#38;#38;&#38;#38; !@chmod($config-&#38;gt;avatar_dir . $user_filename, 0644) )
        {
                $img_errs = 13;
        }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;case 12: // custom error code
                                $error_message = __(&#38;quot;The thumbnail file could not be saved to the {$config-&#38;gt;avatar_dir} folder.&#38;quot;);
                                break;
                        case 13: // custom error code
                                $error_message = __(&#38;quot;The file permissions could not be set properly.&#38;quot;);
                                break;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>_ck_ on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1216</link>
<pubDate>Sat, 10 May 2008 02:19:39 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">1216@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I believe there is a a very big bug in function avatarupload_get_avatar&#60;/p&#62;
&#60;p&#62;In certain cases if the $cached part fails because there is no avatar for the requested user, essentially it then ignores the requested $id and instead just uses whatever the current $user-&#38;gt;ID is. So if the current user or user on the profile page is say #3,  but you request #7 who happens to have no avatar,  it will send you #3 anyway.
&#60;/p&#62;</description>
</item>
<item>
<title>BloggerDesign on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1191</link>
<pubDate>Tue, 06 May 2008 15:32:04 +0000</pubDate>
<dc:creator>BloggerDesign</dc:creator>
<guid isPermaLink="false">1191@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Nevermind.  I got mine to work.  Here is what I forgot:&#60;/p&#62;
&#60;p&#62;Don't Forget!&#60;/p&#62;
&#60;p&#62;If you haven't already done so: upload the files in the &#34;additional-files&#34; directory to the following locations.&#60;/p&#62;
&#60;p&#62;    * avatars/ - directory to the location specified on the admin page, rename if neccesary.&#60;br /&#62;
    * avatars/default.png - default avatar image into the directory created above.&#60;br /&#62;
    * avatar-upload.php - bbPress root directory.&#60;br /&#62;
    * my-templates/avatar.php - your my-templates/my-template-name/ (or bb-templates/kakumei/) directory.&#60;/p&#62;
&#60;p&#62;Read the readme.txt file that came with this plugin for more detailed instructions.&#60;/p&#62;
&#60;p&#62;(I got all that from the plugin page within bbPress)
&#60;/p&#62;</description>
</item>
<item>
<title>BloggerDesign on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1190</link>
<pubDate>Tue, 06 May 2008 15:29:28 +0000</pubDate>
<dc:creator>BloggerDesign</dc:creator>
<guid isPermaLink="false">1190@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;jeffwong - I'm not sure this plugin is compatible with bbPress 0.9.* yet.  I have the same issue.
&#60;/p&#62;</description>
</item>
<item>
<title>jeffwong on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1177</link>
<pubDate>Mon, 05 May 2008 09:06:55 +0000</pubDate>
<dc:creator>jeffwong</dc:creator>
<guid isPermaLink="false">1177@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I don't know what happen to my Avatar Upload plug in&#60;br /&#62;
The &#34;Avatar&#34; tab did not appear on the user's Profile menu even I follow all the installation steps and the plug in already activated properly
&#60;/p&#62;</description>
</item>
<item>
<title>monstr on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1103</link>
<pubDate>Sun, 27 Apr 2008 07:53:55 +0000</pubDate>
<dc:creator>monstr</dc:creator>
<guid isPermaLink="false">1103@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;hm the plugin did not chmod properly, so i added this. now it works fine. this is so strange.&#60;br /&#62;
&#60;code&#62;// strange chmod hack for file permissions by monstr&#60;br /&#62;
chmod($config-&#38;gt;avatar_dir . $user_filename, 232);]&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;but somehow the avatars do not show up on topics. theres alwas the gravatar :/&#60;br /&#62;
how can i fix that?
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1096</link>
<pubDate>Sat, 26 Apr 2008 15:05:51 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">1096@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Oh and the Identicon switch does not return success/error status messages or refresh the icon properly upon success because the function cannot return the values globally. So change it to this in &#60;code&#62;avatar-upload.php&#60;/code&#62; in the forum root.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Has user checked the &#38;quot;Use Identicon&#38;quot; option?
if( $_POST[&#38;#39;identicon&#38;#39;] )
{
	felapplyidenticon( $user_id ); // create an identicon
	if (usingidenticon($user_id)) {
	$force_db = 1;	 // force download of new avatar from database
	$success_message = &#38;quot;Your identicon has been made.&#38;quot;;
	} else { $error_message = __(&#38;quot;An unknown error has occurred.&#38;quot;);}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and it will &#34;magically&#34; work properly...  ;-)&#60;/p&#62;
&#60;p&#62;All this improvements can be seen on &#60;a href=&#34;http://bbShowcase.org&#34; rel=&#34;nofollow&#34;&#62;http://bbShowcase.org&#60;/a&#62; if you register and go look at your profile and play with the avatar features.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1095</link>
<pubDate>Sat, 26 Apr 2008 15:03:58 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">1095@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Adding gravatar download support is much more tricky. And this has not really been cleaned up or tweaked but feel free to play with it. I hacked in an fsockopen routine I was developing for another routine since that works even in safe-mode (unlike fopen/copy url and curl is not available on many servers)&#60;/p&#62;
&#60;p&#62;In the &#60;code&#62;avatar.php&#60;/code&#62; template in your theme add something like this in an appropriate spot:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;h3&#38;gt;&#38;lt;?php _e(&#38;#39;Current Gravatar&#38;#39;); ?&#38;gt;&#38;lt;/h3&#38;gt;
&#38;lt;? $grav_url = &#38;quot;http://www.gravatar.com/avatar.php?gravatar_id=&#38;quot;.md5($user-&#38;gt;user_email).&#38;quot;&#38;amp;amp;default=&#38;quot;.urlencode($default);   ?&#38;gt;
&#38;lt;a style=&#38;quot;border:0;text-decoration:none;&#38;quot; target=_blank href=&#38;quot;http://www.gravatar.com&#38;quot;&#38;gt;&#38;lt;img border=0 hspace=40 src=&#38;quot;&#38;lt;?php echo $grav_url; ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;/a&#38;gt;
&#38;lt;form method=&#38;quot;POST&#38;quot; action=&#38;quot;&#38;lt;?php profile_tab_link($user-&#38;gt;ID, &#38;#39;avatar&#38;#39;); ?&#38;gt;&#38;quot;&#38;gt;
&#38;lt;label for=&#38;quot;usegravatar&#38;quot;&#38;gt;&#38;lt;input type=&#38;quot;checkbox&#38;quot; name=&#38;quot;gravatar&#38;quot; value=&#38;quot;1&#38;quot; id=&#38;quot;usegravatar&#38;quot; /&#38;gt; &#38;lt;?php _e(&#38;#39;Use your Gravatar instead?&#38;#39;); ?&#38;gt;&#38;lt;/label&#38;gt;

&#38;lt;input type=&#38;quot;submit&#38;quot; name=&#38;quot;submit&#38;quot; id=&#38;quot;submit&#38;quot; value=&#38;quot;Use Gravatar&#38;quot; /&#38;gt;

&#38;lt;/form&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and then in &#60;code&#62;avatar-upload.php&#60;/code&#62; in the forum root, add all this after the &#60;code&#62;if( $_POST[&#38;#39;identicon&#38;#39;] ) { }&#60;/code&#62; block part (before &#60;code&#62;load the template&#60;/code&#62;):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if( $_POST[&#38;#39;gravatar&#38;#39;] )
{
	$user=bb_get_user($user_id);
	$img=fetch_gravatar($user-&#38;gt;user_email);
	if (!$img[&#38;#39;tmp_name&#38;#39;] &#124;&#124; !file_exists($img[&#38;#39;tmp_name&#38;#39;])) {
		$error_message = __(&#38;quot;An unknown error has occurred.&#38;quot;);
	}
   else {
		$current_avatar = avatarupload_get_avatar($user_id, 0, 1); // for comparison later
		$user_filename = strtolower($user-&#38;gt;user_login).&#38;quot;.jpg&#38;quot;;
		if (@copy($img[&#38;#39;tmp_name&#38;#39;], BBPATH . $config-&#38;gt;avatar_dir . $user_filename)) {		

		// Compare &#38;#39;new&#38;#39; and &#38;#39;current&#38;#39; avatar filenames
		if (!empty($current_avatar[0]) &#38;#38;&#38;#38; $user_filename != $current_avatar[0]) {
			// If different, delete &#38;#39;current&#38;#39; - this will only occur when
			// the new and current avatars have different file extensions.
			@unlink(BBPATH . $config-&#38;gt;avatar_dir . $current_avatar[0]);
		}

		// Add avatar to database as usermeta data (append unix time to help browser caching probs).
		$meta_avatar = $user_filename . &#38;quot;?&#38;quot; . time() . &#38;quot;&#124;&#38;quot; . $img_w . &#38;quot;&#124;&#38;quot; . $img_h . &#38;quot;&#124;avatar-upload&#38;quot;;
		bb_update_usermeta( $user_id, &#38;#39;avatar_file&#38;#39;, $meta_avatar );
		$force_db = 1;	 // force download of new avatar from database
		$success_message = &#38;quot;Your gravatar has been downloaded.&#38;quot;;

		}

	   else { $error_message = __(&#38;quot;An unknown error has occurred.&#38;quot;);}
	}
}

function fetch_gravatar($email) {
$addr=&#38;quot;www.gravatar.com&#38;quot;;
$port=80;
$path=&#38;quot;/avatar.php?gravatar_id=&#38;quot;.md5($email);
$user=&#38;quot;&#38;quot;; $pass=&#38;quot;&#38;quot;; $timeout=&#38;quot;15&#38;quot;;
$agent=&#38;quot;Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)&#38;quot;; 

$handle = fsockopen($addr, $port, $errno, $errstr, $timeout);
$result[&#38;#39;tmp_name&#38;#39;] = tempnam(&#38;quot;gravatarfakedir&#38;quot;,&#38;quot;gravatarprefix&#38;quot;);
$tmpfile= fopen($result[&#38;#39;tmp_name&#38;#39;], &#38;quot;wb&#38;quot;);           

        if (!$handle &#124;&#124; !$result[&#38;#39;tmp_name&#38;#39;])    {
                $result[&#38;#39;code&#38;#39;]=0;
                $result[&#38;#39;response&#38;#39;]=&#38;quot;$errno $errstr&#38;quot;;	// error
                $result[&#38;#39;headers&#38;#39;]=&#38;quot;&#38;quot;;
                $result[&#38;#39;tmp_name&#38;#39;]=&#38;quot;&#38;quot;;
          }
else {
          socket_set_timeout($handle, $timeout);
           if ($path)      {$urlString = &#38;quot;GET $path HTTP/1.0\r\nHost: $addr\r\nConnection: Keep-Alive\r\nUser-Agent: $agent\r\n&#38;quot;;}
           if ($user)      {$urlString .= &#38;quot;Authorization: Basic &#38;quot;.base64_encode(&#38;quot;$user:$pass&#38;quot;).&#38;quot;\r\n&#38;quot;;}
           $urlString .= &#38;quot;\r\n&#38;quot;;

           fputs($handle, $urlString);
           $result[&#38;#39;response&#38;#39;]= fgets($handle);
           $result[&#38;#39;code&#38;#39;]=substr($result[&#38;#39;response&#38;#39;],9,3);
           $result[&#38;#39;headers&#38;#39;]=&#38;quot;&#38;quot;;

           if (in_array($result[&#38;#39;code&#38;#39;],array(&#38;quot;200&#38;quot;,&#38;quot;301&#38;quot;,&#38;quot;302&#38;quot;,&#38;quot;401&#38;quot;)))  {    // Check the status of the link
           	 	$endHeader = false;                     // Strip initial header information
                           while ( !$endHeader &#38;#38;&#38;#38; !feof($handle))       {
                               	$test=fgets($handle);
                               	if (!(strpos(strtolower($test),&#38;quot;location:&#38;quot;)===false)) {$result[&#38;#39;redirect&#38;#39;]=trim(preg_replace(&#38;quot;/location:/i&#38;quot;,&#38;quot;&#38;quot;,$test));}
                                	if ($test== &#38;quot;\r\n&#38;quot;) {  $endHeader = true; } else {$result[&#38;#39;headers&#38;#39;].=$test;}
                             }
                            while (!feof($handle)) {fwrite($tmpfile, fgets($handle, 8192));}
             }
             }

  if ($handle) {fclose($handle);}
  if ($tmpfile) {fclose($tmpfile);}
  return $result;
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>_ck_ on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-1093</link>
<pubDate>Sat, 26 Apr 2008 14:55:17 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">1093@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I'm behind on the most current version because unfortunately I've been hacking on it, but just in case you don't have these abilities yet, I've enhanced this plugin to allow deleting of avatars entirely (very easy to impliment) and also allowing their gravatar to be converted into a locally saved avatar (not so easy ;-)&#60;/p&#62;
&#60;p&#62;To add delete ability:&#60;br /&#62;
In the &#60;code&#62;avatar-upload.php&#60;/code&#62; in the forum root, change at the top:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;if (!empty($_FILES[&#38;#39;p_browse&#38;#39;]))&#60;/code&#62;&#60;br /&#62;
to&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if( $_POST[&#38;#39;delete&#38;#39;] )
{
		bb_delete_usermeta( $user_id, &#38;#39;avatar_file&#38;#39;);
		$force_db = 1;	 // force download of new avatar from database
		$success_message = &#38;quot;Your avatar has been deleted.&#38;quot;;
}
elseif (!empty($_FILES[&#38;#39;p_browse&#38;#39;]))
{&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;(note how you don't even have to delete the file, just the usermeta)&#60;br /&#62;
Then in the &#60;code&#62;avatar.php&#60;/code&#62; template for the theme you have to add something like this next to the &#34;upload&#34; submit button:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;p&#38;gt;
&#38;lt;input type=&#38;quot;submit&#38;quot; name=&#38;quot;submit&#38;quot; id=&#38;quot;submit&#38;quot; value=&#38;quot;&#38;lt;?php _e(&#38;#39;Upload Avatar&#38;#39;); ?&#38;gt;&#38;quot; /&#38;gt;
 &#38;lt;?php if (avatarupload_get_avatar($user-&#38;gt;ID,1, $force_db)) { ?&#38;gt;
  &#38;amp;nbsp;
&#38;lt;input type=&#38;quot;submit&#38;quot; name=&#38;quot;delete&#38;quot; id=&#38;quot;delete&#38;quot; value=&#38;quot;&#38;lt;?php _e(&#38;#39;Delete Avatar&#38;#39;); ?&#38;gt;&#38;quot; /&#38;gt;
&#38;lt;?php } ?&#38;gt;
&#38;lt;/p&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>citizenkeith on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-980</link>
<pubDate>Sun, 06 Apr 2008 14:22:44 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">980@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;What I meant in my earlier post about &#34;turning off&#34; avatars is an option for one person to globally turn off all avatars. This would help somebody with a slow connection/machine to load pages faster. All other users wouldn't be effected.&#60;/p&#62;
&#60;p&#62;Thanks for the great plugin! Looks to be working well in v0.9.
&#60;/p&#62;</description>
</item>
<item>
<title>retrospec on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-961</link>
<pubDate>Tue, 01 Apr 2008 21:27:01 +0000</pubDate>
<dc:creator>retrospec</dc:creator>
<guid isPermaLink="false">961@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Hello,&#60;br /&#62;
I found that I couldn't figure out how to fix. The avatar image is about 20 pixels lower down than the top of the corresponding forum topic box and the words 'RSS feed for this topic' is partially covered by the avatar.
&#60;/p&#62;</description>
</item>
<item>
<title>DuncanS on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-937</link>
<pubDate>Thu, 13 Mar 2008 21:12:52 +0000</pubDate>
<dc:creator>DuncanS</dc:creator>
<guid isPermaLink="false">937@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Hi&#60;br /&#62;
Great plugin - only problem is it's not displaying the avatars. Upload fine, no problem - images are appearing in the folder with the default.png image. Just not appearing anywhere on the forums. Is there something else I need to be doing?&#60;br /&#62;
Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>louisedade on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-886</link>
<pubDate>Sat, 01 Mar 2008 11:06:59 +0000</pubDate>
<dc:creator>louisedade</dc:creator>
<guid isPermaLink="false">886@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;There is an option on the avatar Admin page:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;Action to take when a user has no avatar present:&#60;br /&#62;
(*) Use the default avatar image&#60;br /&#62;
(  )  Use an auto generated identicon&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Just make sure &#34;use default&#34; is selected.&#60;/p&#62;
&#60;p&#62;Unfortunately, anybody who already has an identicon will still have it - but you could always  delete them directly from the database, or the users could upload their own avatar.&#60;/p&#62;
&#60;p&#62;I ought to add a &#34;delete avatar&#34; option for the user.
&#60;/p&#62;</description>
</item>
<item>
<title>elitestyles on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-878</link>
<pubDate>Wed, 27 Feb 2008 10:54:44 +0000</pubDate>
<dc:creator>elitestyles</dc:creator>
<guid isPermaLink="false">878@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Thanks for a great plugin!&#60;/p&#62;
&#60;p&#62;So i've successfully installed it but one thing which i hate is the Identicon image that is generated if clicked on, cant this be switched to the orginal default.png image? It makes more sense?&#60;/p&#62;
&#60;p&#62;Could someone tell me how i can change the Identicon option in the profile to default.png &#60;/p&#62;
&#60;p&#62;To begin with if the user signs up to the forum it automatically gives the user the default.png as an avatar. great so it he/she decides to upload their own great go into their profile and do so...&#60;/p&#62;
&#60;p&#62;but i hate the fact that the Identicon option in the profile generates some horrible looking image, i would prefer that all user without avatars or choosing to use the default would have the deafult.png&#60;/p&#62;
&#60;p&#62;ok the whole idea of the idenicon is so everyone is different but i hate the way it looks, help?
&#60;/p&#62;</description>
</item>
<item>
<title>citizenkeith on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/5/#post-763</link>
<pubDate>Thu, 31 Jan 2008 15:06:14 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">763@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Thanks for this plugin, and also for updating it. :)&#60;/p&#62;
&#60;p&#62;I'd love to see a way for users to &#34;turn off&#34; avatars if they so choose. Something in the Preferences would be swell. :D
&#60;/p&#62;</description>
</item>
<item>
<title>BloggerDesign on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/4/#post-753</link>
<pubDate>Fri, 25 Jan 2008 20:54:13 +0000</pubDate>
<dc:creator>BloggerDesign</dc:creator>
<guid isPermaLink="false">753@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Thanks, but I didn't see  your response until today. I coded it in my comments using the file_exists PHP function. :)
&#60;/p&#62;</description>
</item>
<item>
<title>goebelmasse on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/4/#post-744</link>
<pubDate>Sat, 19 Jan 2008 14:32:52 +0000</pubDate>
<dc:creator>goebelmasse</dc:creator>
<guid isPermaLink="false">744@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;&#60;a href=&#34;http://bbpress.org/plugins/topic/46/page/4?replies=78#post-693&#34;&#62;Blogger Design asked&#60;/a&#62;:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;How can I pull the avatar into Wordpress' comments? I'd like to show it outside of bbPress also. Is that possible?&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I've done it for WP comments with a simple and dirty hack, but it does not work for identicons. The following code is bad, there is a hardcoded path to the bbPress installation and to the &#60;code&#62;avatars/&#60;/code&#62; subdirectory,  you may need to adapt it.&#60;/p&#62;
&#60;p&#62;Add the following function to your theme's &#60;code&#62;comment.php&#60;/code&#62; and modify it to match your installation:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php&#60;br /&#62;
function bbpress_avatar_hack ()&#60;br /&#62;
{&#60;br /&#62;
  global $comment;&#60;br /&#62;
  $avatar = get_user_option ('avatar_file', $comment-&#38;gt;user_id);&#60;br /&#62;
  if ($comment-&#38;gt;user_id &#38;#38;&#38;#38; $avatar)&#60;br /&#62;
  {&#60;br /&#62;
    $items = explode ('&#124;', $avatar);&#60;br /&#62;
    $filename = $items[0];&#60;br /&#62;
    $width = $items[1];&#60;br /&#62;
    $height = $items[2];&#60;br /&#62;
    if ($items[3] == 'avatar-upload')&#60;br /&#62;
    {&#60;br /&#62;
      // Change here!&#60;br /&#62;
      // forum is the bbPress installation subdirectory&#60;br /&#62;
      // avatars is the directory of uploaded avatars&#60;br /&#62;
      $apath = get_bloginfo ('url') . &#34;/forum/avatars/$filename&#34;;&#60;br /&#62;
      echo &#34;&#38;lt;img src=\&#34;$apath\&#34; width=\&#34;$width\&#34; height=\&#34;$height\&#34; style=\&#34;float:right;\&#34; /&#38;gt;\n&#34;;&#60;br /&#62;
    }&#60;br /&#62;
  }&#60;br /&#62;
}&#60;br /&#62;
?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;In the next step, you have to modify the main loop of the comments display in &#60;code&#62;comments.php&#60;/code&#62; and call the function &#60;code&#62;bbpress_avatar_hack&#60;/code&#62; inside the comment's output.&#60;/p&#62;
&#60;p&#62;A description in german language is available &#60;a href=&#34;http://www.wp-portal.de/p1182-avatare-aus-bbpress-plugin-avatar-upload-in-wordpress-kommentaren-nutzen/.html#post1182&#34;&#62;at the German WordPress Support Portal&#60;/a&#62;.
&#60;/p&#62;</description>
</item>
<item>
<title>newyearwill on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/4/#post-713</link>
<pubDate>Tue, 01 Jan 2008 20:14:50 +0000</pubDate>
<dc:creator>newyearwill</dc:creator>
<guid isPermaLink="false">713@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Hi,  for those who are having problems with missing files i've just seen this in the latest read me file: &#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
IMPORTANT: If the &#60;code&#62;avatars/&#60;/code&#62; and &#60;code&#62;my-templates/&#60;/code&#62; folders (in &#60;code&#62;additional-files/&#60;/code&#62;) are empty in the ZIP archive, please download the files directly from the SVN trunk: &#60;/p&#62;
&#60;p&#62;* &#60;a href=&#34;http://plugins-dev.bbpress.org/browser/avatar-upload/trunk/additional-files/avatars/default.png&#34; rel=&#34;nofollow&#34;&#62;http://plugins-dev.bbpress.org/browser/avatar-upload/trunk/additional-files/avatars/default.png&#60;/a&#62; &#60;/p&#62;
&#60;p&#62;* &#60;a href=&#34;http://plugins-dev.bbpress.org/browser/avatar-upload/trunk/additional-files/my-templates/avatar.php&#34; rel=&#34;nofollow&#34;&#62;http://plugins-dev.bbpress.org/browser/avatar-upload/trunk/additional-files/my-templates/avatar.php&#60;/a&#62; &#60;/p&#62;
&#60;p&#62; For each file above, scroll to the bottom of the page, where it says &#34;Download in other formats&#34; and click on the &#34;Original format&#34; link. &#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Great plugin by the way.  One problem i'm having is that my avatars only seem to work if I set the avatar folder to 777 file permission. Is this safe?
&#60;/p&#62;</description>
</item>
<item>
<title>lostdeviant on "Avatar Upload"</title>
<link>http://bbpress.org/plugins/topic/avatar-upload/page/4/#post-710</link>
<pubDate>Mon, 31 Dec 2007 21:04:15 +0000</pubDate>
<dc:creator>lostdeviant</dc:creator>
<guid isPermaLink="false">710@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;The download seems to be missing several files.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
