bbpress users can create posts with tags as per this site.
I’m not sure I understand your question?
I’m just a guy sat in his kitchen trying to help others, I am not paid to do this.
It is entirely relevant in that they may well be a reason why trashed posts are added, without knowing when and why the function is called and how it is used, it is impossible to say that the code is wrong.
I agree that a filter before that or variable passed would be helpful, but bbpress is not being actively worked on at the moment so it is unlikely that this would get updated.
If you want to flag this, raise a ticket on https://bbpress.trac.wordpress.org/
You might want to use bbp_get_public_child_ids or use the filter at the end of the function to as you say ‘override’ the setting, or if you are using this function directly, then simply create your own version of it.
The bbp_get_all_child_ids() function in bbpress/includes/common/functions.php is returning Trashed posts, which should objectively not be the case. There’s no world in which trashed posts should appear unless someone is intentionally digging in the trash.
Line 1997 is currently this:
$not_in = array( 'draft', 'future' );
It should be this instead:
$not_in = array( 'draft', 'future', 'trash' );
I have tested that as a manual change, but obviously, this needs to be bbpress’ default behavior, not my locally-hacked override.
Alternatively, you could add a third argument for overrides, but I think this is just an oversight.
Thank you.
Can this be used with the “bbPress Members Only” plugin?
Thanks–I already had bbp style pack installed.
Did some more testing and ended up also installing “bbPress Notify (No Spam)”.
When I had the bbPress Notify plugin override the subscription to forums & replies settings, the emails are now sending as expected.
Appreciate the help!
Upon reading further, I see mention of the “Recent Replies” widget. It apparently does not affect the functionality of bbPress and it is not that important to me, so I will disable it now. Thank you!
we are trying to start using Elementor Single Post template, but found out that “Hello theme Elementor bbpress template fix”
is this from the style pack plugin, or form somewhere else?
Hi
I’m having the same issue with notifications of replies and new topics not being sent by email.
Plugins installed:
Simple WordPress Membership
bbPress
bbp style pack (notifications enabled)
bbPress Members Only (forum set to members only with all other pages visible)
bbPress Notify (No Spam)
Check & log email (nothing logged in tests)
Code Snippets (original code above added)
Easy WP SMTP (confirmed that other emails are sending successfully, eg notification of new member registrations via Simple Membership)
WP Notification Bell (new replies ARE showing up here)
I’ve run tests with replies and new topics for a test user subscribed to everything (and directly to the topic used to test replies), and am still not getting any emails. Have, of course, checked the spam folder.
I’d appreciate any suggestions for troubleshooting.
Thank you!
Site: thecardinalnation.com
WordPress 6.4.3
bbPress 2.6.9
MySQL 7.4
Roughly weekly over the last six months, my entire WordPress site slows down to a stop with 504 errors experienced by users for 10-20 minutes at a time. CPU utilization on my dedicated server goes from 20% to close to 100%.
My hosting provider WPEngine suspects bbPress is spiking MySQL with long-running queries.
Here is what WPEngine Support told me in one of my exchanges with them.
“Most past mysql queries were generated by this file:
/nas/content/live/thecardinalnat/wp-content/plugins/bbpress/includes/common/widgets.php:1096
“Something about the query on line 1096 of that file is causing spikes in mysql usage.
“Bbpress support may be able to explain what the query is trying to do and how to optimize it or change some settings to make those requests less heavy for mysql.”
That is what has brought me here.
Does anyone know what this query does, if it could be involved with my problem and what corrective action should be taken? I would greatly appreciate any advice you can provide.
(I am the site owner and am not highly technical, but I have access to additional assistance as needed.)
Hi Robin et al.,
we are trying to start using Elementor Single Post template, but found out that “Hello theme Elementor bbpress template fix” somehow stops the template from activating (disabled all plugins, found out that now the template works and then enabled all our plugins one by one).
Question 1: What does the plugin actually do? 🙂 I remember activating the plugin for some real need, but now it looks like the forums works just fine.
Question 2: What could we do to get the template working (apart from deactivating a probably vital plugin mentioned earlier..). I saw one guy solving the same issue by adding a short code to a page, but at least just inserting a short code for the forum index did nothing for us.
Our (staging) site and a Post which is affected by this https://staging11.pokerifoorumi.org/derk-van-luijk-nousi-ept-monte-carlon-paaturnauksen-voittoon/
All our plugins are up-to date, and so is our Hello theme.
Many thanks for the great product, as well as your help. Much appreciated.
i was not right in blaming bbpress for my issue… the sql injection was found…. was not bbpress. iam sorry for this mistake.
It works! Thanks!
Hopely bbPress Offcial Can be Native Support Block Theme.
Hi
I run different forums in my website. Each forum is related to a specific course I provide.
As the one who answers all questions sent by each forum, I have the issue that when I receive an inquiry, many times I do not know to which forum the question belongs. Today, to find out, I have to go to my wordpress backend, go to bbpress, and look in the topic section to which forum it belongs.
So ideally, it would be great if in the subject notification email, I can see to which forum is related.
So if today I receive a subject notification email like the following:
Clarification about XXXX
I would like to receive
[Forum XXXX] Clarification about XXXX
Thanks
that seems to be an issue with ultimate member permissions, bbpress does not have that granularity in it. suggest you raise with ultimate member
Ok, so because we’ve not been able to replicate the issue with test accounts et al. We think that if we delete the end user’s account and then remake the account this will rectify the issue. As we’re aware that the user may already have content that they’ve created under their account we want to migrate that to a dummy account while we’re putting in place the deletion so we can then migrate it back to their “new” account and thus cause little to no disruption for them. We just wanted to check that if bbpress content is in this equation, that this content type does also get re-allocated like any other WP content types.
unfortunately that is another post where someone says ‘fixed it’ but does not share the fix.
if you are not using buddypress, where the user says the problem was, then this would not apply to you
If you are using buddypress, then it would be worth posting in the buddypress support forum
But in any case that was 10 years ago, and against a very old version of both bbpress and buddypress, it is unlikely that the problem is the same.
So we’ve done some digging around on the forum and found an instance where someone had the same issue? https://bbpress.org/forums/topic/participants-cant-create-topicspost-replies/
and they then say: ‘Found it – buddypress was applying a filter, and it does some wonky logic. Overwrote it in my theme.’
Would the you guys know what we could do to force override this to ensure all participants can reply to solve this?
I am building a new community forum per a client’s request and they would like their members to not have the ability to create post / topics but only comment on topics they create. Is this a feature in bbPress or do I need to add additional plugins?
This is one of the new FSE themes, so you need a fix to work with bbpress.
install
bbp style pack
once activated, navigate to
dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.
In that tab, select
Enable Theme Support
and save
The forums should then display
I am using Twenty Twenty-Four Theme, But bbPress Not Support Block Theme, so When Support Block Theme?
you rock, I’ll test it some more as time goes on, unless you think I’m good? Does this BBPress try to login in any other BBPress pages?
I do not want BBPress login anywhere, nowhere at all, because I’m already handling login:
https://veganlinked.com/forums/forum/welcome/ see login at the bottom? That comes from BBPress, that is a BBPress forum. BBPress is a forum that has a login by default. I do not want their login.
ok, so I see a login at the very top left of the homepage, and one in the footer.
so what is the bbpress login you wish to remove
Hello, I’m very excited to use BBPress on my website! My website already has a login form. So, I really need the login form removed from BBPress because for some reason it doesn’t work. After putting in the username and password it redirects to my login page where they have to re-enter the information.
The “Log in” button is “ok” since it directs to the login page. But, I would rather not have that either since I already have login button in my navigation.
I searched a few times on this over the last few days and even asked the plugin developers I’m using if they knew of a way to resolve this. I can’t find anything. I have Code Snippet plugin if someone wants to offer some code for that. Or is there some CSS that would just hide all that and remove the space it occupies?
Website is VeganLinked.com and there’s a link to forums in the very top navigation and footer.
Newest version of WP and BBPress.
locked the forum down to be under Membership Requests only.
is this a plugin/ a theme or what?
bbpress just uses WordPress registration, so anything that does this for WordPress will work.
you could hook to this to send
user_register
but without knowing how they are registering, difficult to help further.
Come back with further details