<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<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>bbPress Plugin Browser &#187; Tag: avatars - Recent Posts</title>
		<link>http://bbpress.org/plugins/tags/avatars</link>
		<description>bbPress Plugin Browser &#187; Tag: avatars - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 03:41:25 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/plugins/rss/tags/avatars" rel="self" type="application/rss+xml" />

		<item>
			<title>arhlive on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6549</link>
			<pubDate>Fri, 08 Jul 2011 14:45:52 +0000</pubDate>
			<dc:creator>arhlive</dc:creator>
			<guid isPermaLink="false">6549@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>cool plugin, thank you very much!
</p>]]></description>
					</item>
		<item>
			<title>ajz on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6406</link>
			<pubDate>Thu, 10 Mar 2011 19:55:56 +0000</pubDate>
			<dc:creator>ajz</dc:creator>
			<guid isPermaLink="false">6406@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Is there any way to show a bigger avatar on the profile page only?
</p>]]></description>
					</item>
		<item>
			<title>cbusgivesback on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6321</link>
			<pubDate>Thu, 06 Jan 2011 16:22:51 +0000</pubDate>
			<dc:creator>cbusgivesback</dc:creator>
			<guid isPermaLink="false">6321@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Does anyone know the code...and where to include the code...for using a user's "Avatar Upload" avatar as their avatar for WordPress?</p>
<p>My WordPress and bbpress sites are fully integrated, I just don't know PHP so I'm not sure how to use the same avatar for both sites.
</p>]]></description>
					</item>
		<item>
			<title>HeliosPrime on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6253</link>
			<pubDate>Thu, 09 Dec 2010 06:17:21 +0000</pubDate>
			<dc:creator>HeliosPrime</dc:creator>
			<guid isPermaLink="false">6253@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>This plugin seems to no longer be working with the current version of bbPress.  </p>
<p>Clicking the Avatar tab, now just redirects you to the main forum page.
</p>]]></description>
					</item>
		<item>
			<title>newform on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6239</link>
			<pubDate>Wed, 24 Nov 2010 15:46:39 +0000</pubDate>
			<dc:creator>newform</dc:creator>
			<guid isPermaLink="false">6239@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>same problem for me :(
</p>]]></description>
					</item>
		<item>
			<title>gf123 on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6181</link>
			<pubDate>Wed, 27 Oct 2010 06:28:23 +0000</pubDate>
			<dc:creator>gf123</dc:creator>
			<guid isPermaLink="false">6181@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>I have the same problem :(</p>
<p>wp 2.9.2
</p>]]></description>
					</item>
		<item>
			<title>jackdomain on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6167</link>
			<pubDate>Tue, 19 Oct 2010 22:31:19 +0000</pubDate>
			<dc:creator>jackdomain</dc:creator>
			<guid isPermaLink="false">6167@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>I have the same problem. When I click the avatar button it redirects me to the homepage.
</p>]]></description>
					</item>
		<item>
			<title>Craig Chamberlin on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6144</link>
			<pubDate>Wed, 06 Oct 2010 14:33:25 +0000</pubDate>
			<dc:creator>Craig Chamberlin</dc:creator>
			<guid isPermaLink="false">6144@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Mine redirects back to the homepage as well.  Not sure what's going on...
</p>]]></description>
					</item>
		<item>
			<title>alessandro.previti on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6133</link>
			<pubDate>Fri, 01 Oct 2010 10:48:36 +0000</pubDate>
			<dc:creator>alessandro.previti</dc:creator>
			<guid isPermaLink="false">6133@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Thanks to the author for spending time and energies in developing such a useful plugin!</p>
<p>Sadly i can't make it work!<br />
HEEELP! whenever i click on the "avatar" button in the profile page it just sends me back to the main page of my forum... straight!<br />
Why °_° how to make it to work?
</p>]]></description>
					</item>
		<item>
			<title>Talishmas on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6089</link>
			<pubDate>Fri, 03 Sep 2010 23:07:56 +0000</pubDate>
			<dc:creator>Talishmas</dc:creator>
			<guid isPermaLink="false">6089@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>When I try it with Kakumei Theme;<br />
