bbp style pack
will let you style bbpress, and has integration for the Astra theme
I’m confused. Does BBPress get its CSS and template support from the active WordPress theme or are there optional plug-in themes one can install that only apply to styling your BBPress implementation?
I’ve been asked to add forums to an existing Elementor-built site running the Astra Pro theme which apparently has no support for BBPress. Because the web site is already built, approved by the bosses and currently live I can’t change the WordPress theme. But the default styling in BBPress doesn’t work for them either (we have an approved font family, size, color, etc too).
I’m fairly adept with CSS and WordPress but I’d rather use a design by someone who actually knows the software. That, and I’m a bit graphically challenged.
I noticed that there’s a dropdown for “Forum Theme Packages” in Forum settings and was hoping that such BBPress-specific child theme plug-ins exist which allow WordPress to use another parent theme. Do such plug-ins exist and is there a repository of them somewhere on the net?
I use bbpress in Japanese.
In the bbpress search window, if you search for two or more words with double-byte spaces, no search results will appear.
I tried replacing half-width with full-width, and it worked in the wordpress search window, but not in the bbpress search window.
advice please.
thank you.
function empty_search( $query ) {
if ( $query->is_main_query() && $query->is_search && ! $query->is_admin ) {
$s = $query->get( 's' );
$s = str_replace(' ',' ', $s );
$query->set( 's', $s );
}
}
add_action( 'pre_get_posts', 'empty_search' );
I have a bit of a mystery here, which I *think* involves an interaction between bbPress and BuddyPress. I’m going to put it out here, just in case anyone has any ideas. I have NOT tested this on a clean site with only bbPress and BuddyPress so it’s also possible that there’s some other interaction.
What’s happening is that BuddyPress notifications times look right with the exception of notifications for bbPress forum post/replies. Notifications for forum replies are offset by the site’s offset from UTC. So, for example, if the WordPress Timezone setting is “New York” (which is currently UTC-4) the a forum notification says “4 hours ago” immediately.
Any ideas?
Salve,
non riesco a mettere a schermo intero il forum in questione:
https://plant.ciellesrl.com/forum/linea-1/
Su desktop si vede centrato e troppo piccolo, vorrei fosse esteso per l’intera larghezza della pagina.
Tema:NiveauVersione: 1.0.6
Versione WP: 6.3
Versione bbPress: 2.6.9
Help, grazie in anticipo
I want to remove the moderation links that appear within a topic post.

