without further digging, the function
echo get_the_post_thumbnail
seems to support
thumbnail
medium
large
full
so you can have for instance
echo get_the_post_thumbnail($post->ID,'medium',array('class' => 'alignleft forum-icon'));
echo get_the_post_thumbnail($post->ID,'large',array('class' => 'alignleft forum-icon'));
you can also play with these settings – see
https://www.elegantthemes.com/blog/tips-tricks/how-to-change-thumbnail-size-in-wordpress-and-why-you-want-to
function my_bbp_no_reply_email(){
$email = 'no-reply@sitename.com'; // any email you want
return $email;
}
add_filter('bbp_get_do_not_reply_address','my_bbp_no_reply_email');
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
Code Snippets
When a user quotes another post using the quote button, their post shows the bbcode as plain text. I tried to recreate the issue on my end with a test account (non-admin) in incognito mode, and was not able to recreate the issue. Any idea what could be causing it? (example linked below)
Wordpress version: 6.8.2
bbPress version: 2.6.14
Link: example post with issue
ok, it is listed as a bug for bbpress to fix, I am just a volunteer here,
so if you want a fix in the meantime , install
bbp style pack
once activated go to
dashboard>settings>bbp style pack>bbPress Bug Fixes and select the relevant one (at/near the bottom)
since it is you asking 🙂
add_filter( 'bbp_make_clickable', 'rewst', 10 , 2 ) ;
function rewst ($ret, $text ){
$ret = str_replace ('http://' , 'https://' , $ret);
return $ret ;
}
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
Code Snippets
Install
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Forum Order
Sorry to bring this ancient topic up! But this issue is stil present after 11 years! It’s not a theme issue, I changed theme to the wordpress default.
Topics are sorted by freshness in each individual forum, but not in the forum index page at example.com/forum
I also added this in my custom plugin, bt no success:
function freshness_topic_order( $args ) {
$args['meta_key']='_bbp_last_active_time';
$args['orderby']='meta_value';
$args['order']='DESC'; //change to ASC to put oldest at top
return $args;
}
add_filter('bbp_before_has_topics_parse_args','freshness_topic_order');
You can achieve this without raw SQL by looping through the replies and filtering out the author’s own ones. Something like this:
$reply_count = 0;
$replies = bbp_get_all_child_ids( $topic_id, bbp_get_reply_post_type() );
if ( ! empty( $replies ) ) {
foreach ( $replies as $reply_id ) {
if ( get_post_field( ‘post_author’, $reply_id ) != $author_id ) {
$reply_count++;
}
}
}
This way you count only replies not made by the topic author. Then you can compare $reply_count with your threshold to trigger the reward.
It’s lightweight, avoids direct SQL, and keeps everything inside bbPress/WordPress functions.
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 bbpress domain 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 the init action 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 6121
ytParticipant
Hello
My question is:
In the address
Layout and functionality – Examples you can use
In the issue
25.Restricting User Access to the WordPress backend
Add 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.14
In 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.
How to remove yellow highlights?
I have tried a number of CSS overrides but no success. Any ideas? I feel like I am missing something simple.
Thank you!
DS
as with your other question
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, that does not belong to the bbpress search field default.
It could be added by several things, without a link to a live example (which would let me see in browser what class it is and try and see what is sending it) I can only suggest you
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
They want to write a topic once and be able to post it to multiple forums. I don’t believe BBP supports this functionality as topics are bound a single forum ID.
The built-in WordPress structures support this (single post with 0 or more categories), but the posting experience is made for publishing, not discussion.
I initially built a mobile app just for BBP, but this structural challenge led me to add support for WP categories/posts as an alternative data source/option.
Hi John, just following up to see if you’ve had a chance to look into the points I mentioned in my previous post.
Last night I had some free time to test this further. I set up a brand new WordPress install with only BBPress and BuddyPress. I then created a forum with 16 posts.
Using the Twenty Twenty-Four theme, I was unable to view Page 2 of “Topics Started.” The only way I could view it was by installing the BP Classic plugin.
The most recent change to that plugin was:
Version: 1.4.0 — Ensure bbPress topics/replies pagination behaves as expected with BuddyPress 12.0 & up (See #44).
Here are the changes that imath added to fix the pagination issue.
—
I’ve now seen this issue in 3 places: my public website, the website I sent you via PM on Instagram, and a clean install. I hope that I’ve been able to provide enough examples that this issue still exists.
For those who are less keen on code, or who install or already have
bbp style pack
then just go to
dashboard>settings>bbp style pack>Topic/Reply Form
and use option 6
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!
Thank you for helping me interpret that!
This is what was on that line:
<p class="logo_tagline"><?php bloginfo(description); ?></p>
I added single quotes to 'description' and now the forums fully load (when FS_METHOD is set to direct). That line was basically the only difference between the original bbpress.php and the child theme’s copy of bbpress.php.
Unfortunately, that fix only works with FS_METHOD set to direct. I need it set to ftpext so WordPress requests FTP credentials (for things like plugin updates), because otherwise WP doesn’t have write permission.
When I change FS_METHOD to ftpext, the forum pages start giving me the ol’ “There has been a critical error on this website” message.
The log gives me this:
[08-Aug-2025 17:23:55 UTC] PHP Fatal error: Uncaught TypeError: ftp_fget(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /var/www/vhosts/[SITEURL]/httpdocs/wp-admin/includes/class-wp-filesystem-ftpext.php:146
That’s not a bbPress file, so I think I’ll have to talk with our webhost about this.
Thanks for your help!
This has been removed probably because it no longer worked.
Since bbpress just uses WordPress login, If you google ‘modal popup login wordpress’ you’ll find both code and plugins that do this
ytParticipant
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:
Development & Updates
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.jpg
There 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.
I found this one which is built for buddypress but the forum section is great even if you don’t use buddypress.
BuddyX