Hi Robin. Thank you for looking at this. Yes, I can replicate the problem and test a fix. In fact, I have the described situation on my forum right now:
https://www.totalsync.com/forum/
And it is likely to stay this way for the next few days. If necessary I can also recrate it manually.
yes it does (and does so on here as well!).
I’m just a helper here, not a bbpress author.
I don’t run akismet on my test site. Are you able to replicate the problem so that we can check a fix if I am able to work up some code?
In the list of forums, there is a column called “Last Post”. For each forum, this column contains a link to the last topic or reply posted to that forum.
If there was a spam post 2 hours ago (and Akismet puts it in spam), then the “Last Post” column will contain text “2 hours ago” and a link like https://www.example.com/?post_type=topic&p=1759 (where 1759 is ID of the spam post).
Correct behavior would be to link to the latest published post. Anchor text should also reflect when the latest post was published. In my example, if a post got published 5 hours ago; and then a spam post came in 2 hours ago, the anchor text should say “5 hours ago”.
I fully understand – you have an issue where one forum is not showing. Given that showing these forums are settings within your theme or LMS, not within bbpress, then it most likely that it is a setting somewhere within this.
so you can try one last thing
dashboard>settings>permalinks and just click save – this resets the permalinks and may help
then if you srea still convinced that it is not theme or plugin, you can prove this using
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
Oh, it works like a charm! This will save a lot of time for the admin.
But all the roles need to be tested.
I will observe for 2 weeks and report the results.
Thanks Robin for the good Tips!
This is not fully tested, but should work
add_filter( 'bbp_get_reply_edit_url', 'rew_admin_link', 10 , 2 ) ;
function rew_admin_link ($url, $reply_id ) {
if ( bbp_is_user_keymaster(get_current_user_id())) {
$url = '/wp-admin/post.php?post='.$reply_id.'&action=edit' ;
}
return $url ;
}
thanks, just tested with just bbpress and agree it does disappear.
I had bbp private groups enabled, although no settings affecting, but with this it shows.
I’ll try and take a look tomorrow (10pm in UK at the moment) to see what private groups does that is fixing that !
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
ok, I just created that test scenario, and cannot replicate
Once I post a topic in one of the sub-forums the list disappears below the category on forum index.
can you post a screenshot please so that I can understand exactly what is disappearing
Greetings
I set up a test forum and created a private category with two sub-forums inside. On forum index the category is shown with its two sub-forums listed below it, as intended.
Once I post a topic in one of the sub-forums the list disappears below the category on forum index. I can still see them if I click on the category however.
It’s similar to this bug here, but it doesn’t seem to matter if there’s a description or not
https://bbpress.trac.wordpress.org/ticket/2085
The bug only happen when the category is private or hidden. Should I do a bug report about it? Is there any known solutions?
WordPress: 6.0
Plugins: bbPress 2.6.9
Theme: Tried various WordPress default themes.
Thank you in advance
ok, so presuming this is in any topic, then if you fancy sharing the shortcode you are using and the php code, I might take a look at that
Outside of your php code, I’d suggest it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
Hi Robin, thanks for coming back so quick; the URL of the topic would be:
/forums/topic/test-topic-creation/
Then when pressing the edit button it’s:
/forums/topic/test-topic-creation/edit/
Kind Regards,
Matt P
Hi,
I’m creating this topic on the off chance that somebody else might have experienced a similar thing and can point me in the right direction as to what has caused this.
So for unknown reasons, all forums and posts suddenly disappeared completely from our WordPress instance. They are not in the trash and I also couldn’t locate them in the database anymore. No plugin updates or any other suspicious actions have been performed that I know of which could’ve been behind this.
Also, this didn’t happen to our DEV instance which is essentially in the same state in terms of active plugins etc.
Anyone ever heard of something like this happening? I’m not so much concerned about restoring the lost forums because it was only test forums and test posts so far. But I don’t want to have this happen in the future with actual forums and posts on there. I know that backups can be made, but then there’d still be the content you’d lose in-between performing them manually.
We are using bbPress in conjunction with LearnPress and it was forums tied to a LearnPress course that were lost (we didn’t have any ‘free-standing’ ones), if that provides any hints.
Thanks in advance for your help!
Greetings
I’m administrating a small forum currently on open source Vanilla, but they seem to discontinue their open source version and I’m looking for other solutions. Since we’re also already on WordPress bbPress seems like a choice to look into, but I’m worried we’ll get into the same situation again with the software being discontinued or outdated.
When I installed bbPress I noticed it said untested with the current version of WordPress, but also it does seem to be updated the past year so there may be no problem.
I need to ask though if bbPress is alive and planning to be alive for the future?
Are there any security concerns with it being updated so rarely or that’s perfectly fine?
Thank you in advance!
Thank you for answering. Will test it
One other person got it, and I assumed that all were. The other person is my husband … and I just remembered he is set up as an admin, though he doesn’t function as one! I will set up a test user. Can you tell me how to “deactivate” the subscriptions email tab? I don’t see how to do that.
oh, and do you know that all users are getting this, or are you assuming because you do? do you have a test user set up ?
ok, just found a few minutes.
When you say ‘ The Meets forum says it has 113 subscribers’ – where is this shown? not a feature I use on my test site, so I’m struggling to find it 🙂
do you have an additional plugin doing this?
thanks for posting. The site needs access to replicate so cannot be reproduced without.
bbpress does not have a WYSIWYG editor by default, so what code/plugin are you using to get this? I’d suspect your theme may be doing this, and therefore may be creating the problem.
You also have an error in your theme (Use of undefined constant bbp_reply_id ), which is either code you have added to what looks like a parent theme, or an error in the theme itself.
I’d suggest that you prove this by
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then if it is theme contact the theme author as it is a paid theme
Hi,
In the plugin GD bbPress Attachments I have the error “It appears this file is already present in your media library as post 38220!” when I upload file and If i rename the file, I have the same error.
After many tests, I realized that I need the change the “title” filed in the file properties in the detail tabs.
How to solve the issue?
@robin-w absolutely zero rush at all. Have some fun!!!
I am excited to see what you come up with. Right now I have 2 topics, both with 449 replies, that I would love to test out once you have something ready. Delete one the old fashion way and see how long it takes and then your new way. Right now I am guessing the current way would take 6-7min to send to the trash and another 9-11min to completely delete.
making progress, but it is a lot of work to do the testing phase.
Queen’s jubilee here in the uk, so may be early next weeek before I have a tested version
standard fault finding advice applies viz
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Health Check & Troubleshooting
Then come back
Not sure if this is Divi related or BB Press related. We have a BB press search function for our Forum which has been fine until recently. However, suddenly only page 1 displays correctly in the search results (first image). The rest of the pages look like the second photo – you have to scroll down to reach the menu which has been corrupted and then the search results are after that (and are displaying correctly. All plugins, themes and WordPress are the latest versions. Hope someone can help (please) …
https://thefdforum.co.uk/wp-content/uploads/2022/05/1.png
https://thefdforum.co.uk/wp-content/uploads/2022/05/2.png
Wordpress Version: 6.0
bbPress Version: 2.6.9
Home