<?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; Topic: Use Display Name</title>
		<link>http://bbpress.org/plugins/topic/display-name/</link>
		<description>bbPress Plugin Browser &#187; Topic: Use Display Name</description>
		<language>en-US</language>
		<pubDate>Fri, 25 May 2012 16:05:27 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/plugins/rss/topic/display-name" rel="self" type="application/rss+xml" />

		<item>
			<title>PS Vita Games on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/page/2/#post-6467</link>
			<pubDate>Wed, 20 Apr 2011 14:34:23 +0000</pubDate>
			<dc:creator>PS Vita Games</dc:creator>
			<guid isPermaLink="false">6467@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Please describe your problem why it is not working
</p>]]></description>
					</item>
		<item>
			<title>Beauty Femme on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/page/2/#post-5875</link>
			<pubDate>Fri, 04 Jun 2010 02:35:52 +0000</pubDate>
			<dc:creator>Beauty Femme</dc:creator>
			<guid isPermaLink="false">5875@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>This is not wroking
</p>]]></description>
					</item>
		<item>
			<title>ioloman on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-5704</link>
			<pubDate>Sun, 25 Apr 2010 06:11:46 +0000</pubDate>
			<dc:creator>ioloman</dc:creator>
			<guid isPermaLink="false">5704@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>once activated, it broke my forum !! i'm using bbpress 1.0.2 , will be any updates ?
</p>]]></description>
					</item>
		<item>
			<title>kahi on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-1544</link>
			<pubDate>Sun, 27 Jul 2008 23:31:17 +0000</pubDate>
			<dc:creator>kahi</dc:creator>
			<guid isPermaLink="false">1544@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Great plugin, just needs one simple upgrade... hooks mentioned in first two comments are still not included... :(
</p>]]></description>
					</item>
		<item>
			<title>A1ex on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-1332</link>
			<pubDate>Mon, 02 Jun 2008 17:42:50 +0000</pubDate>
			<dc:creator>A1ex</dc:creator>
			<guid isPermaLink="false">1332@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Old, but very useful plugin :)
</p>]]></description>
					</item>
		<item>
			<title>horrorshow on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-894</link>
			<pubDate>Wed, 05 Mar 2008 07:04:01 +0000</pubDate>
			<dc:creator>horrorshow</dc:creator>
			<guid isPermaLink="false">894@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>This is buggy.  As stated above, you'll have to patch a bunch of files following instructions given in this thread: <a href="http://bbpress.org/forums/topic/cant-add-additional-tags-to-post?replies=13" rel="nofollow">http://bbpress.org/forums/topic/cant-add-additional-tags-to-post?replies=13</a>
</p>]]></description>
					</item>
		<item>
			<title>Hempsworth on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-857</link>
			<pubDate>Thu, 21 Feb 2008 16:27:01 +0000</pubDate>
			<dc:creator>Hempsworth</dc:creator>
			<guid isPermaLink="false">857@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>I think a really nice addition to this plugin would be to add a textfield to the profile page in bbPress which effectively has the same as the "Nickname" field from the usual WP profile page.</p>
<p>This way, forum users never have to see the WP backend, and they will have the ability to change their forum nickname.</p>
<p>How could this be achieved?<br />
I'd happily add this myself if I had the PHP know how :P
</p>]]></description>
					</item>
		<item>
			<title>citizenkeith on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-737</link>
			<pubDate>Wed, 16 Jan 2008 21:47:15 +0000</pubDate>
			<dc:creator>citizenkeith</dc:creator>
			<guid isPermaLink="false">737@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>I'm using this plugin with a fresh install of bbPress 8.3.1 and WordPress 2.3.2. Display names from WordPress are not showing up. I might just edit my bbPress theme, but I'd prefer to have a plugin do this... any word on an update?
</p>]]></description>
					</item>
		<item>
			<title>richcon on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-669</link>
			<pubDate>Sat, 08 Dec 2007 19:51:25 +0000</pubDate>
			<dc:creator>richcon</dc:creator>
			<guid isPermaLink="false">669@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p><code>get_author_name()</code> is a function in the WordPress API, not bbPress. It works you load the WordPress API by putting <code>require_once '/path/to/wordpress/wp-blog-header.php'</code> in your bbPress's config.php file. But all it does is return the user's display_name.</p>
<p>I didn't go that route since loading the entire WordPress API's a bit <em>heavy</em> for something as simple as this, and slows down my site's page load time a lot. So I made a function similar to what ScottDavis did and went with that.
</p>]]></description>
					</item>
		<item>
			<title>ScottDavis on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-642</link>
			<pubDate>Wed, 21 Nov 2007 07:33:25 +0000</pubDate>
			<dc:creator>ScottDavis</dc:creator>
			<guid isPermaLink="false">642@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>eddd54 - should have read this before going to the effort of making this plugin work. You're right about this being better to do in a template than a plugin. I'm removing my changes and using yours.</p>
