Alright. I downloaded an plugin called “Chinese-username” and it works right now which is great! The code is:
<?php
/*
Plugin Name: Chinese UserName
Plugin URI: http://www.01on.com/?p=654
Description: 允许用a-z0-9_.-@和汉字作为用户名
Author: 白云山
Version: 1.0
Author URI: http://www.01on.com/
*/
add_filter( ‘sanitize_user’, ‘ys_sanitize_user’,3,3);
function ys_sanitize_user($username, $raw_username, $strict){
$username = $raw_username;
$username = strip_tags($username);
// Kill octets
$username = preg_replace(‘|%([a-fA-F0-9][a-fA-F0-9])|’, ”, $username);
$username = preg_replace(‘/&.+?;/’, ”, $username); // Kill entities
// If strict, reduce to ASCII and chinese for max portability.
if ( $strict )
$username = preg_replace(‘|[^a-z0-9 _.\-@\x80-\xFF]|i’, ”, $username);
// Consolidate contiguous whitespace
$username = preg_replace(‘|\s+|’, ‘ ‘, $username);
return $username;
}
?>
The only problem I found is the Chinese username owner can’t update his info. by clicking on his username in the forum page. Whenever clicking on the hyperlink of the Chinese username, it just redirects to http://artstellars.co.nz/forums/users and displaying a message saying “Not Found – Sorry, but the page you were trying to view does not exist. It looks like this was the result of either a mishtyped address or an out-of-date link”.
But while registering as an English username there’s no such trouble. Hope WordPress or bbpress can consider support Chinese username in the near future. Thanks.
I know there’s an Export option for Forums in WordPress’s default Export menu.
But when I viewed the Import options under Tools > Import Forums, there was only bbPress1.
Which brings me here to ask, how do you import a forum from a bbPress2 to another bbPress2 ?
Hi Robkk
Many thanks for your help. Change the url and lost password page works right now! You’re the man!
I’ve installed and activated the wordpress special characters in username pluggin as you recommended but unfortunately it doesn’t work. May be it’s only for russian, cyrillic, arabic as it describes? Any other way to fix it? Thanks.
1. Not sure why your lost password page is not there?? You can use Woocommerce’s lost password form instead though.
My Account
2. Use this plugin, and see if it will help.
https://wordpress.org/plugins/wordpress-special-characters-in-usernames/
Every user in the forum that creates a reply or a topic their username that displays next to their post has a link that leads to their profile.
You can also use the bbPress login widget too. Once the user has logged in, their name in the widget is also a profile link.
You can just create a custom link menu item for each authentication page for your site. You can use the default WordPress Pages.
Go to Appearance > Menus in the WordPress backend. Then toward the left side you will see a menu with a list of pages/posts/forums. Right next to all those is a dropdown to add a custom link. Just manually add the URLs of the default WordPress pages below or any other frontend forms you may have already.
Register
http://yoursite.com/wp-login.php?action=register
Login
http://yoursite.com/wp-login.php
Lost Password
http://yoursite.com/wp-login.php?action=lostpassword
https://codex.wordpress.org/Appearance_Menus_Screen#Custom_Links
You can also do the other things I listed in your other topic for user to login/register etc.
Login, Register, Lost Password links
I am trying to say troubleshoot an issue if it could be something else like a theme causing the issue, so switching to a default theme could test that.
Troubleshooting
Remember reply pagination does not show up if you have threaded replies enabled.
Here is a ticket to fix reply pagination in threaded replies, but for now the patch only works for forums that are not hidden or private.
https://bbpress.trac.wordpress.org/ticket/2785
I am sure this question has been asked many times before. I just don’t seem to get a straightforward answer. I need to set up a bbpress user profile (not the WordPress user profile). I don’t have widgets. Where is the bbpress user profile located and how do I get a link to it? It would be nice to have this in the menu together with the login/logout/register and lost password links as well.
Thank you.
Hi bbpress team, thanks for creating such good forum product. It’s a great plugin that I can create my own forum easily. There’re two questions. First one is the lost password page doesn’t work when I activated the Woocommerce theme but if I de-active the Woocommerce the lost password page works! I do need Woocommerce to show my gallery. My url is: http://artstellars.co.nz/lost-password/
Another question is the Chinese username registration by bbpress. it says “ERROR: This username is invalid because it uses illegal characters. Please enter a valid username.” if I register using a Chinese as a username. Is there any pacth can work around this?
I am using the latest version of bbpress v.2.5.8, Woocommerce v.2.4.7 and WordPress v.4.3.1. Thanks.
I don’t understand how this link to a theme for wordpress will help me to break a forum into pages in bbpess.
Hi All,
I am currently working on a private site which uses WordPress + Buddypress + bbPress.
The forum posts do not have the line spacing the way I want it.. Basically it doesnt put a nice line break in between the paragraphs.
I have used the search feature on here and google, and have tried the following:
.post p {
line-height: 1.5em;
padding-bottom: 15px;
}
AND
.bbp-reply-content p {
margin-bottom:10px;
}
I think there were a couple of other things I tried, but to no avail.
I am using the TinyMCE visual editor plugin, however, I have disabled this and the issue still exists.
I’d like to think I can navigate the CSS reasonably well using firebug, but in this case, I just can’t find where the issue is.
Am hoping someone can take a look (i’ll supply login/pass for those willing) to see where I’m going wrong?
Note: I am using my own custom theme designed in Template Toaster. I have a bbpress.css file in my theme folder under <theme>\css
Here is some common issues that could create the White Screen of Death issue.
https://codex.wordpress.org/Common_WordPress_Errors#The_White_Screen_of_Death
You can try to see if another plugin is also causing the issue with bbPress and your site.
And you can try to find some debug information on your site by using WP-Debug set to true.
https://codex.wordpress.org/Editing_wp-config.php#Debug
@samuelstraka
In the WordPress backend you will see these new menu items when activating bbPress.
Forums
-All Forums
-New Forum
-Forum Moderators (in 2.6)
Topics
-All Topics
-New Topic
-Topic Tags
Replies
-All Replies
-New Reply
Tools
-Forums
Settings
-Forums
I am sorry but the Czech language is incomplete right now. It will be much appreciated if you do help use in creating a new czech translation for bbPress. If you want create a new topic on this site and I will try to help you the best I can in creating the translation file.
https://translate.wordpress.org/projects/wp-plugins/bbpress/stable/cs/default
@kari1
Sorry Polish language file for bbPress is incomplete also, would love if you helped create the file. If you want create a new topic and I will try to help you the best I can in creating the language file.
https://translate.wordpress.org/projects/wp-plugins/bbpress/stable/pl/default
I’ve switched between about 5 different themes, trying to install bbpress with each one. Each time, the result is the same. I get a message saying that bbpress was installed, but when I try to go back to the WordPress dashboard, I just get a completely white page. I can’t even navigate back to delete bbpress, so I have to do it manually through FTP.
Right now I am using the Genesis Framework theme, but the same problem has happened with the default themes (Twenty Twelve, Twenty Thirteen, etc.)
Any ideas what it might be?
My website is http://www.poorpilots.com/
I am using the latest version of WordPress.
You do not really need to create a page for the forum archive, just create a custom link menu item.
But from what you are getting with -2 being displayed for the page, you already have a page with that /forums slug in the Pages section of your WordPress site. It could a page you already created in the Trash.
@mica123 Placing the login form above on the main Forums page created in your WordPress is easy.
- Edit your WP page containing [bbp-forum-index]
- Include [bbp-login] above that line
- Update the page
And the login form will show above your forum index.
I’ve not fully experimented placing the login above all the forum pages. Though I think it’s very much possible, and the answer may lie in other forum topics.
What I could share though is I tried adding <?php echo do_shortcode("[bbp-login]"); ?> to loop-forums.php and loop-topics.php but it didn’t work.
What happened was the list of forums and topics disappeared.
I hope this was helpful.
The only table I think bbPress creates is the one for importing forums/keeping extra imported forum data. Most of the data bbPress has are stored in WordPress tables, but all that data should be gone if you ran the reset forums tools(well except the forum roles).
Stored Database Data
If you are looking to delete users you can go into Users > All Users in the WordPress backend and then start bulk deleting users.
Any testing for the issue in this ticket is greatly appreciated.
https://bbpress.trac.wordpress.org/ticket/2739
My WordPress plugins directory is sym-linked to another folder on the server. So, the following path:
/wp-content/plugins
Is actually a symlink to /home/bayb_qa/shared/plugins
However, for some reason bbpress uses the absolute path (/home/bayb_qa/shared/plugins), rather than the relative path “/wp-content/plugins” when including its css and javascript, such as bbpress.css and editor.js.
This causes 404 problems loading the two files. Is bbPress not designed to handle a symlinked plugins dir?
Hello, after updating to WordPress 4.3.1, I’ve noticed that there is no content area for topics in my 2.5.8 bbPress Forum. What gives?
https://www.area103ppg.com/forums/topic/international-flights/
Thanks for your help!
You should try Rating Manager by Elementous. https://www.elementous.com/product/premium-wordpress-plugins/rating-manager/
It’s compatible with bbPress, buddyPress and WooCommerce, but Rating Manager is a premium WordPress plugin.
@Robkk
Thanks for your support.
I finally added define( 'WP_DEBUG', true); in my wp-config.php, and I am getting this error report;
Notice: bbp_setup_current_user was called <stromg>incorrectly. The current user is being initialized without using $wp->inot(). Please see debugging in WordPress forore onformation. (This message was added in version 2
3.) In ******\blessed\wp-includes a functions.php on line 3622
Notice: the called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construction()
Instead. In ******\blessed\wp-includes\functioms.php on lime 3457
Please am sorry to bore you this time again, am not good incoding, how can I resolve this issues
Since you are not very confident with PHP you can just install this plugin.
https://wordpress.org/plugins/bbpress-enable-tinymce-visual-tab/
Thank you. I found this not on the All users page but on clicking the Edit button for a user I was able to get to another page and there I could change the role for the Forum.
Yeah that works too.
Do moderators have access to the backend? If they do, how can I disable it? They should do all the editing or deleting posts from the front end only. I sincerely hope this is possible.
Only for moderating topics/replies in the backend. If they are also a subscriber they can also edit their Profile from the backend too and nothing more than that.
There is a confusion in the General settings for automatic registration of new users – should this be for Contributor or Subscriber?
It is subscriber by default in WordPress for users that can only read blog posts. Contributers can edit blog posts and delete them too.
Also, how do I know if all users w3ho register on the front end are participants? They should not have access to the backend.
You can install a plugin like WP Admin No Show
You can download this plugin and edit the function and add on to it what html tags you want to allow in your forums.
https://gist.github.com/ntwb/7797990
You can also just create a new WordPress user role with the capability, but I think going with the plugin I placed above is the best route.