<?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: profile - Recent Posts</title>
		<link>http://bbpress.org/plugins/tags/profile</link>
		<description>bbPress Plugin Browser &#187; Tag: profile - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 02:26:31 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/plugins/rss/tags/profile" 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>stevenitforall on "User Photo"</title>
			<link>http://bbpress.org/plugins/topic/user-photo-for-bbpress/page/2/#post-6497</link>
			<pubDate>Fri, 06 May 2011 10:45:42 +0000</pubDate>
			<dc:creator>stevenitforall</dc:creator>
			<guid isPermaLink="false">6497@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>since I've integrated with wp can I show user photo from bbpress without install this plugin? Thanks in advance.
</p>]]></description>
					</item>
		<item>
			<title>stevenitforall on "User Photo"</title>
			<link>http://bbpress.org/plugins/topic/user-photo-for-bbpress/page/2/#post-6496</link>
			<pubDate>Fri, 06 May 2011 10:44:09 +0000</pubDate>
			<dc:creator>stevenitforall</dc:creator>
			<guid isPermaLink="false">6496@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>I cannot activate the plugin. I have fatal error: Cannot redeclare userphoto_profile_update() (previously declared in /wp-content/plugins/user-photo/user-photo.php:316)</p>
<p>Anyone can help to sort it out please?
</p>]]></description>
					</item>
		<item>
			<title>PS Vita on "User Photo"</title>
			<link>http://bbpress.org/plugins/topic/user-photo-for-bbpress/page/2/#post-6486</link>
			<pubDate>Mon, 02 May 2011 16:08:27 +0000</pubDate>
			<dc:creator>PS Vita</dc:creator>
			<guid isPermaLink="false">6486@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>The latest version
</p>]]></description>
					</item>
		<item>
			<title>PS Vita Games on "User Photo"</title>
			<link>http://bbpress.org/plugins/topic/user-photo-for-bbpress/page/2/#post-6412</link>
			<pubDate>Wed, 16 Mar 2011 11:55:23 +0000</pubDate>
			<dc:creator>PS Vita Games</dc:creator>
			<guid isPermaLink="false">6412@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>What BB version are you using?
</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>joan3691 on "User Photo"</title>
			<link>http://bbpress.org/plugins/topic/user-photo-for-bbpress/page/2/#post-5736</link>
			<pubDate>Mon, 26 Apr 2010 22:42:18 +0000</pubDate>
			<dc:creator>joan3691</dc:creator>
			<guid isPermaLink="false">5736@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Hey! I don't get this, I can't even get the upload box to be displayed. I put the following code at this position (within the stars):</p>
<p>&#60;?php bb_get_header(); ?&#62;</p>
<p>&#60;div class="bbcrumb"&#62;<a>"&#62;&#60;?php bb_option('name'); ?&#62;</a> &#187; <a>"&#62;&#60;?php echo get_user_display_name( $user_id ); ?&#62;</a> &#187; &#60;?php _e('Edit Profile'); ?&#62;&#60;/div&#62;<br />
&#60;h2 id="userlogin" role="main"&#62;&#60;?php echo get_user_display_name( $user-&#62;ID ); ?&#62; &#60;small&#62;(&#60;?php echo get_user_name( $user-&#62;ID ); ?&#62;)&#60;/small&#62;&#60;/h2&#62;<br />
&#60;form method="post" action="&#60;?php profile_tab_link( $user-&#62;ID, 'edit', BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS ); ?&#62;"&#62;<br />
&#60;fieldset&#62;<br />
&#60;legend&#62;&#60;?php _e('Profile Info'); ?&#62;&#60;/legend&#62;<br />
&#60;?php bb_profile_data_form(); ?&#62;<br />
&#60;/fieldset&#62;</p>
<p>//******************************************************<br />
&#60;?php<br />
if (function_exists('userphoto_display_selector_fieldset'))<br />
    userphoto_display_selector_fieldset($user-&#62;ID);<br />
?&#62;</p>
<p>&#60;?php<br />
if (function_exists('bb_get_photo'))<br />
    bb_get_photo($id);<br />
?&#62;<br />
/******************************************************</p>
<p>&#60;?php if ( bb_current_user_can( 'edit_users' ) ) : ?&#62;<br />
&#60;fieldset&#62;<br />
&#60;legend&#62;&#60;?php _e('Administration'); ?&#62;&#60;/legend&#62;<br />
&#60;?php bb_profile_admin_form(); ?&#62;<br />
&#60;/fieldset&#62;<br />
&#60;?php endif; ?&#62;</p>
<p>&#60;?php if ( bb_current_user_can( 'change_user_password', $user-&#62;ID ) ) : ?&#62;<br />
&#60;fieldset&#62;<br />
&#60;legend&#62;&#60;?php _e('Password'); ?&#62;&#60;/legend&#62;<br />
&#60;p&#62;&#60;?php _e('To change your password, enter a new password twice below:'); ?&#62;&#60;/p&#62;<br />
&#60;?php bb_profile_password_form(); ?&#62;<br />
&#60;/fieldset&#62;<br />
&#60;?php endif; ?&#62;<br />
&#60;p class="submit right"&#62;<br />
  &#60;input type="submit" name="Submit" value="&#60;?php echo esc_attr__( 'Update Profile &#187;' ); ?&#62;" /&#62;<br />
&#60;/p&#62;<br />
&#60;/form&#62;<br />
&#60;form method="post" action="&#60;?php profile_tab_link($user-&#62;ID, 'edit');  ?&#62;"&#62;<br />
&#60;p class="submit left"&#62;<br />
&#60;?php bb_nonce_field( 'edit-profile_' . $user-&#62;ID ); ?&#62;<br />
&#60;?php user_delete_button(); ?&#62;<br />
&#60;/p&#62;<br />
&#60;/form&#62;</p>
<p>&#60;?php bb_get_footer(); ?&#62;</p>
<p>Is it the right code? And is it at the right place?
</p>]]></description>
					</item>

	</channel>
</rss>