<p>Not sure if you forgot to mention this, but with at least my setup get_author_name() is not an available function. I created one and put it in header.php:</p>
<p>function get_author_name( $id ) {<br />
	$user = bb_get_user( $id );<br />
	if ( empty($user-&#62;display_name) )<br />
		return $user-&#62;user_login;<br />
	return $user-&#62;display_name;<br />
}
</p>]]></description>
					</item>
		<item>
			<title>ScottDavis on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-641</link>
			<pubDate>Wed, 21 Nov 2007 07:04:55 +0000</pubDate>
			<dc:creator>ScottDavis</dc:creator>
			<guid isPermaLink="false">641@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Did some looking into the permissions problem - details <a href="http://bbpress.org/forums/topic/cant-add-additional-tags-to-post?replies=16#post-12130">here</a>
</p>]]></description>
					</item>
		<item>
			<title>eddd54 on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-612</link>
			<pubDate>Mon, 29 Oct 2007 05:52:24 +0000</pubDate>
			<dc:creator>eddd54</dc:creator>
			<guid isPermaLink="false">612@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>ok, so to work around the problem, and for those who still want to show WP display names in their bbPress templates you can just edit the files in your my-tempaltes directory and replace the bb calls with wp calls..</p>
<p>[topic.php]<br />
replaced <code>get_topic_author()</code><br />
with <code>get_author_name( $topic-&#62;topic_poster )</code><br />
replaced <code>get_topic_last_poster()</code><br />
with <code>get_author_name( $topic-&#62;topic_last_poster )</code></p>
<p>[frontpage.php and forum.php]<br />
replaced <code>topic_last_poster()</code><br />
with <code>echo get_author_name( $topic-&#62;topic_last_poster )</code></p>
<p>[profile.php]<br />
replaced <code>echo get_user_name( $user-&#62;ID )</code><br />
with <code>echo $user-&#62;display_name</code></p>
<p>and so on..</p>
<p>for post.php - if you want the display_name wrapped in a link you can use this slightly modified version of <code>post_author_link()</code></p>
<p><code>function my_post_author_link( $post_id = 0 ) {</code><br />
	<code>if ( $link = get_user_link( get_post_author_id( $post_id ) ) ) {</code><br />
		<code>echo &#39;&#60;a href=&#34;&#39; . attribute_escape( $link ) . &#39;&#34;&#62;&#39; . get_author_name( get_post_author_id( $post_id ) ) . &#39;&#60;/a&#62;&#39;;</code><br />
	<code>} else {</code><br />
		<code>echo get_author_name( get_post_author_id( $post_id ) );</code><br />
	<code>}</code><br />
<code>}</code></p>
<p>i put the function in my header.php file for now.. until i find a better place for it. then, i replaced the call to <code>post_author_link()</code> in my-templates/post.php with <code>my_post_author_link()</code></p>
<p>there's probably a better/shorter way to do this, but to be honest, i think i prefer dealing with display_names as a template issue. I mean, shouldn't we be modifying the display_name on the way out of the database instead of on the way in? This way, if i ever decide to deactivate this plugin (as i just did), i am not left with a mashup of WP display_names and bbPress topic_poster_names in my db..
</p>]]></description>
					</item>
		<item>
			<title>eddd54 on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-611</link>
			<pubDate>Sun, 28 Oct 2007 20:35:18 +0000</pubDate>
			<dc:creator>eddd54</dc:creator>
			<guid isPermaLink="false">611@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>i am having the same problem as the previous 3 commentors, but for me the issue is with setting the support status of a given post.<br />
basically, it breaks the Support Forum plugin (v2.3.2) with bbPress0.8.3 and WP2.3.<br />
when (as Admin) i try to change: This topic is "resolved/not resolve/not a support question"...<br />
i get: "You don't have permission to do that."</p>
<p>disabling the "Use Display Name" plugin fixes the issue.
</p>]]></description>
					</item>
		<item>
			<title>Elias on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-610</link>
			<pubDate>Fri, 26 Oct 2007 02:03:32 +0000</pubDate>
			<dc:creator>Elias</dc:creator>
			<guid isPermaLink="false">610@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>I am experiencing similar problems as Jolacdana. The most serious problem is that nobody is allowed to add a new tag to a discussion thread, not even a keymaster user, in bbPress 0.8.3. After deactivating the plugin, everything works normal. It is a strange bug I did not expect. </p>
