Hello,
i would like to hide topic / reply IDs, what appear on the right starting with # .., like its here in the bbpress forums…
Is there a way, to hide the Ids only public, and only show them as admin?
Is there a code snippet to accomplish this?
Thx
Regards
Sally
We have issue with the time to first byte (TTFB) using the plugin BBPress. On the single topic page we get TTFB about 5-7 sec. After researching this issue we have found that the problem is in the file “content-single-topic.php” and the bottleneck is the function “bbp_has_replies()”.
After researching this function we have found that the problem is in the code:
wp-content/plugins/bbpress/includes/replies/template.php:184
$bbp->reply_query = new WP_Query( $r );
this row takes about 5-6 sec, so performing the query which retrieves the list of replies takes about 5-6 sec. Also we have dumped the query which is performed:
SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts FORCE INDEX (PRIMARY, post_parent) INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND (wp_posts.ID = 515125 OR wp_posts.post_parent = 515125) AND ( ( wp_postmeta.meta_key = ‘_bbp_forum_id’ AND CAST(wp_postmeta.meta_value AS SIGNED) NOT IN (‘515120′,’515123’) ) ) AND wp_posts.post_type IN (‘topic’, ‘reply’) AND ((wp_posts.post_status = ‘publish’ OR (wp_posts.post_status = ‘pending’ AND wp_posts.post_author = 0) OR wp_posts.post_status = ‘closed’ OR wp_posts.post_status = ‘hidden’) OR (wp_posts.post_author = 0 AND (wp_posts.post_status = ‘private’))) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date ASC LIMIT 56150, 25;
You can check a test here:
https://tools.pingdom.com/#!/NXIxm/https://www.bombingscience.com/forums/topic/tags-tags-tags/page/602/
We are using Version 2.5.12
Could you please check this issue and provide us solution in order to speed up this query?
I feel as though I’m losing my mind. There’s an option to enable the full TinyCME editor correct?
I’m looking at this: https://codex.bbpress.org/enable-visual-editor/
But when I do that, all I’m seeing is this:

