<?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 Support Forums &#187; Topic: HACK: User avatar from WPMU Avatar Plugin</title>
		<link>http://bbpress.org/forums/topic/hack-user-avatar-from-wpmu-avatar-plugin</link>
		<description>bbPress Support Forums &#187; Topic: HACK: User avatar from WPMU Avatar Plugin</description>
		<language>en-US</language>
		<pubDate>Fri, 25 May 2012 11:28:34 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/forums/rss/topic/hack-user-avatar-from-wpmu-avatar-plugin" rel="self" type="application/rss+xml" />

		<item>
			<title>liyucmh1314 on "HACK: User avatar from WPMU Avatar Plugin"</title>
			<link>http://bbpress.org/forums/topic/hack-user-avatar-from-wpmu-avatar-plugin#post-95255</link>
			<pubDate>Tue, 06 Dec 2011 13:02:57 +0000</pubDate>
			<dc:creator>liyucmh1314</dc:creator>
			<guid isPermaLink="false">95255@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>so cool, thanks a lot!
</p>]]></description>
					</item>
		<item>
			<title>Bloggsbe on "HACK: User avatar from WPMU Avatar Plugin"</title>
			<link>http://bbpress.org/forums/topic/hack-user-avatar-from-wpmu-avatar-plugin#post-7804</link>
			<pubDate>Sat, 02 Jun 2007 08:45:49 +0000</pubDate>
			<dc:creator>Bloggsbe</dc:creator>
			<guid isPermaLink="false">7804@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hi!</p>
<p>I've made a plugin to do the same. Makes it easy to show the avatar in posts and profile. It's just to drop one line in e.g. post.php, and the avatars shows up.</p>
<p>You can check it out -&#62; <a href="http://bloggs.be/bbpress_avatars.zip">download</a>.<br />
--<br />
Rune
</p>]]></description>
					</item>
		<item>
			<title>Hempsworth on "HACK: User avatar from WPMU Avatar Plugin"</title>
			<link>http://bbpress.org/forums/topic/hack-user-avatar-from-wpmu-avatar-plugin#post-6912</link>
			<pubDate>Sun, 22 Apr 2007 18:27:18 +0000</pubDate>
			<dc:creator>Hempsworth</dc:creator>
			<guid isPermaLink="false">6912@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Awesome, thanks for this!
</p>]]></description>
					</item>
		<item>
			<title>nolageek on "HACK: User avatar from WPMU Avatar Plugin"</title>
			<link>http://bbpress.org/forums/topic/hack-user-avatar-from-wpmu-avatar-plugin#post-6580</link>
			<pubDate>Tue, 10 Apr 2007 00:25:41 +0000</pubDate>
			<dc:creator>nolageek</dc:creator>
			<guid isPermaLink="false">6580@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>oh neat! :) You're very welcome.
</p>]]></description>
					</item>
		<item>
			<title>suleiman on "HACK: User avatar from WPMU Avatar Plugin"</title>
			<link>http://bbpress.org/forums/topic/hack-user-avatar-from-wpmu-avatar-plugin#post-6571</link>
			<pubDate>Mon, 09 Apr 2007 15:54:12 +0000</pubDate>
			<dc:creator>suleiman</dc:creator>
			<guid isPermaLink="false">6571@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>thanks for the hack vincent, I'm glad to see you got it integrated into bbpress. I'm using your hack myself :)
</p>]]></description>
					</item>
		<item>
			<title>nolageek on "HACK: User avatar from WPMU Avatar Plugin"</title>
			<link>http://bbpress.org/forums/topic/hack-user-avatar-from-wpmu-avatar-plugin#post-6526</link>
			<pubDate>Sun, 08 Apr 2007 09:48:04 +0000</pubDate>
			<dc:creator>nolageek</dc:creator>
			<guid isPermaLink="false">6526@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>If anyone is using <a href="http://mu.wordpress.org/forums/topic.php?id=3858&#38;replies=46">' Avatar plugin</a>suleiman, here's a hack I use to show the WPMU's avatar in BBPress:</p>
<p>In post.php, after the <code>&#60;small&#62;&#60;?php post_author_title(); ?&#62;&#60;/small&#62;</code> bit I use the following:</p>
<pre><code>&#60;?php
$userid = get_post_author_id();
$wp_avatar = &#39;/full/path/to/public_html/wp-content/avatars/&#39; .$userid. &#39;.jpg&#39;;
$wp_avatarURL = &#39;/wp-content/avatars/&#39; .$userid. &#39;.jpg&#39;;

if (file_exists($wp_avatar)) {
echo &#39;&#60;img class=&#34;avatar&#34; src=&#34;&#39;. $wp_avatarURL.&#39;&#34; /&#62;&#39;;
}
?&#62;</code></pre>
<p>Probably not the most elegant, but it works:</p>
<p><a href="http://blognola.org/forums" rel="nofollow">http://blognola.org/forums</a></p>
<p>Vincent
</p>]]></description>
					</item>

	</channel>
</rss>

