Hi, I’m having a strange problem where the order of replies is mostly right, but in a majority of the threads there is a recent reply or two that appear in the middle of the thread. Particularly affected are question / answer type threads where there are only two posts, but the order is flipped. I ran the “recalculate position of each reply in each topic” tool, but it didn’t seem to help. I have about 50,000 posts in my forum, does this need to be run multiple times? I worry about doing so because of the overhead.
For additional background, this was a drupal 7 forum that was imported over to bbpress 2 weeks ago, but the affected replies are from both before and after the import.
Using the latest versions of both wordpress and bbpress.
best I can suggest is :
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
hmmm… that’s not happening on my test site – let me think
Thanks Robin, I did search and replace tutor > Naturopath and pasted the code at the end of functions.php. I would love to say it worked but…
Naturopath appeared as a forum role selection in the dropdown for each WP User. However when Naturopath was selected for the user and then saved, WP only displayed Role = “No role for this user”, and Capabilities = bbp_Naturopath.
When I tried a test post as that user, BBPress described me as a participant.
So, not there yet, but your help is appreciated 🙂
Linda
(PS: I’m looking for the Naturopath role to have the same capabilities as Participant.)
Hi @ajtruckle! I just installed your plugin and while it added the fullscreen capability to the editor and warns you if you are going to leave the page after starting to reply, it doesn’t actually autosave after a specific time interval. Is it supposed to do that?
I’m using the latest versions of bbpress, buddypress, advanced tinymce, bbp style pack, and buddypress members only.
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 how this related to bbpress
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
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 all, i have been trying to import from my old Dragonfly site…
I chose phpBB but not sure if it’s the correct one.
When i run the import it goes through the 17 steps failing all 🙁
Im using the latest version of WP 5.8.1
Host is paid shared hosting on a LiteSpeed setup
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
After I Install and activate bbPress nothing shows up in my admin area sidebar (Forum, Topics, Replies do not appear). When I create a new page and paste there a shortcode for displaying the whole forum index, the page shows an error. I don’t know what went wrong, I tested on my localhost and it worked fine.
I also tried to delete the plugin and install it again.
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
And breadcrumb does not display on the forum.
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,
WP 5.7.3 Admiral. Latest version of bbpress.
https://www.seignalet-plus.com/forums/forum/surviving-the-scamdemic/
I have a no right click plug in on my site. How can I exclude it from the forum? I want people to be able to post links (apart from spammers of course 😉 ) and be able to embed videos.
I’ve looked at all the no right click plug ins and none seem to have that capability.
Thanks in advance for your help.
‘There are some settings that will basically let you “refresh” certain aspects’
ok no idea where that is and without a clear ‘click this, press that’ not really able to help on that aspect, and may well be an additional plugin which may be the cause.
so 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, we are using BBPress on ccwbra.com with WordPress 5.5.6 running Total theme.
Our users can reach the forum landing page(https://ccwbra.com/forums_test/), but get 404 Page could not be found error when accessing any Forum or Topic.
I’d start by working out why emails are not arriving.
bbpress just uses the wordpress registration so start with
Email Test – Check if your emails are being delivered
and then look at
WP Mail SMTP by WPForms
I forgot to mention, I use the widget (BBPRESS- Recent replies) which work well but am looking o achive the same results via a MENU drop down (shortcoode) or simular hyperlink.
I use the following to show latest Topics – https://uktechhub.com/forums/view/latest-topics/
Looking o achieve simular for Replies ?
sorry, untested code, go with
if ($forum_id == ‘12345’) {
I tested with your code Robin, it does not work. The if is missing parentheses. But even with that doesn’t work. It displays all the forums with the content of the if and does not take into account the id I give it.
Hi Robin. I looked at this a while ago and did some experimentation with it.
I’m sure it does what I need, but it requires too much configuration and mental overhead for my simple requirements.
That’s not a criticism of the plugin itself! It looks great!
But its flexibility requires me to learn its complex model.
And my needs are dead simple: simply make all forum content inaccessible to everyone who isn’t signed in as a forum member.
Afaict, the function I’ve created above does a good enough job toward that end.
The main issue is that it allows access to anyone who isn’t a member, as long as they have a login to the website.
For me this isn’t a problem yet: the only members of the site will be forum members.
At this point I’m not sure how to test for that. I’ll get around to figuring that out at some point.
I have a solution.
It relies on a couple of assumptions: one being that the structure of URL’s is like this:
‘http://mysite.com/forums/…’
Assumption 2: all users with an account on the website are allowed to access the forum.
This function does the following:
If the user requests a resource under ‘/forums/’ then we test to see if the user has a wordpress account and is logged in. If the user isn’t logged into the wordpress account, then they get denied.
In production I’ve replaced ‘wp_die’ with a wp_redirect to another page.
/**
* If a user is not a forum member, and requests the forum index page then redirect them
*/
add_action('init', 'as_protect_forums');
function as_protect_forums() {
// get the path of the requested URI
$current_url = home_url($_SERVER['REQUEST_URI']);
$path = parse_url($current_url, PHP_URL_PATH) ;
$parts = explode('/', $path) ;
$first_part = $parts[1] ;
if ( $first_part === 'forums' ) {
if ( 0 === get_current_user_id() ) {
wp_die('nope');
}
}
}
Hi @robin-w,
thanks for your reply!
I managed to reproduce my problem:
I created a WordPress instance on wptaste.com, reinstalled the essential bbpress plugins as well as Elementor Pro and Astra Pro, trying to redo my settings by hand, the error did not reproduce , I then exported my settings from the original site to re-import them into the test site and there I got the error.
So I set out to reset my settings in Astra Pro and then redo them by hand, and now everything is back to normal.
I didn’t understand what it was, but I was able to isolate it and find a solution that didn’t take your time.
Thanks for putting me on the trail!
Best regards,
Ludovic from Reunion island 🇷🇪
I took a look at this, but cannot see what is causing the issue
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
As a test can you try not having the underscore eg customforum as a single word and see if that makes a difference.
Also are you running buddypress as well ? (question not suggesting you should or shouldn’t !)