This should fix it: https://bbpress.org/plugins/topic/usernames-i18n-fix/
I need to find out if this is fixed by default in 0.8.4
That plugin is old and won’t work with 0.8.4 (and maybe not with 0.8.3.1)
Once 0.8.4 is released this should work as a plugin for both WordPress and bbPress:
<?php
/*
Plugin Name: Lax user names
Plugin URI:
Description: Makes all user name sanitisation non-strict
Author: Sam Bauers
Version: 0.0.1
Author URI: http://unlettered.org/
*/
function i18n_sanitize_user($username, $raw_username = false, $strict = false) {
if ($strict) {
return sanitize_user($raw_username);
} else {
return $username;
}
}
add_filter('sanitize_user', 'i18n_sanitize_user');
?>
Thanks for answering but I do not understand how to use it. Should I save a php-file with this code and name it Laxusernames.php? Where shall I place it and how does it start?
Please advice me!
Place it in a folder called “my-plugins” (create it if it doesn’t exist). Then go to the admin area and activate the plugin.
Thank you for trying but it does not work. I placed the plugin in the folder bb-plugins and activated it. Before your answer I tried as “Göran Åsnäs” which was tranformed to “Gran sns” and after activating the plugin I tried as “Örjan Ågrän” which was tranformed to “rjan grn”. No success at all. I run bbPress 0.9.0.2 upgraded from an earlier version yesterday. My forum is at http://www.goranlindgren.se/forum/
This must affect a lot of users, I know at least one other Swedish forum having the same problem and there must be many in other countries as well.
Help would be very useful and appreciated!
Hello,
the “Lax user names” plugin of Sam doesn’t work in bbPress 1.0 alpha 1