I believe this is controlled by the following in bbpress/includes/topics/template.php. What edit would I do if this is the correct area to edit:
function bbp_get_topic_admin_links( $args = array() ) {
// Parse arguments against default values
$r = bbp_parse_args( $args, array(
'id' => bbp_get_topic_id(),
'before' => '<span class="bbp-admin-links">',
'after' => '</span>',
'sep' => ' | ',
'links' => array()
), 'get_topic_admin_links' );
if ( empty( $r['links'] ) ) {
$r['links'] = apply_filters( 'bbp_topic_admin_links', array(
'edit' => bbp_get_topic_edit_link ( $r ),
'merge' => bbp_get_topic_merge_link ( $r ),
'close' => bbp_get_topic_close_link ( $r ),
'stick' => bbp_get_topic_stick_link ( $r ),
'trash' => bbp_get_topic_trash_link ( $r ),
'spam' => bbp_get_topic_spam_link ( $r ),
'approve' => bbp_get_topic_approve_link( $r ),
'reply' => bbp_get_topic_reply_link ( $r )
), $r['id'] );
}
so that error usually means that something is looping.
so I’m presuming you are using the bbpress [bbp-login] or [bbp-register] or a bbpress widget – yes, if so which?
Yeah it really worked, but there’s one huge problem, the plugin injects itself on every page of the site, not just the ones where bbpress is involved.
Is there a good way to curb that?
So you are telling me that the theme we see here is not a default bbpress theme? You need something external to be able to do that sidebar?
with bbpress active, I normally only let users see that profile.
You might want to disable the WordPress admin bar for ordinary users. There are a bunch of plugins that do this.
eg
Hide Admin Bar Based on User Roles
no problem.
on no. 3 there is a bbpress profile and a wordpress profile. Other plugins may also add their own profile pages.
If it is not the bbpress profile page you want it to go to, then do come back, I can probably give you some code.
Whoops we must have been posting at the same time. THANK YOU SO MUCH.
Believe me I had to edit other bbpress files to make ACF plugin work. Again thank you!!!!!
Thank you for the clarification of the analogy. Yes, that certainly makes sense, and I certainly would like to just use the car. BUT no one has been able to help me make ACF plugin to work on the frontend. ACF has me going to bbpress and bbpress has me going to ACF. (The code that is working great on the backend I have not been able to work on the front end. Spent hours upon hours trying to this.
What I do not understand is why an admin/moderator would ever want a topic to fall under the category of no forum. If nothing else I will figure out a way to just make it so the first option has no words so the poster sees it looks strange, and/or find a way to add additional text below it to tell them to choose the Fishing Report Forum. (I will be giving each new user an instruction pages but I can see many topics going into la la land.
Thanks for what you do at the kitchen table. I will deal with the train. 🙂
because I am feeling in a good mood, I did a bit of searching.
There is a way, but you have to edit a bbpress file.
so go to
\bbpress\includes\admin\metaboxes.php
and remove line 445 which says
'show_none' => esc_html__( '— No forum —', 'bbpress' ),
and save it back
You will need to do this again if bbpress issues an update, but those are few and far between.
bbpress is free software and has no dedicated support. The bbpress authors rarely visit the support site, and there is no way to contact them directly. That is the nature of free open software – you write it and put it out there, but with no warranty and no obligation to support.
hmmm.. looks like you need a bbpress template in your theme.
so first you need to create a child theme – the ‘salient’ theme docs should tell you how to do this.
Then in your salient theme copy the ‘left-sidebar-page.php’ file you created into the child theme, and then rename it ‘bbpress.php’
That should mean that all bbpress pages use this template.
Oh sorry Robin,
I thought you were part of bbpress.
Do you then maybe know if I can contact them directly?
I would say that I am not a bbpress author, I just started using bbpress and got interested in improving how it looks and works.
I will try and find time to look at your other questions, but I do this in my spare time 🙂
it can be combinations, so yes, I want to eliminate that.
Given that at the moment I have the problem as :
On registration:
worpdress has no role
bbpress has participant role
so you need subscriber role to be set
then I am struggling to see how bbpress is ‘unsetting’ the subscriber role.
Robin:
I have already found that bbPress, if inactivated, the problem goes away. Are you thinking that another plugin might be part of the process?
ok, let’s try the standard fault finding :
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, starting with wpforms, and then style pack.
Then come back
Robin,
wpForms was only minimal help. They told me it was bbPress problem. They did tell me that the user role was set when the user who is registering clicks the “acknowledge” link. It seems that bbPress is setting the user role to empty after wpForms sets it. So, is there a snippet that could set the user role to “Subscriber” that would activate after bbPress sets the user role and forum role?
Almost all new users will be subscribers and only a very few will be different, and I don;t mind setting those manually.
Uh Yes I did the steps you mentioned, so I’m not stuck haha.
But I also don’t have a sidebar on my page…
I created a regular page, because I need some info above the forum. I didn’t set a page template or anything. If I do chose the page template left-sidebar, then I do have a sidebar. But that looks the same then when I just add the bbpress widgets to the default left sidebar and don’t do the specific sidebar steps.
I thought if I use the specific sidebar it would look more like the rest of the forum. Thats why I tried that. Was I wrong?
So when should someone use the specific sidebar?
Thanks for your help again!
Hello!
Question might seem stupid but hear me out;
The last update, per the download page, seems to be from November 2021.
Usually, a plugin that hasn’t seen any updates in the last year, to me, is abandonned and should not be used in a new production; Theres always a little nugget to change every once in a while, so even the most basic of plugins, barring a few exceptions, get updates at least once a year.
But, bbPress has not been updated in a year and a half; is it just that there is nothing to fix/modify, or was bbPress left behind to make place for a new forum plugin by the WP Core team and that should be the thing I do install?
I ask because I am right now creating a brand new site where bbPress would be used. So if the current plugin is under another name, I should install that one and not this one.
Now I have to edit the file
ok so you have already put :
function rkk_widgets_init() {
register_sidebar( array(
'name' => __( 'bbPress Sidebar', 'rkk' ),
'id' => 'bbp-sidebar',
'description' => __( 'A sidebar that only appears on bbPress pages', 'rkk' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">',
'after_title' => '</h3>',
) );
}
add_action( 'widgets_init', 'rkk_widgets_init' );
into your child theme functions file – yes ?
and then did this
I chose the left-sidebar-page.php of my theme, copied it into my child theme and replaced <?php get_sidebar(); ?> with <?php dynamic_sidebar( ‘bbp-sidebar’); ?>. Because I read this in another topic of a theme salient user.
which replaces the second part of 26, as you have chosen the left-sidebar rather than just sidebar
yes ?
so what exactly are you stuck on?