This is a possible fix for this:
add_filter(
‘elementor_pro/utils/get_public_post_types’,
function($post_types) {
$post_types[‘forum’] = ‘Forum’;
$post_types[‘topic’] = ‘Topic’;
$post_types[‘reply’] = ‘Reply’;
return $post_types;
}
);
Source:
https://elementor.com/blog/introducing-hello-theme/#comment-58192
Sadly this could not be the perfect solution, specially if you are using bbpress without buddypress, it seems that you could get 404 pages on user profiles.
Right now I’m trying to use a combination of bbpress + buddypress, and for me the user profile (buddypress) is working fine.
So I have a really weird issue…some users who are assigned to the associated courses for the LearnDash bbPress integration are getting the message that they are not enrolled in the associated courses. The weirder part is a link to one topic is now linking to a separate topic.
Astra Theme
WP Version: 5.4.2
bbPress Version: 2.6.5
LearnDash LMS – bbPress Integration Version: 2.1.1
Any suggestions for a fix?
Hi @fl3xtra,
If I understand correctly the problem you’re having, it’s a bug:
https://bbpress.trac.wordpress.org/ticket/3356
I’ve tried this patch on one of my sites and it appears to work. Bear in mind that I am NOT an expert on this.
Here’s the thread where I found out about the patch:
Several questions regarding freshness
My plugin GD Forum Notices Pro allows you to define rich messages to display anywhere you want in the forums, with rules to define how the messages/notices will look like and the rules for display to different user roles. You can also schedule date range to display message.
No coding needed, all done via the admin interface. Check it out here: https://plugins.dev4press.com/gd-forum-notices-for-bbpress/
Regards,
Milan
In any case thanks for your time!
Hope developers will fix this bug soon.
Currently, this bug can be fixed using the code below.
Also, Replies box should be moved below Custom Fields
/* Fix BBpress 2.6 bug with Custom Fields */
if( function_exists( 'bbp_get_version' ) && version_compare( bbp_get_version(), '2.5' ) > 0 ) {
add_action( 'wp_ajax_add-reply', 'wp_ajax_add_fix_bbpress_26');
function wp_ajax_add_fix_bbpress_26() {
// print_error_log( $_POST );
// $_POST['action'] = 'add-meta';
wp_ajax_add_meta();
}
add_action( 'wp_ajax_delete-reply', 'wp_ajax_delete_fix_bbpress_26');
function wp_ajax_delete_fix_bbpress_26() {
// print_error_log( $_POST );
wp_ajax_delete_meta();
}
add_action( 'add_meta_boxes', 'bbpress_26_fix_add_meta_boxes', 25 );
function bbpress_26_fix_add_meta_boxes() {
do_action( 'bbp_topic_attributes_metabox' );
}
}
Is there any functionality built into bbPress, or has someone adapted their install, to somehow force closed threads to be served as static (cached) pages to both non-logged-in and logged-in users? This seems like it would be the most compelling reason to auto-close stale threads, and keep database queries to a minimum.
Hi @renatoscarvalho,
I’m also trying to understand what the current situation is with this problem. The most comprehensive post I could find is somewhat old:
Threaded Replies Not Working
I’ve just posted a reply at the bottom of that one in hopes of getting some clarification.
if you have not got it already, you might also consider installing
bbPress – Moderation Tools
whilst it is old it still works, and tells the user that their post is being held, so that they don’t keep trying to repost it
Hi Chuckie,
yes, I was using your idea already, but with 8 forums and over 20 sub forums – it was not ideal therefore I wanted the create topic – like it is and should be in BBpress by default
We are evaluating a move to an enterprise hosting environment at Pagely and are encountering some issues with bbPress performance there. We are currently on an E1 with 16 PHP workers at Kinsta, and the action of posting to the forums (our slowest action) takes 8-15 seconds depending on server load.
At Pagely, the post query takes at least 30 seconds and the browser usually times out (60 sec) before everything finishes up and returns the topic page to the user.
We’ve been analyzing with Pagely engineers and have learned this:
Because Pagely uses an RDS, and bbPress uses a whole series of queries that require multiple calls and answers to/from the RDS, communications latency is a huge problem that makes our bbPress install non-functional in this environment. In contrast to Kinsta, where the database is local and not remote.
Question:
Anyone have guidance on getting a large bbPress forum (100k+ topics, 1M+ replies) to run fast in an RDS environment?
Hi bbpress guys,
I would like to create a new forum on each post. Similar to the discussion boards that use to be on imdb.
I guess what im looking for is similar to bbpress-post-topics/
So, if you imagine. I post a movie review about “james bond”. I would like people on that post to be able to create new topics in that forum. This forum would be present on that post/page and only contain only topics relating to that post/page.
This report already exists in the bbpress track.
7 months ago I posted this bug.
https://bbpress.trac.wordpress.org/ticket/3311
sorry, that’s how it works, and how all plugins that I have known use custom fields work. As far as I can see that’s how it worked under 2.5.x – no code change I can see.
I’m just a user who helps out here, so if you really feel strongly about it, I suggest you log a bug at
https://bbpress.trac.wordpress.org/
just did a completely new site – no plugins except bbpress and your code, twentyseventeen theme, works fine.
when you say ‘save topic as draft’ – what exactly do you mean?
Hello,
I think GDPR requires users be able to delete their account/data. Normally this is in the profile area, but I cannot find that option in bbPress…
Is there a way to add that to the edit profile area?
Hello,
I have 0 knowledge about making website and such… but please help!
I want to make it like this –
1. Forum name clicked
2. Goes to Single Forum Layout page with corresponding forum ID (Edited with Elementor).
3. When posted Topic is clicked, It’ll show the post, reply threads and reply form.
–
I’m using Elementor’s bbpress widget and has bbp Style Pack (My WordPress theme is twenty-ninteen).
First, I made a page with Forum Index, and created a Forum. I created a Forum from WordPress dashboard “Forum”.
Second, When I click this Title of the Forum, it takes me to a WordPress Theme without “Edit with Elementor” gives me Content missing error. I’m having a trouble with this too, it seems like I have to add: the_content (); code or <?php the_content(); ?> on somewhere in the Theme Edit on dashboard. None of the Google search matched what I see on my css and php code list.
Third, I created 3 different sub-pages to Forum Index page to put in Elementor’s Bbpress widget, changed layout to Single Forum and input ID of the forum that I found from the Dashboard’s Forum section.
Problem is here, I can’t connect when the Forum name is clicked, direct to the Single Forum page.
I noticed that Breadcrumb of the Single Forum page is Home > Forums > Forum > Videos.
“Home” is Home, I don’t have a page name “Forums”-where is this coming from?
The name of the page with Bbpress widget (Forum Index) is “Forum”.
From seeing this error, It seems like I have to edit directly onto the Dashboard’s Forums section. but with these Forum page I don’t have access to Edit with Elementor.
–
I appreciate anyone’s suggestions and help! If you need any more information or need to clarify anything, please let me know.
Thank you.
the bbpress displays are built using templates.
I’d start with looking at this
bbp style pack
which will let you do many things.
to put your stats at the bottom, you’d need to look at creating a page for your forums and using
[bbp-forum-index]
then you can use gutenburg blocks or whatever editor you have to add the stats widget at the bottom
this may be what you need to change the default template
bbPress WP Tweaks
I am using the default bbpress templates
ok, I don’t think it is a css problem.
cab you tell me which method you are using in no. 8 in here
Step by step guide to setting up a bbPress forum – Part 1
thanks for that and for the really helpful video.
I can see that on forum pages, your site is not displaying the elementor menu, which is what is missing – so it is not that it is transparent, it is because it is not there !!
I suspect it is a conflict between your theme/ementor and bbpress templates.
how technical are you ?
given that you don’t understand code, then the best I can offer is to remove the bbpress login from the topic and reply forms.
This can be done by installing
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Topic/Reply Form and activate item 15
sorry, bbpress uses the standard wordpress login api, so it is code if you want to do something different
I use the next code in functions.php
add_filter('bbp_get_topic_post_type_supports', 'register_bbpress_topic_type_supports');
function register_bbpress_topic_type_supports( $args ) {
$args[] = 'excerpt';
$args[] = 'thumbnail';
$args[] = 'custom-fields';
return $args ;
}