Hi, for whatever reason the forum freshness is wrong for only one of my forums. My first troubleshooting step will be to run the recalculate forum freshness repair tool, but I see that it creates substantial DB overhead. I’m not particularly worried about the connection count or anything, but is there a “proper” procedure for running these repair tools? Is there any risk of them quitting midway through and corrupting the data, and should we be creating db backups before running them? Just want to be clear on what the risks are before running them on a live site.
Thanks
Proper way to run forum repair tools
Published on January 13th, 2022 by ewd910After submit error message shows – Comment is added
Published on January 13th, 2022 by grilledmediaSomehow after someone adds a comment on a forum topic an error message is shown with the text ‘Spam email blocklist’. When refreshing the page, the comment is added.
Screenshot:https://prnt.sc/26d7eye
I’ve done tests:
– add comments to a regular post: success
– Enables standard Twenty.. theme: problem still exist
Wp & BBpress versions:
– Akismet is not active
– No spam filter is active
Versions
Wp Versions: 5.8.2
BBPress: 2.6.9
I can’t share a URL because it’s a non public website. You need a login. Which I can share of you need te have access.
Double log in for logged out user accessing topics
Published on January 12th, 2022 by redelefantWebsite: https://jewishwomenofwisdom.org
wordpress version: 5.8.3
bb press version: 2.6.9
I have a WordPress website with Restricted content pro (membership plugin), bbpress and buddy press. There are some forum pages, that are pages with bb press shortcodes and blocked with Restricted content pro and its locked message for logged out users appears(such as https://jewishwomenofwisdom.org/forum/ OR https://jewishwomenofwisdom.org/new-topic/). That is working fine. However, pages generated from the post type such as the archive page https://jewishwomenofwisdom.org/forums/, aren’t blocked and can be accessed (and a list of categories can be seen). Then when a logged OUT user tries to click on a topic to see topic content, it send them to a funny login (not restricted content pro) and then when they click the “log in” button, (whether or not the username and password fields are filled in) in they are redirected to the regular RCP login. That is an extra step. How do I get rid of the middle step?
(not sure if this info is relevant: Under Restrict – buddypress , I set that “Redirect to page” to a page called “locked content”.)
Thank you in advance.
404 error for non logged in users
Published on January 12th, 2022 by nige mcilwaineHi,
I am a brand new user of bbpress. Setting up my first forum and I have created a Forum with topics etc and marked them all as Private. Obvioulsy when logged in as an admin I can navigate the forum no problem, so I tried loggin out and doing the same, I though the forum would say something like ‘Pleaase login to access the forum’ or something but it just throws up a 404 error, is this right or am I misunderstanding.
If you have the option for a Private Forum for Logged in users only, should I not be getting a option to login to use the Forum, instead of a 404 error.
Sorry if Iam being dumb!
cheers
BBpress Version 2.6.9
WP Version 5.8.3
Automatic subscriptions
Published on January 11th, 2022 by zyvesHello,
Is it possible to make automatic to all members (without member intervention) subscriptions to forums, topics and responses to topics engaged by members?
Thanks for your help.
Import from Drupal worked but shows No topics
Published on January 11th, 2022 by docmartinhkHi:
Thanks for creating the importer [and forum].
Just done an import from Drupal 7 forum, to bbpress 2.6.9 on WordPress 5.8.3.
It seems to have worked well.
Just odd that in listings like forums, forum topics, get 0 posts and 0 topics listed; even tho can click through and see the posts and replies.
I’ve tried running the Repair Forums tools [all of them, just in case! – didn’t get any reports from them, in case there should be]. But not helped.
Also added a test post; and sure enough this was counted.
– so I can carry on with the forum, just an oddity to have the Drupal posts/topics not counted.
Currently wpress.drmartinwilliams.com/forums
Soon to www.drmartinwilliams.com
Upgrade database bloated with spam
Published on January 10th, 2022 by creekdwellerI’m dealing with a website that went through a period of neglect in which it was bombarded with registration spam and spam posts to its bbPress board. Nearly all the spam posts were caught by Akismet, so they aren’t being displayed. We’re installing reCaptcha and possibly other measures to prevent additional registration spam and cut down on spam posts.
The problem is the size of the database. Tens of thousands of spam posts that were caught by Akismet remain in the database, with the vast majority in status “pending” (although they don’t appear in the pending folder). The number is so large that manual deletion is not practical. The tentative plan is to use SQL to remove these posts and their metadata. Likewise, it seems we SQL will be needed to remove a huge number of bogus users and their metadata.
The dashboard has a message saying we need to perform a manual database upgrade due to the size of the forum. We aren’t sure how to proceed: perform these deletions in SQL and then do the upgrade, or do the upgrade first? Presumably the upgrades will proceed faster with a 90% reduction in the size of the database if we do the SQL operations first, but I don’t know if there are other considerations that point the other way. Any thoughts would be appreciated.
Problem with the breadcrumb
Published on January 10th, 2022 by outkaxHello,
I have a problem with the display of the breadcrumbs. On my local bbpress forum they appear well and all works. But on the online version I do not see them appear. It’s the same code and the same settings.
bbp_set_user_role doesn’t change role
Published on January 9th, 2022 by marcosmodopWP version: 5.8.3
bbpress version: 2.6.9
site is in a local environment at the moment.
I’m trying to update the role for the users once they enroll in course. I manage to found an entry point for this with “learndash_update_course_access” once there is an update in the user courses list. This part works. What is giving me troubles is the update of the user bbpress roles.
This is the most raw code I try:
add_action( 'learndash_update_course_access', 'updatebbpressrole', 20, 4 );
function updatebbpressrole ($user_id, $course_id, $course_access_list, $remove) {
$new_role_forum_role = "bbp_blocked";
bbp_set_user_role( $user_id, $new_role_forum_role );
}
I try with a pair of custom roles I have, but it also happens with the basics bbpres roles too, so is not related to the new roles.
Also I try with the update in the root of functions.php this works, sort of, because the update is done, but the select dropdown in the user profile in the admin page get stuck in the old one, but in code the selected one is the updated, if I get out and enter again is fixed.
Any idea about why bbp_set_user_role is not working this way ?
Breadcrumbs showing up 2 times?
Published on January 9th, 2022 by 65Erik65In my forum the breadcrumbs or whatever they’re called show up with the same text twice.
How can I remove one of them?
(I’m not 100% sure this is a bbPress problem but maybe someone can help me out.)
Example:
