Are the posts marked as spam?? Since you have Akismet make sure it is not too aggressive in finding spam. You could set this in the Akismet plugin settings.
Other than that maybe look for a different spam plugin an alternate plugin to Akismet if it is too aggressive in stopping spam.
This for frontend posting/commenting.
https://wordpress.org/plugins/spam-destroyer/
And this for Registration might be a good combination.
https://wordpress.org/plugins/wangguard/
It might be possible to use some code to calculate the posts like this or wait til 2.6 adds this feature.
https://wordpress.org/plugins/bbp-topic-count/
Then I guess setting the role using the code below when they reach the count. I am not sure entirely though, I have never tried something like this yet.
bbp_set_user_role();
Right now this is most likely custom development and you may need to hire a developer to create this for you.
This should show the items in the specific menu.
add_filter( 'wp_nav_menu_items', 'rkk_add_auth_links', 10 , 2 );
function rkk_add_auth_links( $items, $args ) {
if (is_user_logged_in() && $args->theme_location == 'sub-header-menu') {
$items .= '<li><a href="'. wp_logout_url() .'">Log Out</a></li>';
}
elseif (!is_user_logged_in() && $args->theme_location == 'sub-header-menu') {
$items .= '<li><a href="'. site_url('wp-login.php') .'">Log In</a></li>';
$items .= '<li><a href="'. site_url('wp-login.php?action=register') .'">Register</a></li>';
$items .= '<li><a href="'. site_url('wp-login.php?action=lostpassword') .'">Lost Password</a></li>';
}
return $items;
}
By default it leads to the regular wordpress login form. if you want to change that to a frontend page, you can change this site_url('wp-login.php') to something like this site_url('/login/').
login redirect you would need to use something like this.
function rkk_login_redirect($redirect_to, $request, $user) {
return (is_array($user->roles) && in_array('administrator', $user->roles)) ? admin_url() : site_url('/forums/');
}
add_filter('login_redirect', 'rkk_login_redirect', 10, 3);
This login redirect code redirect admins to the WordPress backend, but anything else to the forums.
Okay sorry for the late reply.
This is how I tested it.
Without reply threading
Topic author gets notified like normal no problem. It shows the repliers name and everything fine.
With Reply threading
Topic author gets notified of a unthreaded reply like normal no problem. It shows the repliers name and everything fine.
If the topic author threads under a reply. The reply author who commented that is being threaded does not get a notification, neither does the topic author.
If a user replies to their own reply the topic author gets notified.
if the topic author replies to an already threaded reply by another user, the topic author gets notified of the other user replying although it was the topic author. So although the user being replied to should get the notification, the user replying is.
iF a user replies to an already threaded reply created by the topic author, the topic author gets notified that they have replied although it was the other user.
If a user replies to an already threaded reply, sometimes the topic author may receive two notifications one with the user who replied and also one that says the topic author just replied also.
All i can really say that these notifications are a mess…
I am creating replies as a test user but for some reason the topic author is getting all of the notifications, even for threaded replies being posted under my test user’s reply even though in the code for the notifications it states that the test user should receive a notification.
I created a ticket for this bug in the trac though.
https://bbpress.trac.wordpress.org/ticket/2869
Hi robkk, you’re exactly right. Using extra characters as a user id would be a tough challenge. I’ve created a new topic by a Chinese user id in my forum so that you can see what’s going on by clicking on its id. http://artstellars.co.nz/forums/forum/art-stellars-forum/
The url for the user profile is http://artstellars.co.nz/forums/users/username such as http://artstellars.co.nz/forums/users/admin/ or http://artstellars.co.nz/forums/users/anna/ but with the Chinese id it still redirect to http://artstellars.co.nz/forums/users/
I’ve downloaded the pluggin you mentioned above but once it’s activated, the Art Stellars Forum even can’t be opened by Chinese username logon. Hope WordPress can fix such issues like Discuz or another BBS program that can support other characters and have more fancy options for a forum.
Thanks.
Hi,
I am just setting up my first website with BuddyPress and bbPress. I have worked through most of my issues but I can’t find the answer to this one. The page background on my site seems to the the same color (nearly) as the Search bar above the Forums. The color is close enough that you might not know there was a Search Bar there at all. Is there a way to either change the color of the Search Bar or maybe add the words “Search Our Message Boards” to the Search Bar?
Thanks.
Oh yes … I am running the most current version of WordPress, BuddyPress, and bbPress and I am using the Kleo theme.
see if what is poated here may help.
How to Stop Admin subscription emails…
You can also try this plugin, it has code that might be in bbPress core in the future.
https://wordpress.org/plugins/asyncronous-bbpress-subscriptions/
We’ve had reports from users that many are not receiving email notifications of replies to their topics. We are sending through Mandrill and noticed that all notification emails are being sent both “to” and “from” the same address: noreply@ourdomain.com
Sceen shot: https://cloudup.com/csqJe4-TZcS
We confirmed that this happens without Mandrill active as well. We don’t mind having the “from” address be noreply, but obviously the “to” address needs to be the user’s email address, so the email is delivered to them. Do you know why this is happening, and how we can fix it?
bbPress Version 2.5.8
WordPress Version 4.3.1
Many thanks!
-Jeff
It is possible to add custom statuses with this plugin.
https://wordpress.org/plugins/buddy-bbpress-support-topic/
Here is an example gist file.
https://gist.github.com/imath/9e69b8139ff6f7a4120a
Here is example for Urgent.
function your_custom_status( $allstatus = array() ) {
$allstatus['topic-working-on-it'] = array(
'sb-caption' => __( 'Urgent', 'buddy-bbpress-support-topic' ),
'value' => 3,
'prefix-title' => __( '[Urgent] ', 'buddy-bbpress-support-topic' ),
'admin_class' => 'urgent',
'dashicon' => array( 'class' => 'bpbbpst-dashicons-warning', 'content' => '"\f534"' ),
);
return $allstatus;
}
add_filter( 'bpbbpst_get_support_status', 'your_custom_status', 10, 1 );
I am not going to lie but this chinese username thing is tough to find a fix for since I think most of the work does need to be done for WordPress itself.
You can try going here and posting a topic aobut this issue to see if anyone has a good suggestion/workaround.
https://zh-cn.forums.wordpress.org/
Other than that I guess you might want to look in users keeping english characters in their usernames. I even found a bbPress chinese forum in the wild and they all seem to just be using english characters for their usernames some even numbers which is interesting, because using the users id instead of their username will definitely help you.
cos.name/cn
The forums topics using the id looks like they might be using this.
https://wordpress.org/plugins/bbpress-permalinks-with-id/
But since you seem to be getting the users to at least register with the characters now. Do you know what each user profile url is in the topic/reply post. Can you check it out in your browsers dev tools so I can see what the url is. I am expecting a url with some chinese characters and maybe some of these %%% in the url which would be leading to a 404.
You did try it like this right??
if(is_bbpress() && $args->menu->slug == 'sub_header_menu')
If it still doesn’t work you can try finding the menu location in your theme, which might most likely be in the functions.php file, but it could be different depending on the theme. You would spot by the register nav menu function like what is listed in this page.
https://codex.wordpress.org/Function_Reference/register_nav_menus
If you have a free theme I could check it out and get the arguments you need.
I guess you can try this code instead to see if it works any. I guess I can can also just check out to see if the custom script file name changed. I am using an older version of Divi 2.4 for testing so it could be a possibility.
You can contact me here if you want me to check it out on your site later.
Contact
add_action( 'wp_print_scripts', 'rkk_reply_threading_divi' );
function rkk_reply_threading_divi() {
if( is_bbpress() && bbp_is_single_topic() ) {
wp_dequeue_script( 'divi-custom-script' );
}
}
There should be forum for each company name.
Just create a new forum for each company.
All threads specific to that company needs to be created there.
You can create group forums with the help of buddyPress or bbPress private groups to enforce this. Other than that just tell users to post there.
Now on searching city, state, region or holding company related forums/threads should come in results. I want to create menu where in he can click on city and find related company names available in that city.
Not sure where the city, state, region, holding company data is kept. I am guessing since each company has a forum, that each company’s data could be the city, state, region. I guess create a forum taxonomy for each?
Then make the bbPress forum search or whatever search you are using for the site to be able to search forum taxonomies?
I want to create menu where in he can click on city and find related company names available in that city.
I guess create a custom query?? bbPress has if_has_forums() to be able to do this I guess.
https://codex.wordpress.org/Class_Reference/WP_Query
I can’t really help any more since this is custom development.
What is the best way to get users to sign up to your site without letting automated spam bots in and to make things frontendy?
I have searched and searched yet the only option I can find are those premium plugins (which have many vulnerabilities in them).
what I want to to do is simple:
Have a front end registration page with fields for login, password, why does this person want to join… and a custom captcha question… and then somewhere in the admin panel I want to be able to just approve or decline users based on what they put in the why do you want to join field.
I also want to make this the only place for users to register from… else spammers will just use the normal wordpress sign up to get access.
How can I go about doing all of this?
Please help.
Thank you.
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