<?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 support forums Topic: Usernames with spaces do not work</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: Usernames with spaces do not work</description>
<language>en</language>
<pubDate>Sat, 30 Aug 2008 07:01:09 +0000</pubDate>

<item>
<title>affacat on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work/page/2#post-14755</link>
<pubDate>Thu, 27 Mar 2008 20:41:53 +0000</pubDate>
<dc:creator>affacat</dc:creator>
<guid isPermaLink="false">14755@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks, worked for me.
&#60;/p&#62;</description>
</item>
<item>
<title>Sholto on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work/page/2#post-11591</link>
<pubDate>Sat, 20 Oct 2007 22:42:33 +0000</pubDate>
<dc:creator>Sholto</dc:creator>
<guid isPermaLink="false">11591@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hat doff to HowToGeek - solved the problem magnificently. Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>Sholto on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-11590</link>
<pubDate>Sat, 20 Oct 2007 22:31:33 +0000</pubDate>
<dc:creator>Sholto</dc:creator>
<guid isPermaLink="false">11590@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I've just been caught out by the spaces problem - I'm finding that integrating WP and bbPress is a painful experience...
&#60;/p&#62;</description>
</item>
<item>
<title>citizenkeith on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-11277</link>
<pubDate>Fri, 05 Oct 2007 00:48:08 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">11277@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I tried &#60;a href=&#34;http://bbpress.org/plugins/topic/15?replies=1&#38;#38;more=1&#34;&#62;this plugin&#60;/a&#62;, and it's not working with v 0.8.3.&#60;/p&#62;
&#60;p&#62;I need spaces and special characters like á. Any advice?
&#60;/p&#62;</description>
</item>
<item>
<title>schmitt on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-9032</link>
<pubDate>Tue, 17 Jul 2007 16:48:54 +0000</pubDate>
<dc:creator>schmitt</dc:creator>
<guid isPermaLink="false">9032@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Advice taken.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-9031</link>
<pubDate>Tue, 17 Jul 2007 16:36:38 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9031@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I don't think wordpress allows &#34;@&#34; does it?&#60;br /&#62;
You shouldn't allow email addresses as usernames on a forum.&#60;br /&#62;
Very bad idea.&#60;br /&#62;
However that said, this same routine could be used to override that.
&#60;/p&#62;</description>
</item>
<item>
<title>schmitt on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-9026</link>
<pubDate>Tue, 17 Jul 2007 14:06:13 +0000</pubDate>
<dc:creator>schmitt</dc:creator>
<guid isPermaLink="false">9026@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;What about @&#60;/p&#62;
&#60;p&#62;Many people use their email address as their login name.&#60;/p&#62;
&#60;p&#62;ARGH.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-9012</link>
<pubDate>Tue, 17 Jul 2007 05:25:35 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">9012@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I would encourage you to put this into the bbpress svn so it can be found under the plugin browser by the masses trying to integrate WP + BB&#60;/p&#62;
&#60;p&#62;(if I figured out how to use the SVN, anyone can!)
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8873</link>
<pubDate>Thu, 12 Jul 2007 18:30:28 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">8873@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;That's good to know... I'll update my local copy.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8868</link>
<pubDate>Thu, 12 Jul 2007 16:29:34 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">8868@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Apparently Wordpress allows dots (periods) in usernames as well?! (it did at some point, not sure if it still does but I have users with nicknames like that)&#60;/p&#62;
&#60;p&#62;So I had to modify this plugin with a dot&#60;br /&#62;
&#60;code&#62;return preg_replace(&#38;#39;/[^ \ta-z0-9_.-]/i&#38;#39;, &#38;#39;&#38;#39;, str_replace(&#38;quot;%20&#38;quot;,&#38;quot; &#38;quot;,$raw));&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;apparently php is very sensitive as to what order the pattern is in, that dot has to be right there in the sequence or it throws a shedload of errors.
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8845</link>
<pubDate>Wed, 11 Jul 2007 15:14:41 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">8845@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The Bad Words plugin by mdawaffe could be modified to be automatic couldn't it (if it isn't already) since it runs as a filter on posting.    It is in the 'extend' section.&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8834</link>
<pubDate>Wed, 11 Jul 2007 07:01:20 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">8834@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I've yet to see forum software that makes it hard for members to use/post? &#60;/p&#62;
&#60;p&#62;My problem is not really spam but a bunch of pre-teens running around and posting massive, rapid, rabid chats with each other like it's a chat room. bbPress completely lacks any management tools to deal with that. If you ban them, they can re-register with a different nickname in less than 30 seconds. If you ban their ip, they just use a randomizing proxy.&#60;/p&#62;
&#60;p&#62;On my wordpress side I have it completely programmed with stop-words, how fast each member can post and decent moderation tools. But the forum, which from the start needs those abilities the most,  does not have them.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8833</link>
<pubDate>Wed, 11 Jul 2007 06:33:27 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">8833@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I think the moderation functions are definitely severely lacking... but with Akismet integration you shouldn't get much spam.&#60;/p&#62;
&#60;p&#62;The whole point of bbPress from my view is that it's really simple for the users to actually use, and will hopefully generate more interaction because of that, especially from people that aren't as forum-savvy.
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8831</link>
<pubDate>Wed, 11 Jul 2007 04:57:59 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">8831@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I guess everybody's a masochist.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8830</link>
<pubDate>Wed, 11 Jul 2007 04:54:03 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">8830@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Well akismet support can be added to virtually any forum or blog software so that's not really a claim to fame. I tried installing the moderate posts plugin but it's not working right and preventing all posts from being displayed. &#60;/p&#62;
&#60;p&#62;There's also no way to tie any kind of &#34;bad words&#34; list into auto-moderation, and then how  do you find any list of moderated  posts? Sigh. All of this is already in wordpress so it's really strange to me it's not in bbpress by default.&#60;/p&#62;
&#60;p&#62;Well I'll stop here and won't tie up this particular topic with this further  since you can't move individual posts to other/new topics with bbpress (another missing moderation need).
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8827</link>
<pubDate>Wed, 11 Jul 2007 04:36:36 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">8827@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The spam is akismet protection, but the advanced moderation I am not quite sure about yet as plugins are the best options thus far.&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8826</link>
<pubDate>Wed, 11 Jul 2007 04:30:27 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">8826@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Ah thanks Trent, I thought I saw that list weeks ago but couldn't find it again. &#60;/p&#62;
&#60;p&#62;I'm still not convinced bbpress's &#34;selling point&#34; is speed or management as other forums seem just as lightweight and definitely more robust. But the biggest problem on any large forum is the sheer number of people doing searches at any given time.&#60;/p&#62;
&#60;p&#62;BBpress kinda cheats in this regard (keeping search overhead down) as it tries to enforce tags over searches (I'm not a big believer in user submitted tags when you have a lack of quality control over your members) and it's search feature is so poor that no one will seriously use it right now (it cannot find whole words, limit by member, limit by forum, limit by subject, etc. etc. etc.)&#60;/p&#62;
&#60;p&#62;To me, I thought bbpress's benefit was WP integration and I was familiar with the functions used after months of hacking wordpress. Wasn't convinced the wordpress forum plugins were going to keep evolving or be flexible enough.&#60;/p&#62;
&#60;p&#62;I guess my problem is jumping in too soon, waited a year to add a forum to let projects like this mature but it's still a bit early. By the winter the forum I setup should be as big as technorati - it definitely needs better management features.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;&#34;&#60;em&#62;The advanced moderation and spam protection features of bbPress save the WP mod team tons of time.&#60;/em&#62;&#34;&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;What advanced moderation features? Am I missing something? You have to actually go into each topic, go to each post and manually moderate.  It kinda blows me away that there's nowhere in the bbpress admin panel to see the last 50 posts like in wordpress. I'm coding the feature for myself right now...
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8824</link>
<pubDate>Wed, 11 Jul 2007 04:13:57 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">8824@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The big ones:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://bbpress.org/about/examples/&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/about/examples/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;As well, wordpress.com is a huge forum as well as the wordpress MU forum is getting there.    Each of the wordpress forums have 2,000+ new registrations each day.    Pretty large examples.&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8823</link>
<pubDate>Wed, 11 Jul 2007 04:09:07 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">8823@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Wait, there are numerous people installing bbpress as their only website program without having WP installed? Why?  It's such an early, early beta and has virtually no administration features. Any mature forum program can blow it away right now. Are they  masacists or just running really tiny, micro forums?&#60;/p&#62;
&#60;p&#62;Just out of curiosity, what are the largest known bbpress forums, other than the wordpress site and here? I suspect the forum I've integrated is probably in the top 10 since it has over 100 daily active users (with 800+ registered from the wordpress config).
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8809</link>
<pubDate>Wed, 11 Jul 2007 01:05:39 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">8809@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Actually according to Trent the majority do not integrate. &#60;/p&#62;
&#60;p&#62;It's also worth noting that if you spend your time here you will only see the number of problems; unless you have data on the number of users and their setups, you can't base an opinion on that.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8805</link>
<pubDate>Tue, 10 Jul 2007 23:21:54 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">8805@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Was there a ticket in trac already for this?  Because I just added one.&#60;/p&#62;
&#60;p&#62;There are so many integration problems in bbpress that IMHO feature additions should be on hold until tighter integration is achieved. I can't see a major userbase other than WP users for bbpress.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8758</link>
<pubDate>Sun, 08 Jul 2007 08:26:55 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">8758@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I should mention that my code is a horrible hack... hopefully they'll fix the problem in the core.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8756</link>
<pubDate>Sun, 08 Jul 2007 07:30:07 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">8756@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Wow this is a very serious issue - I couldn't figure out why half my members could not log into the forum! Thought it was a cookie issue, but it was the space!&#60;/p&#62;
&#60;p&#62;I suggest this be moved to the integration section and highly recommend to everyone trying to merge BB with WP. I would never have spotted this if it had not been bumped by signpost (who's code did not solve it unfortunately, I had to use the plugin)
&#60;/p&#62;</description>
</item>
<item>
<title>signpostmarv on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-8753</link>
<pubDate>Sat, 07 Jul 2007 19:38:52 +0000</pubDate>
<dc:creator>signpostmarv</dc:creator>
<guid isPermaLink="false">8753@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I came across the same problem on a combined wp/bbpress setup.&#60;/p&#62;
&#60;p&#62;twas a simple case of changing &#60;em&#62;line 1079, template-functions.php&#60;/em&#62;&#60;br /&#62;
&#60;code&#62;$r = bb_get_option(&#38;#39;uri&#38;#39;) . &#38;quot;profile/&#38;quot; . $user-&#38;gt;$column . ( 1 &#38;lt; $page ? &#38;quot;/page/$page&#38;quot; : &#38;#39;&#38;#39; );&#60;/code&#62; to &#60;code&#62;$r = bb_get_option(&#38;#39;uri&#38;#39;) . &#38;quot;profile/&#38;quot; . urlencode($user-&#38;gt;$column) . ( 1 &#38;lt; $page ? &#38;quot;/page/$page&#38;quot; : &#38;#39;&#38;#39; );&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-7912</link>
<pubDate>Thu, 07 Jun 2007 00:45:34 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">7912@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Very nice!   &#60;a href=&#34;http://proforums.palmansworld.com/bbpress-featurettes/miscellaneous/need-spaces-in-bbpress-usernames/&#34;&#62;Proforumed!&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-7906</link>
<pubDate>Wed, 06 Jun 2007 10:32:24 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">7906@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thank you for being awesome.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-7904</link>
<pubDate>Wed, 06 Jun 2007 05:24:46 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">7904@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Ok, this version fixes the issue with spaces in the profiles... it's mostly a hack, but I haven't found any issues with it.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
/*&#60;br /&#62;
Plugin Name: HowToGeek Functions&#60;br /&#62;
Plugin URI: &#60;a href=&#34;http://www.howtogeek.com&#34; rel=&#34;nofollow&#34;&#62;http://www.howtogeek.com&#60;/a&#62;&#60;br /&#62;
Description: Cleanup functions for bbPress issues&#60;br /&#62;
Author: The Geek&#60;br /&#62;
Author URI: &#60;a href=&#34;http://www.howtogeek.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.howtogeek.com/&#60;/a&#62;&#60;br /&#62;
Version: 0.0.1&#60;br /&#62;
*/&#60;/p&#62;
&#60;p&#62;function htg_resanitize( $text, $raw ) {&#60;br /&#62;
		return preg_replace('/[^ \ta-z0-9_-]/i', '', str_replace(&#34;%20&#34;,&#34; &#34;,$raw));&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;function htg_repermalinkfix($permalink){&#60;br /&#62;
	return str_replace(&#34; &#34;,&#34;%20&#34;,$permalink);&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;function htg_wp_redirect($location,$status){&#60;br /&#62;
	global $is_IIS;&#60;br /&#62;
	if(!stristr($location,' ')){&#60;br /&#62;
		return $location;&#60;br /&#62;
	}&#60;/p&#62;
&#60;p&#62;	$location = preg_replace('&#124;[^ \ta-z0-9-~+_.?#=&#38;#38;;,/:%]&#124;i', '', $location);&#60;br /&#62;
	$location = wp_kses_no_null($location);&#60;/p&#62;
&#60;p&#62;	$strip = array('%0d', '%0a');&#60;br /&#62;
	$location = str_replace($strip, '', $location);&#60;/p&#62;
&#60;p&#62;	if ( $is_IIS ) {&#60;br /&#62;
		header(&#34;Refresh: 0;url=$location&#34;);&#60;br /&#62;
	} else {&#60;br /&#62;
		if ( php_sapi_name() != 'cgi-fcgi' )&#60;br /&#62;
			status_header($status); // This causes problems on IIS and some FastCGI setups&#60;br /&#62;
		header(&#34;Location: $location&#34;);&#60;br /&#62;
	}&#60;br /&#62;
	return false;&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;add_filter('wp_redirect','htg_wp_redirect',1,2);&#60;br /&#62;
add_filter('bb_repermalink_result','htg_repermalinkfix',1,1);&#60;br /&#62;
remove_filter('bb_user_sanitize','bb_user_sanitize');&#60;br /&#62;
add_filter('bb_user_sanitize','htg_resanitize',1,2);&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-7903</link>
<pubDate>Wed, 06 Jun 2007 04:35:02 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">7903@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Note that the profile editing doesn't seem to work for usernames with spaces. Will fix.
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-7902</link>
<pubDate>Wed, 06 Jun 2007 04:30:50 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">7902@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I created a plugin that allows usernames with spaces... not in the most elegant way, but it seems to work for me.&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
/*&#60;br /&#62;
Plugin Name: HowToGeek Functions&#60;br /&#62;
Plugin URI: &#60;a href=&#34;http://www.howtogeek.com&#34; rel=&#34;nofollow&#34;&#62;http://www.howtogeek.com&#60;/a&#62;&#60;br /&#62;
Description: Cleanup functions for bbPress issues&#60;br /&#62;
Author: The Geek&#60;br /&#62;
Author URI: &#60;a href=&#34;http://www.howtogeek.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.howtogeek.com/&#60;/a&#62;&#60;br /&#62;
Version: 0.0.1&#60;br /&#62;
*/&#60;/p&#62;
&#60;p&#62;function htg_resanitize( $text, $raw ) {&#60;br /&#62;
		return preg_replace('/[^ \ta-z0-9_-]/i', '', str_replace(&#34;%20&#34;,&#34; &#34;,$raw));&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;function htg_repermalinkfix($permalink){&#60;br /&#62;
	return str_replace(&#34; &#34;,&#34;%20&#34;,$permalink);&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;add_filter('bb_repermalink_result','htg_repermalinkfix',1,1);&#60;br /&#62;
remove_filter('bb_user_sanitize','bb_user_sanitize');&#60;br /&#62;
add_filter('bb_user_sanitize','htg_resanitize',1,2);&#60;br /&#62;
?&#38;gt;&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>HowToGeek on "Usernames with spaces do not work"</title>
<link>http://bbpress.org/forums/topic/usernames-with-spaces-do-not-work#post-7654</link>
<pubDate>Sat, 26 May 2007 04:48:32 +0000</pubDate>
<dc:creator>HowToGeek</dc:creator>
<guid isPermaLink="false">7654@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Doesn't work for me... thanks for the suggestion though.&#60;/p&#62;
&#60;p&#62;I've noticed that the URLs such as the profile links are broken as well.&#60;/p&#62;
&#60;p&#62;I'm hoping there's a plugin hook that I can use to override the default sanitize function... haven't looked into it yet, but it seems like that's where the problem is coming from.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
