This sounds like an issue with GD bbPress Tools and not bbPress, I suggest you post on their support forums for issues with their plugin.
Firstly, a quick breakdown via pingdom, quite a delay in getting your JavaScript files, I’d get these into your Amazon CDN.
As you stated above “ive eliminated all the points you’ve made above, and the site only chokes when users are submitting posts in the forum, so I’m confident i’ve isolated the issue.”
- What happens when you deactivate either/or “Go to first unread” & “Unread posts” plugins you’re using and submit a reply to an affected topic?
- Another test, this time with the ‘Quotes’ plugin disabled submit a reply to an affected topic.
- Another, what code and/or plugin are you using to show the user registration in each reply e.g.
Join Date: Mar 2009
- And another, what code and/or plugin are you using for the counts shown next to the username in each reply e.g
Posts: 4529
Can you run the following two queries in phpMyAdmin, it will give me an idea of the state of the data in your database, it is the topic and three replies (two imported replies and one new bbPress reply) from the ~10k topic you have:
SELECT ID, post_author, post_parent, menu_order, post_type
FROM wp_posts
WHERE ID
IN ( 490979, 831628, 837704, 1031603 )
and
SELECT *
FROM wp_postmeta
WHERE post_id
IN ( 490979, 831628, 837704, 1031603 )
Once you have the results of each (they don’t show any ‘sensitive’ data) click the “Print View” and copy and paste them to a text file, a Gist or to pastebin for me to checkout please.
Over the weekend I had to reinstall everything here locally (and my online servers for a different reason) as something was up with my database, I’ve created a topic here locally with ~10,000 replies today (similar in size to your second most popular topic) and it takes ~1.6 seconds to post a reply to this topic. To time the queries, install the following plugin and of course only have it activated whilst your debugging this stuff https://wordpress.org/plugins/query-monitor/
Iv installed this and when i go to make a post the addons are not. What is missing is things like youtube and such
Adds different expansions and tools to the bbPress 2.0 plugin powered forums: BBCode support, signatures, custom views, quote…
http://lio2.site.nfoservers.com/forums/topic/i-like-this/
try this
.bbpress .singular .entry-content {
margin: 0 auto;
width: 68.9%;
float: right!important;
}
I put it in styles.css under the twentyeleven-child, and then tried it in bbpress.css under twentyeleven-child/css, neither changed the behavior of the side bar overlap.
Hello, my website uses wordpress 3.9.2 and bbPress 2.5.4.
I searched the troubleshooting forum for someone else who has this issue, but I can’t find anything. In the posts on the forum, if a the writer tries to make a space (for example, between paragraphs) by using the ‘return’ key a space doesn’t show up when the post or comment is posted. Here’s an example http://dailyfantasywinners.com/forums/topic/is-qb-more-important-on-fanduel-than-draftkings/, I pressed return after the first paragraph but when I posted there is no space between the paragraph and the word “Thoughts?”
Any help is appreciated!
Guys. I make the repo for plugin on github, checkout the latest version with some fixes:
https://github.com/korobochkin/bbPress-permalinks-with-id (and russian translation included).
@pooledge don’t quite understand what you talking about. On my forum links with parameters works great with this plugin. For example:
http://selenaselena.ru/community/talks/talk/14579/ — simply topic
http://selenaselena.ru/community/talks/talk/14579/edit/ — edit topic, for admins only, but not 404 🙂
http://selenaselena.ru/community/talks/talk/14579/?bbp_reply_to=14806&_wpnonce=0fe9ee9c36#new-post — write reply to some user.
i would create a page and put the forum archive shortcode and the single topic shortcode to display both with no problems.
https://codex.bbpress.org/shortcodes/
There is probably another way , but this is the first i thought of.
1st problem:
I add bbpress in my wordpress site. Then I post a welcome topic in forum. But it not show in forum root page, but is show in “recent topic” widget!
What’s the problem here?
forum link: http://blog.imaginativeworld.org/forums/
the sidebar and the forum display overlap.
put this where you can put custom css and tell how it is.
#bbpress .singular .entry-content {
margin: 0 auto;
width: 68.9%;
float: right;
}
The only way is with a php code to create a bbpress profile link ?
well maybe if you have a shortcode to display the users “login name” then you could probably replace the the php code with the shortcode. idk if it works though havent really tried anything like that just yet.
alternative is allow php in widgets, which is unsafe.
and also you could a link to profile in your menu.
// Filter wp_nav_menu() to add profile link
add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );
function my_nav_menu_profile_link($menu) {
if (!is_user_logged_in())
return $menu;
else
$current_user = wp_get_current_user();
$user=$current_user->user_login ;
$profilelink = '<li><a href="/forums/users/' . $user . '/">View Profile</a></li>';
$menu = $menu . $profilelink;
return $menu;
}
I have same issue! delete_others_replies work, but not delete_replies..
Temporary solution would be changing bbpress core (/includes/replies/capabilities.php)
from:
case 'delete_reply' :
// Get the post
$_post = get_post( $args[0] );
if ( !empty( $_post ) ) {
// Get caps for post type object
$post_type = get_post_type_object( $_post->post_type );
$caps = array();
// Add 'do_not_allow' cap if user is spam or deleted
if ( bbp_is_user_inactive( $user_id ) ) {
$caps[] = 'do_not_allow';
// Moderators can always edit forum content
} elseif ( user_can( $user_id, 'moderate' ) ) {
$caps[] = 'moderate';
// Unknown so map to delete_others_posts
} else {
$caps[] = $post_type->cap->delete_others_posts;
}
}
break;
To:
case 'delete_reply' :
// Get the post
$_post = get_post( $args[0] );
if ( !empty( $_post ) ) {
// Get caps for post type object
$post_type = get_post_type_object( $_post->post_type );
$caps = array();
// Add 'do_not_allow' cap if user is spam or deleted
if ( bbp_is_user_inactive( $user_id ) ) {
$caps[] = 'do_not_allow';
// Moderators can always edit forum content
} elseif ( user_can( $user_id, 'moderate' ) ) {
$caps[] = 'moderate';
// User is author so allow edit if not in admin
} elseif ( !is_admin() && ( (int) $user_id === (int) $_post->post_author ) ) {
$caps[] = $post_type->cap->delete_posts;
// Unknown so map to delete_others_posts
} else {
$caps[] = $post_type->cap->delete_others_posts;
}
}
break;
But I do not want to touch the core. How can I update my functions.php file to do the same? (i.e. add_filter)
I’m very new to WP and BBP..
found temporary solution.
Fix 404 issue for bbPress 2.2.x
It fix 404 error
I just wanted to give general users capabilities to delete their own topics/replies, so I added custom role for bbpress forums.
I followed: http://codex.bbpress.org/custom-capabilities/, to add ‘PPH General User’ and I see the forum role in Edit User page. I also changed Auto role in Forums Settings so that the website can automatically give registered visitor ‘PPH General User’ role.
In ‘usermeta’ database, I see that it assigned ‘a:1:{s:16:”pph_general_user”;b:1;}’ to capabilities key. It is good so far.
However, when I open the forum with PPH General User account, all bbpress capabilities for ‘PPH General User’ are disabled.
Even reading a forum shows nothing with body class = “error404 logged-in”
If I change the user account to Participant, all bbpress functions work as expected.
(with body class = “forum bbpress single single-forum postid-42 logged-in”)
With PPH General Account,
$cur_user_id = get_current_user_id();
$roles=get_userdata( $cur_user_id );
echo 'User Role:'; print_r($roles->roles); echo '<br />';
$role_caps = bbp_get_caps_for_role($roles->roles[0]);
echo 'User Cap:'; print_r($role_caps); echo '<br />';
if (current_user_can( 'spectate')){echo 'You can spectate';}
else{echo 'You cannot spectate';};
prints out:
User Role:Array ( [0] => pph_general_user )
User Cap:Array ( [spectate] => 1 [participate] => 1 [read_private_forums] => 1 [publish_topics] => 1 [edit_topics] => 1 [delete_topics] => 1 [read_private_topics] => 1 [publish_replies] => 1 [edit_replies] => 1 [delete_replies] => 1 [read_private_replies] => 1 [manage_topic_tags] => 1 [edit_topic_tags] => 1 [delete_topic_tags] => 1 [assign_topic_tags] => 1 )
You cannot spectate
If the account is changed to ‘Participant’ then it prints out:
User Role:Array ( [0] => bbp_participant )
User Cap:Array ( [spectate] => 1 [participate] => 1 [read_private_forums] => 1 [publish_topics] => 1 [edit_topics] => 1 [publish_replies] => 1 [edit_replies] => 1 [assign_topic_tags] => 1 )
You can spectate
Someone please help me. I spent so many hours debugging this..
I’m running WP 3.9.2 and bbPress 2.5.4.
I have created several forums and populated some with Topics and Replies.
I wish to display the list of forums at wordpress/forums.
I followed the instructions in ‘Step by step guide to setting up a bbPress forum – Part 1.
I tried Method 1 (created a page titled ‘forums’ and added it to the main menu), and Method 2 (shortcode in page)…neither worked for me. When I use the menu to go to wordpress/forums I don’t see the forums but, instead, a list of old posts.
I am using the plugin ‘bbPress Topics for Posts’ and it works…I have forums displaying as expected at the bottom of pages.
I’m stumped. Any suggestions would be appreciated.
David
Ha yes this link is working : <a class="bbp-profile-button" href="<?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>">Profile Settings</a>
But I think my plugin user meta does not accept php code that is why it is not working. The only way is with a php code to create a bbpress profile link ?
Versions: WordPress 3.9.2, bbpress 2.5.4, bbpress WP Tweaks 1.3.1
Site: http://www.obatron.com/forums
Theme: TwentyEleven
I have a child theme: twentyeleven-child with a style.css file in it, no customizations to it. I added a folder under it called css and copied the bbpress.css from the plugins tree to it to change the colors only (still working on colors so pardon if there are issues). I copied the sidebar-page.php file to bbpress into this folder.
My Forum page is blank, just titled Forums with a Permalink named http://www.obatron.com/forums/ and a template set as Default.
The problem: Forum index works fine, but when you go to a forum, the sidebar and the forum display overlap. I’ve tried various combinations of removing/moving the bbpress.php file to no avail. I also tried without the tweaks plugin, without the child template, and so on…
I tried going with just a full page and just use pages with the proper tags for login, etc, but then the forum index looks odd because it continues to use the sidebar template no matter what.
If I change the theme options to put the sidebar on the right, the forum index continues to work, but the forum page sidebar now appears below the forum…
Now, I’ve searched for this and see others occasionally complaining about similar, but have not seen an answer that works…
is there any way to remove it without waiting for a bbpress upgrade?
these 3 wordpress plugins are very effective in eliminating spambots and other spammers on wordpress/bbpress site
i use all 3 with no apparent problems, but read the notes for each plugin, all need to be properly configured and stop spammer reg can be very aggressive and may deny some of your legit visitors access if not properly configured
https://wordpress.org/plugins/bad-behavior/
https://wordpress.org/plugins/stop-spammer-registrations-plugin/
https://wordpress.org/plugins/wangguard/
these 3 wordpress plugins are very effective in eliminating spambots and other spammers on wordpress/bbpress site
i use all 3 with no apparent problems, but read the notes for each plugin, all need to be properly configured and stop spammer reg can be very aggressive and may deny some of your legit visitors access if not properly configured
https://wordpress.org/plugins/bad-behavior/
https://wordpress.org/plugins/stop-spammer-registrations-plugin/
https://wordpress.org/plugins/wangguard/
Just noticed something that might cause an issue. Make sure you change the inactiveCLass variable from “paged” to something else as well as in the CSS. Apparently, when BBPress paginates topics, it assigns the class “Paged” to the whole page so if it’s set to display none, you will spend hours trying to figure out why your page 2, 3, etc is blank…
Hey there,
I know I’m probably late to the party but I’ve been searching for a way to allow pagination WITH threaded replies in BBpress for the past 3 days now with no luck. The closest I got to having it work was with the BBPress Threaded Replies plugin by Jennifer Dodd but it didn’t work as expected (I think because I am using a custom loop and also some custom functions may be messing with it). Every time I activated it and tried to enable threaded replies it would remove my formatting toolbar from the text editor (which I need) and it would only show the same reply for all pages. So I decided to try and come up with a way to mimic pagination and I think I have solved my issue. I wanted to post it here for anyone else having trouble with pagination and threaded replies.
Basically, it’s a jQuery Pagination Imitation script that hides items in a list and only shows the number you specify at a time. It also creates links that change the items being displayed to simulate different pages. I applied this to the site I am working on and it worked like a charm. The major difference with this script and actual REAL pagination is with the script, you are still having to load all the results on one page. You just hide the extras so it doesn’t look so clustered. Other than that, it does exactly what I need it for, reducing the number of replies visible at a time. Here is a link to the JSFiddle if anyone is interested. Hopefully, this will save someone some headaches.
Not really about bbpress, more about security against spam on your site.
you need to secure your website more from spam bots
akismet helps, security plugins help , captchas help (bbpress recaptcha), cdns with security features help (cloudflare, incapsula)