<p>But at the moment, I cannot decide that the bug is in the plugin - it may be a bbPress bug as well. Someone has to look at it. </p>
<p><a href="http://bbpress.org/forums/topic/cant-add-additional-tags-to-post?replies=13">There is a thread in the forum for this problem</a>, which shows, that this bug causes a lot of confusion.
</p>]]></description>
					</item>
		<item>
			<title>jolaedana on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-606</link>
			<pubDate>Mon, 22 Oct 2007 22:48:17 +0000</pubDate>
			<dc:creator>jolaedana</dc:creator>
			<guid isPermaLink="false">606@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Hi, This is causing permissions issues with the most recent version of BBPress, 8.3. Among the problems are:</p>
<p>*No permission to create forums<br />
*No permission to delete posts<br />
*No permission to add more than one tag<br />
*No permission to edit posts</p>
<p>Basically, seems like the usual keymaster rights aren't working. </p>
<p>Thanks!
</p>]]></description>
					</item>
		<item>
			<title>wrsantiago on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-581</link>
			<pubDate>Sun, 30 Sep 2007 17:10:15 +0000</pubDate>
			<dc:creator>wrsantiago</dc:creator>
			<guid isPermaLink="false">581@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Hello this is a great plugin, it does what the description said, but I discover that for some reason if I have the plugin active I can't submit votes on the topics and sometime I won't let me delete topic that I created. Any advice?
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-468</link>
			<pubDate>Tue, 31 Jul 2007 08:22:27 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">468@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>Okay this version does a search/replace so it leaves anything appended to the uri intact. In theory.<br />
<pre><code>function bb_use_display_name_profile_link($r, $id) {
	$user_obj = new BB_User( $id ); //Mod
	if ( $user_obj-&#62;has_cap(&#39;moderate&#39;) )  { //Mod
		if (  bb_get_option( &#39;mod_rewrite&#39; ) === &#39;slugs&#39;) {
			$user = bb_get_user( bb_get_user_id( $id ) );
			$r=str_replace(&#34;/profile/&#34;.$user-&#62;user_login,&#34;/profile/&#34;.$id,$r);
		}
	}  // Mod
	return  $r;
}
add_filter( &#39;get_user_profile_link&#39;, &#39;bb_use_display_name_profile_link&#39;,1, 2)</code></pre>]]></description>
					</item>
		<item>
			<title>_ck_ on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-467</link>
			<pubDate>Tue, 31 Jul 2007 07:18:52 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">467@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>I wish this somehow worked on profile links when "slugs" are enabled.</p>
<p>I can force it to trick the link to use the display name but on the destination, the profile.php does not know how to interpret the display name.</p>
<p>Okee I'll work on this for a bit, I think the solution is to just use the user id # instead of the name when it's a mod.</p>
<p>TADA!<br />
add this to display-name.php to force mods's profile links to use their id #'s instead of their login names when "slugs" are enabled - everyone else still gets pretty slugs<br />
<pre><code>function bb_use_display_name_profile_link($r, $id) {
	$user_obj = new BB_User( $id ); //Mod
	if ( $user_obj-&#62;has_cap(&#39;moderate&#39;) )  { //Mod
		if (  bb_get_option( &#39;mod_rewrite&#39; ) === &#39;slugs&#39;) {
			$r = bb_get_option(&#39;uri&#39;) . &#34;profile/&#34; . $id;  // . ( 1 &#60; $page ? &#34;/page/$page&#34; : &#39;&#39; );   not sure how to handle pages since they aren&#39;t passed
		}
	}  // Mod
	return  $r;
}
add_filter( &#39;get_user_profile_link&#39;, &#39;bb_use_display_name_profile_link&#39;,1, 2)</code></pre>
<p>Doesn't handle pages on profile links though. Not sure how to deal with that. I could take the orignal link build and just do a search and replace for their login name to the id # .... hmm...
</p>]]></description>
					</item>
		<item>
			<title>something on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-385</link>
			<pubDate>Tue, 17 Jul 2007 08:49:40 +0000</pubDate>
			<dc:creator>something</dc:creator>
			<guid isPermaLink="false">385@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>and this one...<br />
add_filter( 'get_topic_author', 'bb_use_display_name'</p>
<p>thanks for the plugin....
</p>]]></description>
					</item>
		<item>
			<title>_ck_ on "Use Display Name"</title>
			<link>http://bbpress.org/plugins/topic/display-name/#post-355</link>
			<pubDate>Thu, 12 Jul 2007 13:24:53 +0000</pubDate>
			<dc:creator>_ck_</dc:creator>
			<guid isPermaLink="false">355@http://bbpress.org/plugins/</guid>
			<description><![CDATA[<p>You missed a filter - this one needs to be added:<br />
<pre><code>add_filter( &#39;get_topic_last_poster&#39;, &#39;bb_use_display_name&#39;, 1, 2 );</code></pre>
<p>(you have the one without the echo/get_)
</p>]]></description>
					</item>

	</channel>
</rss>

