Search Results for 'bbpress'
-
Search Results
-
Topic: sort topic by value
Is there a plugin or function to sort topics by weight? In other words, a field where a numerical value can be added, and if a value exist in this field, it brings the topic to top of topic lists.
And each topic that has a value in it, if the value is higher than other values of topics, the highest values are are the top of topic lists. And then topics which have no values are sorted in topic list in default manner.
I’ve seen sorting set up with values like this in all types of scripts, and just hoping there is a way to accomplish this in bbPress.
Thanks for any suggestions.
Hello,
We are running bbPress 2.6.14 on a WordPress 6.8.2 site with a private forum.
We have noticed a strange issue:
Some subscribed users receive email notifications when new topics/replies are posted.
Other subscribed users (from the same forum) do not receive anything.
We checked spam/junk folders, nothing there.
Trying to unsubscribe and resubscribe does not solve the issue.
So I have two main questions:
Where are subscriptions stored in the database with bbPress 2.6.14?
I donāt see a wp_bbp_engagements table in my DB.
I also donāt see any _bbp_subscriptions or _bbp_topic_subscriptions entries in wp_usermeta.
Yet some users clearly do receive notifications.
How does bbPress decide who gets notified?
Is it handled directly via wp_mail() when a reply/topic is created?
Could private forums behave differently compared to public ones?
Troubleshooting guidance
Is there a way to ārebuildā or āresetā subscriptions to ensure consistency?
Should I try to manually create the wp_bbp_engagements table if it is missing?
Iād really appreciate if someone could clarify how subscription data is stored and how email notifications are triggered in bbPress 2.6.14, so I can debug why some users receive emails and others donāt.
Thanks a lot!
I have disabled all plugins other than buddypress and bbpress.
Issue requires both to enabled. buddypress by itself does not cause this.I am seeing this VERY HIGH log spam on every page load:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
bbpressdomain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in …/wp-includes/functions.php on line 6121Hello
My question is:
In the addressIn the issue
25.Restricting User Access to the WordPress backendAdd this PHP code snippet so that only users who can only edit posts can access the WordPress admin section.
Which was introduced to prevent the logged-in user from accessing the counter of the following code/**
* Redirect back to homepage and not allow access to
* WP backend for Subscribers.
*/
function rkk_redirect_admin(){
if ( ! current_user_can( ‘edit_posts’ ) ){
wp_redirect( site_url() );
exit;
}
}
add_action( ‘admin_init’, ‘rkk_redirect_admin’ );The code works fine, but the bug is that:
Although it appears to prevent a common user from accessing the WordPress dashboard, the same user can easily bypass the code ban and log in to the dashboard by opening a new tab in the browser and entering the address
https://wordpress.org/wp-admin/
in that tab and pressing Enter. This is the bug in the above code.
The question is:
How can I change the above code to prevent the trick of logging into the dashboard as described above?Thank you in advance for your advice.
Wordpress version 6.8.2
bbPress version 2.6.14In my forum, I have some sticky notes that are closed. They have a yellow highlight around them and I can’t figure out how to remove it.
I have tried a number of CSS overrides but no success. Any ideas? I feel like I am missing something simple.
Thank you!
DSTopic: Topic to be approved
I migrated an old custom forum to bbpress, and today (I opened the forum yesterday) a user registered and wrote a topic, but it wasn’t visible (I noticed this by accident because the section in the frontend where it says “x topics are not public” is really small), and I had to manually approve it.
Why? Do I have to set the permissions for registered users somewhere?
ThanksHello,
Iāve noticed a possible bug in the way Yoast SEO generates sitemaps for bbPress replies.ā In the topic-sitemap.xml files, the topic URLs are correctly generated and point to the actual topics (e.g. https://www.example.com/topic-name.html).
ā But in the reply-sitemap.xml files, every reply entry points to the same generic URL like https://www.example.com/forums/reply, which doesnāt resolve to the actual reply.
As a result:
ā These sitemap entries are invalid because they donāt lead to a specific page.
I built a custom plugin (with ChatGPTās help) that adds proper URLs for replies, but Iām wondering: does it even make sense to submit reply URLs to Google?
Wouldnāt it be better if Yoast excluded replies from the sitemap entirely, and only kept topics?I also noticed that in the Yoast settings (SEO ā Search Appearance ā Content Types) it is possible to disable āRepliesā. That solves the problem, but shouldnāt this be the default setting?
Or alternatively, if replies are enabled, shouldnāt Yoast output the correct URLs instead of /forums/reply?Can you clarify what the recommended behavior is?
Thank you!
Hi everyone,
Iād like to share a very useful snippet for bbPress that I had a hard time finding on Google, but which can save a lot of time.
For many communities itās extremely helpful to have the āNotify me of follow-up replies via emailā box checked by default. This way, users are automatically notified of new replies and are more likely to come back to the forum and engage in the discussion.
Here is a simple solution that works on the latest WordPress + bbPress. Just add it to your themeās functions.php or into a small custom plugin:
// Auto-check the "Notify me of follow-up replies via email" box (topic + reply forms) add_action('wp_footer', function () { if (is_admin() || !function_exists('bbp_is_subscriptions_active') || !bbp_is_subscriptions_active() || !is_user_logged_in()) { return; } ?> <script> document.addEventListener('DOMContentLoaded', function () { var t = document.getElementById('bbp_topic_subscription'); if (t && !t.checked) t.checked = true; var r = document.getElementById('bbp_reply_subscription'); if (r && !r.checked) r.checked = true; }); </script> <?php }, 99);With this snippet, whenever a logged-in user creates a new topic or reply, the subscription checkbox will already be checked by default.
Of course, the user can still uncheck it if they donāt want notifications.This small trick makes it much easier to keep members engaged and ensures they donāt miss important replies.
Hope it helps others too, since I believe this should be more widely documented!
Hello everyone
My site was created with WordPress 6.8.2 and BBPress 6.2.14 with the WordPress 2025 theme block template.
In the BBPress documentation titled: “Layout and functionality ā Examples you can use” at:
in line 12 it says:
12. Add a modal login (pop-up) window
This is quite neat and the instructions add it to the menu and, if necessary, add the login/logout.The login looks like this
https://buddypress.org/wp-content/uploads/53/2014/02/modal-login3-300×144.jpgThere are different styles available and you can have your own style.
Instructions can be found here:
https://codex.bbpress.org/modal-login-in-a-menu/I tried to access it, but unfortunately the link gives an error of
Error 404 – Destination Not Found.Please advise on how I can enable the above mentioned forum registration and login pop-up in my site’s forum?
Thank you in advance for your help.