thanks for that – I think I understand 🙂
so the function that is used to display replies is is held in
\bbpress\includes\replies\template.php line 576`
function bbp_get_reply_content( $reply_id = 0 ) {
$reply_id = bbp_get_reply_id( $reply_id );
// Check if password is required
if ( post_password_required( $reply_id ) ) {
return get_the_password_form();
}
$content = get_post_field( 'post_content', $reply_id );
// Filter & return
return apply_filters( 'bbp_get_reply_content', $content, $reply_id );
}
so
add_filter( 'bbp_get_reply_content', 'my_function', 10 , 2) ;
function my_function ($content, $reply_id ){
//your code here
}
So totally new to WordPress Plugin development so bare with me, please
On a website that use BBPress we are hoping to be able to do some edits on the text on posts as they are loaded just before they are shown and I figure I need to use either a filter or an action to get the ‘event’ when posts are loaded from DB.
But which exactly is it? ChatGPT suggested a filter which does not actually exist
May there is an example of how to do something like this somewhere?
Using Version 2.6.12 of BBPress
I cannot subscribe to group forums.
When clicking “subscribe”, nothing happens.
I created a private test forum. In this test forum, subscribe works just fine, i.e. the link changes to “unsubscribe”.
https://metaphorum.org
WP 6.7.2
Astra, Astra Pro. I did not try with a standard theme because it works on my test forum.
bbpress: 2.6.12
BuddyPress: 14.3.4
Hallo, ich habe gesucht, aber keinen Hinweis gefunden, deshalb frage ich hier nach in der Hoffnung, Hilfe zu bekommen.
Ich habe bbPress 2.6.12 und WordPress 6.6.2. Ich benutze das Theme Astra, habe aber auch schon Twentytwentyfive ausprobiert. Ich habe auch schon verschiedene Browser benutzt und die Caches gelöscht.
Aber egal was ich tue, immer wenn ich auf die von mir erstellten Foren klicke, lande ich wieder auf der Startseite. Ich habe jetzt schon 3 Stunden mit einer KI hin und her geschrieben – leider ohne Erfolg. Jetzt wende ich mich an euch, vielleicht hat ja jemand eine Lösung für mich.
Meine Seite: https://omasgegenrechts-darmstadt.de/
und die Forenseite: https://omasgegenrechts-darmstadt.de/austausch/
Ich habe die Forenseite wieder aus dem Menu genommen, weil sie ja nicht funktioniert.
Viele liebe Grüße und schonmal dankeschön
Nicole
ok there are thousands of themes, and tens of thousands of plugin, so whilst I have had a quick look at my test site with Astra, I cannot spend time on the theme to work out what you need to do.
So to test could be a theme or plugin issue
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
Hi, I’ve recently installed bbpress for a new site and am currently setting it up. I’ve encountered a problem which is that none of my forum pages are showing the title.
I’m using the Astra theme and title show on my other webpages, so I don’t believe I have it disabled anywhere, which means I can’t figure out why it’s hidden!
I have bbstylepack and can’t find anything there for showing/hiding titles (I’ve hidden the breadcrumbs, but that’s not what I’m meaning).
This is my forum page (you can click into the test forums and test topics and see there are no titles on any of the pages)
https://www.triptathlon.com/forums/
But you can see on my holding pages there are titles; for example:
https://www.triptathlon.com/shop-2/
https://www.triptathlon.com/groups/
Any idea why the page titles are displaying on my pages but not my forum pages? It makes things hard to follow without the title there, particularly for topic pages. All I can think is there’s something somewhere hiding in the settings for my theme, but the only places I’ve found have the page titles set to show….
This has worked for many years and just now it screwed up.
I attach an image. The box where you point to the image appears. I go and get the image and in the box appears there has been a critical error on this website.
bbPpress Version 2.6.12
Latest WP
bbPress Enable TinyMCE Visual Tab Version 1.0.1
Thanks if anyone knows about this. Searching this, there are hundreds of support requests all over the place for a ‘critical error on this website’, but it only here that it appears. The rest of the site functions normally.
just confirm this is the bbpress profile, not the wordpress one.
ie you get to this by clicking the username in a topic/reply in the forums
are you a bbpress keymaster as well as an admin?
if you go into a users bbpress profile, then there is a subscriptions tab, and yes you can unsubscibe them
Hi,
I can’t see a way for admins to manage subscriptions.
We have bbPress in a members’ area, which presents two challenges:
- Ex-members cannot access the forum to manage their subscriptions
- Ex-members still receive the notifications to member-only content
I could delete these directly from the wp_usermeta table but it means looking up their user ID is not ideal.
can this be used in conjunction with eanble bbpress for block editor?
Hi there
I am hoping you can help.
I have otter blocks – block editor theme on a wordpress site and I am using bbpress – I have used “enable bbpress for block themes” plugin which has the forum working fine – I do however need to change the text sizing
I am wondering what the full list of css elements I need to change are ?
Or if there is a better way to improve the way the forum appears ?
Hi Robin,
I couldn’t see dashboard>forums, and the user roles (with none as Keymaster) are limited to Moderator, Participant, Spectator, and Blocked. The user page just says “forum role”, there is no mention of BBpress role.
Does that help?
I can email, or put on googre drive, some screenshots if that may help.
Regards,
Graham.
This is what I ended up using and seems to work well. If others are looking for CSS code that adds a “CLOSED” visual reference to the beginning of TOPICS Titles that have been closed, then try this and tweak to suit if needed.
/* Add a “Closed” label to closed topics in bbPress */
.status-closed .bsp-preview::before {
content: “Closed”;
background-color: #ff0000; /* Red background for visibility */
color: #ffffff; /* White text color */
padding: 2px 6px;
margin-right: 10px;
border-radius: 3px;
font-size: 0.9em;
font-weight: bold;
}
Example;
https://uktechhub.com/wp/wp-content/uploads/2025/03/UKTH-Closed-Topic-icon.png
so we’re back to you needing to close the forum in
dashboard>forums
If you are not seeing this, then can you go to
dashboard>users and look at users, you should see that at least one has ‘keymaster’ as a bbpress role – do you see this?
Hi Robin,
No, it was myself, some 8-years ago, when I added the forum. Since then we’ve added WP page content, images etc, and I’ve just kept it updated. The addition of the single BBpress forum on one page was very simple using the shortcode “bbp-single-forum”, with no other changes that I recall. Eventually I hope to remove all visible log-in possibilities, relying only on c-panel admin access for update/maintenance purposes.
Maybe I’m missing something here, and removal of the site log-in widget will also remove the login option on the forum page. Did you already take a look to see what I mean? Under the “memories shared” tab, you will see further tabs, one of which is Forum, and that is where the other Login/register section is, below the forum topics. It is this part I would like to see removed so that the page is cleaner.
Is that possible?
Thanks in advance,
Graham.
Thank you.
I looked into >appearance>widgets and the bbpress sidebar, but there was nothing added there.
Under dashboard, I didn’t see a selection for “forums”. All I have is on the relevant page the shortcode added “[bbp-single-forum id=58]“.
Does this help understand more about what I have?
Best regards,
Graham.
so depending o your exact setup, so if you go into
dashboard>appearance>widgets you should see an option for a sidebar, in which you will see the bbpress login widget, just remove that.
Then in
dashboard>forums>all forums>edit forum you can close the forums.
I am looking to freeze a website and it’s BBpress forum, so that unregistered (and registered) viewers can see the existing content in the forum, but the login form should not appear (currently seen below the forum content) which currently gives the impression they could log-in to make contributions.
WP version 6.7.2
BBpress v2.6.12
BBpress login register links v3.3.5
Twenty Sixteen Theme
http://www.grangetheatrelittletew.uk
Thank you in anticipation.
Hi,
Is there a css code that would hide/remove my sidebar from all buddypress pages?
I found one that worked to remove the sidebar from bbpress so I was hoping that there would be one that worked for buddypress.
This is the one that works to remove the sidebar from bbpress:
`.bbPress #primary {
display: none;
}
Hello,
Just an update here, the Enable bbPress for Block Themes plugin was released on WordPress.org plugins repository. You can install it via your WordPress dashboard now. Enjoy 🙂
Hello,
Just an update here, the Enable bbPress for Block Themes plugin was released on WordPress.org plugins repository. You can install it via your WordPress dashboard now. Enjoy 🙂
Hello,
Just an update here, the Enable bbPress for Block Themes plugin was released on WordPress.org plugins repository. You can install it via your WordPress dashboard now. Enjoy 🙂
Hello,
If you are using a block theme, I’ve just released Enable bbPress for Block Themes plugin that may help. Enjoy 🙂