Fatal error: Cannot redeclare add_avatar_tab() (previously declared in /home/ismail26/public_html/forum/my-plugins/bb-avatar-upload.php:170) in /home/ismail26/public_html/forum/avatar-upload.php on line 388<br />
Please help!
</p>]]></description>
					</item>
		<item>
			<title>Talishmas on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6088</link>
			<pubDate>Fri, 03 Sep 2010 21:30:29 +0000</pubDate>
			<dc:creator>Talishmas</dc:creator>
			<guid isPermaLink="false">6088@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>As a last resort;<br />
My English is not very good first, In the part of the tab "Avatar"  when i click the button, i only referred to the main page.I could not understand what could be the problem, maybe there's something I missed please help
</p>]]></description>
					</item>
		<item>
			<title>copperblade on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6045</link>
			<pubDate>Sun, 01 Aug 2010 01:25:52 +0000</pubDate>
			<dc:creator>copperblade</dc:creator>
			<guid isPermaLink="false">6045@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>For those of you who don't like that format, go into avatar-upload.php and remove the following code from the function avatar_resize:</p>
<pre><code>// if either the image width or height is greater than the maximums allowed
        if ($img_w &#62; $config-&#62;max_width &#124;&#124; $img_h &#62; $config-&#62;max_height)
        {
                // To maintain aspect ratio we need to resize proportionally

                if ($img_w &#62; $img_h)
                {
                        // width is greater - make width &#039;max_width&#039; and proportion height
                        $new_width = $config-&#62;max_width;
                        $new_height = round($img_h * ($config-&#62;max_width/$img_w));
                }
                else if ($img_w &#60; $img_h)
                {
                        // height is greater - make height &#039;max_height&#039; and proportion width
                        print $new_width = round($img_w * ($config-&#62;max_height/$img_h));
                        print $new_height = $config-&#62;max_height;
                }
                else
                {
                        // equal (square) - make both &#039;max&#039; values
                        $new_width = $config-&#62;max_width;
                        $new_height = $config-&#62;max_height;
                }
        }
        else
        {
                // image already within maximum limits - do not resize
                return array($img_w, $img_h);
        }</code></pre>
<p>Replace the above with this:</p>
<pre><code>$new_width = $img_w;
        $new_height = $img_h;

        // If the width is too big, adjust based on width
        if ($new_width &#62; $config-&#62;max_width) {
                $new_width = $config-&#62;max_width;
                $new_height = round($img_h * ($config-&#62;max_width/$img_w));
        }

        // If the height is too big, adjust based on height
        if ($new_height &#62; $config-&#62;max_height) {
                $new_width = round($img_w * ($config-&#62;max_height/$img_h));
                $new_height = $config-&#62;max_height;
        }

        // Stop here if no need to resize
        if ($new_width == $img_w &#38;&#38; $new_height == $img_h) return array($img_w, $img_h);</code></pre>]]></description>
					</item>
		<item>
			<title>copperblade on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6044</link>
			<pubDate>Sun, 01 Aug 2010 01:23:03 +0000</pubDate>
			<dc:creator>copperblade</dc:creator>
			<guid isPermaLink="false">6044@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Ok, here's my fix--I rewrote a chunk of code so it's a diff:</p>
<pre><code>193a194,195
&#62;       $new_width = $img_w;
&#62;       $new_height = $img_h;
195,217c197,200
&#60;       // if either the image width or height is greater than the maximums allowed
&#60;       if ($img_w &#62; $config-&#62;max_width &#124;&#124; $img_h &#62; $config-&#62;max_height)
&#60;       {
&#60;               // To maintain aspect ratio we need to resize proportionally
&#60;
&#60;               if ($img_w &#62; $img_h)
&#60;               {
&#60;                       // width is greater - make width &#039;max_width&#039; and proportion height
&#60;                       $new_width = $config-&#62;max_width;
&#60;                       $new_height = round($img_h * ($config-&#62;max_width/$img_w));
&#60;               }
&#60;               else if ($img_w &#60; $img_h)
&#60;               {
&#60;                       // height is greater - make height &#039;max_height&#039; and proportion width
&#60;                       print $new_width = round($img_w * ($config-&#62;max_height/$img_h));
&#60;                       print $new_height = $config-&#62;max_height;
&#60;               }
&#60;               else
&#60;               {
&#60;                       // equal (square) - make both &#039;max&#039; values
&#60;                       $new_width = $config-&#62;max_width;
&#60;                       $new_height = $config-&#62;max_height;
&#60;               }
---
&#62;       // If the width is too big, adjust based on width
&#62;       if ($new_width &#62; $config-&#62;max_width) {
&#62;               $new_width = $config-&#62;max_width;
&#62;               $new_height = round($img_h * ($config-&#62;max_width/$img_w));
219,222c202,206
&#60;       else
&#60;       {
&#60;               // image already within maximum limits - do not resize
&#60;               return array($img_w, $img_h);
---
&#62;
&#62;       // If the height is too big, adjust based on height
&#62;       if ($new_height &#62; $config-&#62;max_height) {
&#62;               $new_width = round($img_w * ($config-&#62;max_height/$img_h));
&#62;               $new_height = $config-&#62;max_height;
224a209,211
&#62;       // Stop here if no need to resize
&#62;       if ($new_width == $img_w &#38;&#38; $new_height == $img_h) return array($img_w, $img_h);
&#62;</code></pre>]]></description>
					</item>
		<item>
			<title>copperblade on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6043</link>
			<pubDate>Sun, 01 Aug 2010 01:11:00 +0000</pubDate>
			<dc:creator>copperblade</dc:creator>
			<guid isPermaLink="false">6043@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Ok so I'm looking at the avatar-upload.php and I think there's some bad programming logic there.  The logic works as long as max_height and max_width settings are equal.  If you are like me, and you have max_height set to a higher number than max_width, funny things start to happen.</p>
<p>For example I have a setting of 150x300 as my max.  When someone tries to upload an image that is 200x300 the code says "ah, the height of your image is larger!  I'll base your shrinkage on the max_height!"  Mathematically it's fine, but it makes the assumption that the height was the problem to begin with--which is incorrect.</p>
<p>I will see if I can fix.
</p>]]></description>
					</item>
		<item>
			<title>copperblade on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/9/#post-6042</link>
			<pubDate>Sun, 01 Aug 2010 00:48:13 +0000</pubDate>
			<dc:creator>copperblade</dc:creator>
			<guid isPermaLink="false">6042@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>This plugin works fine for me on trunk, except for resizing as mentioned on page 7.
</p>]]></description>
					</item>
		<item>
			<title>doobadabba on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/8/#post-5698</link>
			<pubDate>Fri, 23 Apr 2010 04:07:40 +0000</pubDate>
			<dc:creator>doobadabba</dc:creator>
			<guid isPermaLink="false">5698@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Hi Dobbstopper,</p>
<p>That sounds above my skill set.</p>
<p>You could try using the "Bavatars" plugin instead of this one.</p>
<p>Download Bavatars here: <a href="http://bbpress.org/plugins/topic/bavatars/installation/" rel="nofollow">http://bbpress.org/plugins/topic/bavatars/installation/</a></p>
<p>I actually just deactivated "Avatar Upload", and have installed the "Bavatars" plugin, and now I have Bavatars working just fine! Bavatars involved fewer steps than Upload Avatar to get it going - for example with Bavatars I didn't need to modify profile.php and post.php in order for the avatar to be displayed. I'm not sure which one I will stick with tho.
</p>]]></description>
					</item>
		<item>
			<title>dobbstopper on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/8/#post-5697</link>
			<pubDate>Thu, 22 Apr 2010 11:55:00 +0000</pubDate>
			<dc:creator>dobbstopper</dc:creator>
			<guid isPermaLink="false">5697@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>doobadabba, thanks for the information, it helped summarize 8 pages of comments :)</p>
<p>Now that the upload page is showing correctly, it seems that the error message "Filenames may not include the following: # ? &#38; % " &#124; ' * `" whenever I try to upload a file. The file's name has only letters - pic.jpg, so I'm not sure what's wrong here. Any advice would be appreciated
</p>]]></description>
					</item>
		<item>
			<title>doobadabba on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/8/#post-5690</link>
			<pubDate>Mon, 19 Apr 2010 12:12:23 +0000</pubDate>
			<dc:creator>doobadabba</dc:creator>
			<guid isPermaLink="false">5690@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>For sake of anybody trying to get this plugin going, here is what worked for me:</p>
<p>- scour the comments in this thread and golden deliciousness of plugin functionality shall be found:</p>
<p>Namely the following two posts:</p>
<p><a href="http://bbpress.org/plugins/topic/avatar-upload/page/8/#post-5522" rel="nofollow">http://bbpress.org/plugins/topic/avatar-upload/page/8/#post-5522</a><br />
<a href="http://bbpress.org/plugins/topic/avatar-upload/page/8/#post-5039" rel="nofollow">http://bbpress.org/plugins/topic/avatar-upload/page/8/#post-5039</a></p>
<p>They detail the following actions:</p>
<p>commenting out this line 7 in avatar-upload.php like so:</p>
<p>//bb_auth(); // logged in?</p>
<p>And!</p>
<p>... as fundomaat shared, the following also did the trick for me to prevent blank paginess:</p>
<p>"I've repaired the blank page error by putting the avatar.php file inside your template folder inside bb-templates instead of my-templates. "</p>
<p>(in other words, for me, placed avatar.php into my kakumei folder as that is the theme I am using)</p>
<p>-------------------------------</p>
<p>Now, what I have done to display the avatars is the following:</p>
<p>in profile.php (found in my kakumei theme folder) changed the following:</p>
<p>&#60;div id="useravatar"&#62;&#60;?php echo $avatar; ?&#62;&#60;/div&#62;</p>
<p>to this:</p>
<p>&#60;div id="useravatar"&#62; &#60;?php avatarupload_display($user-&#62;ID); ?&#62; &#60;/div&#62;</p>
<p>---------</p>
<p>then in post.php (also found in my kakumei theme folder)</p>
<p>changed the following:</p>
<p>&#60;?php post_author_avatar_link(); ?&#62;</p>
<p>to this:</p>
<p>&#60;?php avatarupload_display(get_post_author_id()); ?&#62;</p>
<p>--------------------------</p>
<p>I'm no code master, so perform at own risk.</p>
<p>Thanks to all yall making this bbpress thing happen! This is by far the best forum system ever!!</p>
<p>Woo hoo! Avatars? Check!!
</p>]]></description>
					</item>
		<item>
			<title>LambWarren on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/8/#post-5522</link>
			<pubDate>Fri, 12 Mar 2010 00:31:38 +0000</pubDate>
			<dc:creator>LambWarren</dc:creator>
			<guid isPermaLink="false">5522@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>@liverlee. try @DanielJuhl's suggestion (above), quoted here:</p>
<p>A lot of you are having problems with Avatar Upload, and the fact that you can't get to the upload-page '.../profile/Username/avatar' - the solution is to open the file 'avatar-upload.php' in the root-dir of bbPress.</p>
<p>Line number 7 must be removed, dimmed out.</p>
<pre><code>/*
This file is part of the Avatar Upload plugin
*/
require_once(&#39;./bb-load.php&#39;); // load bbPress config
//bb_auth(); // logged in?
bb_repermalink(); // Fix pretty-permalinks</code></pre>
<p>I think that bb_auth is an old function from bbPress 0.8.x
</p>]]></description>
					</item>
		<item>
			<title>liverlee on "Avatar Upload"</title>
			<link>http://bbpress.org/plugins/topic/avatar-upload/page/8/#post-5519</link>
			<pubDate>Thu, 11 Mar 2010 13:15:47 +0000</pubDate>
			<dc:creator>liverlee</dc:creator>
			<guid isPermaLink="false">5519@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Can someone please help I have the Same Problem as the last few comments. I've followed all the instructions.</p>
<p>The "Avatar" tab has appeared OK in the profile but when I click on to it I get redirected to My BBpress forum index.<br />
When I hover over the Avatar tab link it points to:  { .../forum/profile.php?id=1&#38;tab=avatar}</p>
<p>I really wanna get this working. Any ideas why it redirects to the index page???
</p>]]></description>
					</item>

	</channel>
</rss>

