I found this code and can now show five popular entries on my frontpage π
// Top five of bbpress on startpage
function rk_top_five_view() {
bbp_register_view( ‘top-five’, __( ‘5 Most Popular Topics’ ), array(
‘meta_key’ => ‘_bbp_reply_count’,
‘posts_per_page’ => ‘5’ ,
‘ max_num_pages’ => ‘1’,
‘orderby’ => ‘meta_value_num’ ),
false );
}
add_action( ‘bbp_register_views’, ‘rk_top_five_view’ );
Thanks
Matthias
@lflier
Wow, this really solves the issue with Visual Editor content styling. Thank you very much!
unction bbp_enable_visual_editor( $args = array() ) {
$args['tinymce'] = array(
'content_css' => '/wp-content/themes/mytheme/css/tinymce-editor.css',
);
return $args;
}
add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );
How to add this to: https://codex.bbpress.org/enable-visual-editor/ ?
not certain this will work, but put this in the custom css area of your theme
#bbpress-forums ul li::before {
content : none !important ;
}
Hi there,
New to bbpress plugin and we’re busy setting it up. Upon installation we noticed that some icons are rendering in the forum which I quickly found out shouldn’t be there.
Any one that know how to remove these orange icons from the forum part?

Any help is appreciated.
Thanks,
Kevin
Hi,
remove_filter( 'bbp_get_reply_content', 'bbp_make_clickable', 4);
remove_filter( 'bbp_get_topic_content', 'bbp_make_clickable', 4);
not work bbpress 2.6.4
is there any new code?
registration is a function of WordPress, not bbpress.
you can switch it off using
Disable New User Notification Emails
ok, can you list them here and I raise a ticket for you – I’m not a bbpress author, just someone who helps out on here.
ok, you should only receive bbpress emails when you create a topic or respond to a reply, and tick the ‘Notify me of follow-up replies via email’ like the one below the reply box on this thread.
can you specify a couple of examples of what you are getting ?
1. No additional plugins, vanilla bbPress
2. if you mean in the front end, then no, I just created a form
3. no
This is just a simple forum for about 20-30 local guys to chat and joke around.
(I like the avatar BTW)
bbpress only send out emails you ask it to !!
1. are you using additional bbpress related plugins?
2. are you subscribed to forums?
3. are you using buddypress?
your best bet would be to raise a trac ticket with a list of missing labels
https://bbpress.trac.wordpress.org/
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, 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.
Then come back
Hi,
I’m currently testing bbPress (with the default plugin templates/themes) and have noticed that a number of inputs do not have labels associated with them. I run a number of sites that require we meet a standard of WCAG 2.1 AA.
Is this something that is likely to be amended in upcoming versions?
And does anyone have any advice regarding making bbPress compliant?
Thanks
Laura
@suranodsk yes, we’ve been through quite a lot of analysis.
The primary issue is that the new post select and post write queries are taking about 3x longer on 2.6 than on the latest previous version of 2.5.x, and we’re trying to figure out why.
We’ve run extensive new relic tests and it has isolated the specific queries as the culprit. Otherwise, there’s no other issues with our host or our site that is causing the slow query times.
So, there’s something in the new 2.6.x bbpress query engine that seems to be less efficient for large databases than in the 2.5.x query engine.
Sure, we can toss a bunch of server resources, PHP workers, and REDIS at it, but that doesn’t really fit into the bbpress “light and simple” ethos. Lots of performance improvements promised, but when the rubber met the road…
We’d rather figure out what’s going on structurally with bbPress 2.6 vs. 2.5 than just give up and downgrade to 2.5.
I created a BBpress site, but now I am being plagued by emails of forum activity.
As I am just an admin, is there a way to set BBPress to send emails of forum activities, registrations and such to another, separate email address and leave me in piece? π
Thanks
I’m never quite sure if I should add to a post that has the same problem, but is obviously unanswered for a long while, or post a new topic. But… our forum also has a very similar issue so it seems sensible to add it here.
For us, it seems to be specific to text-align (left, right or centre) and for “non-admin” logged in users.
It displays the html code as is, rather than using it to display the correct text alignment. All other html options in the visual editor we’ve tested so far seem to work – it’s just the text alignment that doesn’t. And only for non-admin users – the html works as it should if an admin user posts.
<p style=βtext-align: right;β>right align</p>
Hoping for a solution? Am on current versions of bbpress, wordpress and bbp style pack and php version 7.3
@robin-w Thank you and yes… I was already considering something similar as a temporary fix, although hopefully it’s something bbPress will address at some stage soon as it’s clearly an issue that will be causing problems for a lot of users…
so you couldput this in your functions file of your child theme, it takes out then new filter and puts back the old one
remove_filter( 'bp_notifications_get_notifications_for_user', 'bbp_format_buddypress_notifications', 10, 8 );
add_filter( 'bp_notifications_get_notifications_for_user', 'rew_format_buddypress_notifications', 10, 5 );
function rew_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
// New reply notifications
if ( 'bbp_new_reply' === $action ) {
$topic_id = bbp_get_reply_topic_id( $item_id );
$topic_title = bbp_get_topic_title( $topic_id );
$topic_link = wp_nonce_url( add_query_arg( array( 'action' => 'bbp_mark_read', 'topic_id' => $topic_id ), bbp_get_reply_url( $item_id ) ), 'bbp_mark_topic_' . $topic_id );
$title_attr = __( 'Topic Replies', 'bbpress' );
if ( (int) $total_items > 1 ) {
$text = sprintf( __( 'You have %d new replies', 'bbpress' ), (int) $total_items );
$filter = 'bbp_multiple_new_subscription_notification';
} else {
if ( !empty( $secondary_item_id ) ) {
$text = sprintf( __( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), (int) $total_items, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) );
} else {
$text = sprintf( __( 'You have %d new reply to %s', 'bbpress' ), (int) $total_items, $topic_title );
}
$filter = 'bbp_single_new_subscription_notification';
}
// WordPress Toolbar
if ( 'string' === $format ) {
$return = apply_filters( $filter, '<a href="' . esc_url( $topic_link ) . '" title="' . esc_attr( $title_attr ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $text, $topic_link );
// Deprecated BuddyBar
} else {
$return = apply_filters( $filter, array(
'text' => $text,
'link' => $topic_link
), $topic_link, (int) $total_items, $text, $topic_title );
}
do_action( 'bbp_format_buddypress_notifications', $action, $item_id, $secondary_item_id, $total_items );
return $return;
}
}
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, 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.
Then come back
Yes I’ve seen there are several people reporting the same issue there but no useful responses as yet. Tbh the problem is obviously originating from bbPress (ie. it’s not formatting the links in the same way as it used to) but if/until a fix is forthcoming, I’m planning on seeing if I can find a work around myself.
Will post back here if anyone is interested…
HI @robin-w,
Done,
My Website bbpress now working perfectly
Thanks for the suggestion
Hello.
First of all, thank you for developing such a great plugin program.
However, I would like to ask you a bit of trouble nowadays.
The issue is that the number of topics in forums index page are incorrect.
1. My system environment:
-Wordpress 5.3.2
-Bbpress 2.6.4
-Buddypress 5.1.2
-Bbpress Style pack 4.3.8
– Jetpack 8.1.1
2. My issue detail:
See captured image 1.
This is a page of Forums Index Main page.
(Sorry for not English, but I’ll try explain)
As you see the summary count number(left side) of each forum counts are incorrect with the parent forum’s count.

And in the parent forum index page,
each count of each line for forums are correct.
See captured image 2.

3. I tried to run recalculation.
I ran the recovery and recalculation tool. Though I have run it several times and it failed.
I am using some forums on a group page.
What is the problem?
In the past, it used well without any problems. There was no error in adding up posts. Recalculation also worked well.
Please let me know if you have a solution.
Thank you.
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, 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.
Then come back
I installed the bbPress plugin and activated the plugin, but my WordPress gives an error that the plugin is not activated.
Any suggestion?
What should I do now?
My Website here: https://wcblogs.com
Thanks in advance