I’ve tried the code in the codex on a base WordPress theme and all plugins disabled.
Is it possible to enable a more robust editor?
Thanks
The whole wordpress site is slow for logged out users and I not sure if it’s related to bbpress or buddypress. Every page take about 4 sec and 0.5 sec for logged in users
Wordpress: 4.7.3
Buddypress: 2.8.2
bbpress: 2.6b2
25000 users
With QueryMonitor I can see the following
SELECT wp_users.ID,wp_users.user_login,wp_users.user_pass,wp_users.user_nicename,wp_users.user_email,wp_users.user_url,wp_users.user_registered,wp_users.user_activation_key,wp_users.user_status,wp_users.display_name
FROM wp_users
WHERE 1=1
AND wp_users.ID IN (40269,32606,34524,34322,40331,40334,36153,25677… and all user id’s
Caller is WP_User_Query->query()
wp-includes/class-wp-user-query.php:600
Component:
Plugin buddypress
The funny thing is if I disable bbpress and rtMedia with (bbpress plugin) that big query is not taking place.
Hi, is this possible we can display forum details like , suppose we have two forum, name called forum1 & forum2, Forum1 has 5 topics & forum2 has 10 topic. so is This possible on bbpress we can display first Forum1 then their associate topic 5 then later on forum2 then their associate topic 10. Please do the needful for me. Thanks i am waiting for your reply….
Hi .
I have .tube theme on wordpress
I need to hide the header of the forum it makes a double text .
double text on header
I don’t know if its a theme problem or the forum page. or bbpress.
thanks for the help.
Hi @panda666uk,
Kunena3 is in the list of forums that can be imported. Just go to /wp-admin/tools.php?page=bbp-converter after having installed WordPress and bbPress.
Pascal.
Hi,
As the error indicates, this is coming from the bbpress-notify plugin, so you better post your issue on the dedicated support forum of that plugin.
Pascal.
Hello gpdesign93,
The following style will hide the menu:
body.bbpress #masthead .menu-container.menu-hide{display:none;}
body.bbpress .main-wrapper .row-container.row-breadcrumb.row-breadcrumb-light.text-right{display:none;}
body.bbpress .post-title-wrapper{display:none;}
body.bbpress .main-container .row-container .double-top-padding{padding-top:0;}
body.bbpress .menu-wrapper.menu-sticky.no-header{display:none;}
Regards,
Jason
Worked fine, thank you very much!
Still one Question, I kind of commented the previous www/wp-content/plugins/bbPress directory changing its name instead of erasing it, just in case, is that necessary? Or will the beta-2 version be updated normally when the new fixed version comes out?
Oh, I’m using bbPress 2.6-beta-2,
If you use 2.5.12, the ‘Oh bother’ message needs to be slightly adapted
Let me know what version you plan to use.
I’m really sorry. Problem solved. The bbPress version 2.6-beta-6251 is magic!
Thanks!
I’m having the exact same problem as above, but no idea how to fix the problem, since I already have installed the latest version of bbpress. Here is my error message:
Fatal error: Uncaught Error: [] operator not supported for strings in /home/sahbar5/public_html/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /home/sahbar5/public_html/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /home/sahbar5/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #2 /home/sahbar5/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /home/sahbar5/public_html/wp-includes/class-wp-query.php(1681): do_action_ref_array(‘pre_get_posts’, Array) #4 /home/sahbar5/public_html/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /home/sahbar5/public_html/wp-includes/class-wp.php(617): WP_Query->query(Array) #6 /home/sahbar5/public_html/wp-includes/class-wp.php(735): WP->query_posts() #7 /home/sahbar5/public_html/wp-includes/functions.php(955): WP->main(Array) #8 /home/sahbar5/public_html/wp-admin/includes/post.php(1072): wp(Array) #9 /home/sahbar5/public_html/wp-admin/includ in /home/sahbar5/public_html/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800
What can I do?? Thanks for your help!
My problem was solved. I am not exactly sure how. This morning I started by setting up the protection (Wishlist) for each Forum, Topic and reply. I carefully selected the protection buttons and groups for each topic and reply and saved each page.
I reinstalled the bbPress WP4 fix and bbPress WP4 fix 2 as suggested and then everything worked as if I never had had the issue before.
I was sure that those fixes were installed and activated before. Whether I installed them properly or not (before) I am not sure, but I have all the plugins I had initially installed, yet the issue is gone.
So thank you to Robin.
bbpress uses wordpress registration.
wordpress assumes that you will need a role, so requires all users to have one.
The wordpress toolbar is frankly horrible.
so simplest solution is to hide the toolbar for all but non admins
there are several plugins available to do this
eg https://wordpress.org/plugins/hide-admin-bar-from-non-admins/
Are there any free tools/files/code out there to migrate a Kunena forum on a joomla site over to bbpress on a wordpress site ?
Thanks
I am building a community website which will enable groups to post help requests on a bbpress forum. To post requests, all forum users must register.
In testing, when participants register for the forum, they are being assigned WP user roles too. I have set this to be Subscriber, but this is allowing them to access JetPack and some other things from the dashboard.
I don’t want forum particpants to have any access to the dasboard – only to bbpress forums. Am I missing a settings somewhere?
Thanks for your help.
I am using WP 4.7.3 and bbpress 2.5.12
Hi Robin, you know images from my own site are all SSL so WordPress works in this instance but its with BBPress when the user makes a post and uses the insert image button to link an image from another site that the problems occour ie:



<img src="https://i.imgur.com/V6sg3f0.png" alt="" />
<img src="https://i.imgur.com/V6sg3f0.png" alt="" />
<img src="i.imgur.com/V6sg3f0.png" alt="" />
but this site here is changing the http to https in all links so the demonstration is a bit of a fail 🙂
But a non https url will not break a certificate as that only happens if the link is embedding something in the post.
No, unfortunately it doesn’t. Actually, it were the LearnDash developers who pointed me to bbPress for this problem 😉
We did set up a try-out course using LearnDash. As we did not find a “post first” feature, we searched the LearnDash documentation and eventually asked it in their support forum. Their answer was: “No, it’s not possible yet. We use bbPress for our forum functionality and we suggest you ask the question there.”
So we’re back to square 1, i.e. your first answer: “In basic bbPress you won’t find this, but maybe with a combination of plugins or some short coding, you should be able to achieve this.”
Any specific suggestions on the latter?
Thanks again!
Ok. Thank you.
I guess that answers my questions.
The question being, is there a way to add a “my profile” link to a menu.
The answer is, if I am hearing correctly. Yes, sorta, if you edit some function files.
And the answer is also, No – there is no way to do this with bbPress. bbPress does not offer a way for people to edit their profiles unless the user is savy enough to know they should click their profile name in a forum post to see/edit their profile.
I just assumed there would be an easy way to do this. It seems a core function. But I guess I am wrong.
Makes me wonder how others make “profile” pages for their users?
Thanks for the answer.
Hello,
I’m using the latest version of WP/BBpress/theme (SmartMag). With all plugins turned off, except, bbpress, I still can’t get the visual editor button to work. It’s there, you can click on it, but it won’t do anything.
The theme author swears it works with BBpress since 1.5 – so I don’t know where or how to troubleshoot?
Please advise if you have any ideas, thanks!
Hi Steve,
As Robin answered, you could look into his coding for the bbP Style Pack to see how it works.
There is also https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#8-add-edit-profile-to-a-wordpress-menu that might give you a hint.
Pascal.
Hello Pascal,
Thanks for your reply. Yes, the kind of forum I have in mind is one forum per question. The question would be one that triggers opinions rather than exact answers. If students would read the already available answers first, opinions tend to cluster around the ones that were given first. If they have to formulate their opinion before being able to read the others, there is much larger variety of opinions. And yet they can engage in discussions about each other’s opinions afterwards.
I’m new to WordPress and bbpress, but from the try-outs and tests we have been doing over the past week it looks like the LearnDash plugin in combination with bbpress would be suitable for our needs. We’re ready to invest some work in this if needed. Hence, if you have a suggestion about suitable plugins or would have specific advice for the ‘short coding’ you mention, we will surely investigate.
Thanks !