sorry, I just help out here I’m not a bbpress author and this is at the limit of my knowledge.
As far as I can see this page just uses the standard forum display templates
FORUMS
\templates\default\bbpress\content-archive-forum.php
lists forums
calls
loop forums or feedback-no-forums
\templates\default\bbpress\loop-forums.php
does forum list headers
calls
loop-single-forum
\templates\default\bbpress\loop-single-forum.php
lists each forum, last post and freshness
_____________________________________
SINGLE FORUM
\templates\default\bbpress\content-single-forum.php
lists sub forums if needed using loop-forums
calls
loop-topics
calls
form topic
\templates\default\bbpress\loop-topics.php
does topic list headers
calls loop-single-topic
\templates\default\bbpress\loop-single-topic.php
lists each topic in the forum, last post and freshness
lists topic content
___________________________________________
SINGLE TOPIC
\templates\default\bbpress\content-single-topic.php
if show lead topic set, calls content-single-topic-lead
calls
loop-replies
form-reply
\templates\default\bbpress\loop-replies.php
does reply list headers
calls loop-single-reply
\templates\default\bbpress\loop-single-reply.php
lists reply content
This plugin still works
bbPress – Moderation Tools
on the ‘security settings’ – these are as set in
dashboard>settings>disucussion>comment moderation where you can increase the no. links allowed
A.Participant
Hello there,
after updating to v2.6.6 it seems that bbpress has tightened some security settings when posting a reply or creating a new topic which includes one or more links to different websites.
When posting a new topic a message shows up with: “This topic is pending moderation”.
But when posting a reply no message shows up for the user when the reply is pending moderation.
This is very confusing for the user because for him it seems that the reply couldn’t be sent or saved or whatsoever.
How can a user be notified when a reply is pending moderation?
Does the admin receives an email regarding pending moderations for topics/replies?
Kind regards,
Anke
Need to create a forum similar to https://www.awn.com/forum, with 2 heads having different forum topics. Is it possible to do so, can anyone guide me on how can I do that using the bbPress.
It’s odd that bbPress’s WP-CLI commands are being developed as a separate package, keenly that the authors are interested in it, thank you!
Sorry, I am not a bbpress author, just someone who tries to help out here – I don’t always succeed.
I’ve never tried or used CLI
Hope you find a solution
Hi there,
if I run a command like wp post-type list I have ‘forum’, ‘topic’ and ‘reply’ which are listed but when I run wp post list --post_type=topic the table remains empty , is this normal?
Thanks for your help!
Ludovic
A.Participant
Hello there,
we’re a WordPress Multisite and recently updated bbpress from 2.5.12 to 2.6.6 and figured out that on a user profile page no subscribed forum are being listed anymore but this message: “Oh bother! No forums were found here.”
But the user indeed has at least one forum he subscribed to. Subscribed topics are working just fine.
We also deactivated / activated the plugin, run the database upgrades but still no forum could be found.
How can this problem being solved?
My plugin GD bbPress Toolbox Pro has options to control the length of title (min/max and min words) and content for topics and replies, and it has option to remove HTML input limit of 80 characters: https://plugins.dev4press.com/gd-bbpress-toolbox/.
We’re having a similar issue in a LearnDash/bbPress site:
If the post is on page 2 of the topic, for example, the direct link to the post redirects to the main page of the topic like this:
https://example.com/forums/topic/ask-anything-about-week-1-lesson/#post-51504 slope game
and not like this (where I manually added the page number). this link works correctly:
https://example.com/forums/topic/ask-anything-about-week-1-lesson/page/2/#post-51504
Did we miss something in the configuration?
Thanks
I would like to find out too – following.
So I just got bbPress installed and working on getting it setup.
I noticed the URL being a bit long and redundant:
.com/forums/forum/ohio-medical/
Is it possible in setting to pull one of those “forums” out of the URL?
Thanks!
it 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
Although I do not see it here, I received the following email:
“hardep457 wrote:
Thanks for posting this, I also face same problem till now.
Post Link: https://bbpress.org/forums/topic/subforum-function-stopped-working/#post-224077”
hardep457, I was unable to reach the person who created the original script. If you have an even remotely possible solution, it would be super awesome if you could share it.
Regards,
~April
spectators should not be able to create topics.
Participants by default can.
you will either need to
change participant permissions -see this
Custom Capabilities
or add
Private groups
and set up topic permissions which will then let you set up a group with permission to reply only
I am having an issue where all users, even with Participant or Spectator user permissions, are able to create their own topics for discussion. The way our site is set up, we want to limit the topic creation to admins or moderators. I cannot find a setting anywhere to turn off this ability for users to create new topics. cmti.crown.edu using Learndash 3.5.1. I’m not certain the version of WordPress and bbPress we are using but both have been installed and updated in 2021. Thanks for your help.
The solution is very laborious, I preferred to change the forum plugin.
The structure of the bbpress forum is convoluted, it does not favor a simple compilation and installation, especially if you want to use “compilers / editors / themes” as divi.
Yes.
I got a response from Elegant themes and they referred me back to bbpress without any suggestions.
Do you have any suggestions for what I can do the next time it happens to capture more info to help troubleshoot?
Thank you
WordPress version 5.8.1
bbPress version, 2.6.6
bbp user rankin 3.5
link to site. http://www.kingdompen.org
Theme: Divi Version: 4.12.0
We’ve been experiencing periodic site instability that is temporarily resolved by deactivating and reactivating bbpress plugins. Instability includes all site pages returning “No Results Found” and/or global header being stretched across half the page.
Error log is showing errors for bbp user ranking
error log example:
[29-Oct-2021 14:34:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bbp_get_user_topic_count_raw() in /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php:63
Stack trace:
#0 /home2/kingdqj0/public_html/wp-content/plugins/bbp-user-ranking/includes/functions.php(35): bur_display_counts(12415, ‘yes’)
I am nit a bbpress author, just someine who tries to help out here.
bbpress has never worked well with threaded replies, sorry that’s just the way it is.
it is really hard to do pagination with nested replies and make the display work intelligibly.
If you know js well, then you could do some hide/show in css maybe, not my strong point.
suspect that as bbpress has custom post types, your sidebar manager is responsible
so standard testing advice is
it 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
Hello bbpress Support
I have two separate problems but for convenience sake, I’ll just open one topic.
I am currently in the process of building a Forum for an already existing website.
The Owner of this website wants threaded replies to be active for this forum so that users can reply to comments more directly. The problem is that as soon as the threaded replies are active the Page pagination just disappears and everything is displayed on one page. I’ve read online that those two features don’t work together on purpose, but why would that be? Nothing in the plugin mentions or even hints to it that these two features wouldn’t work together. Is there any kind of workaround for this or a custom script maybe? I have knowledge of PHP and JS so any kind of help would be appreciated.
The Next issue is that there seems to be no way to collapse/expand threaded replies. Since the pagination didn’t seem to work I thought collapsing threaded replies would help or else the topic pages would just get crazy long. Is there any code out there that would help me achieve this?
Any kind of help on even one of these issues would be appreciated.
I Would like to avoid working in the plugin itself if possible for obvious reasons.
Thanks in advance
Gerry Zeller
untested, but this should take out newlines and change the excerpt length to 150 – just change the 150 in the code to whatever length you want.
so firstly you need to alter the default in wordpress which is 55 so
add_filter( 'excerpt_length', 'rew_change_default_length' ) ;
function rew_change_default_length () {
return 150;
}
then alter it in the bbpress function, and change to take out line breaks
add_filter ('bbp_get_topic_excerpt' , 'rew_remove_line_breaks', 10 , 3) ;
function rew_remove_line_breaks ($excerpt, $topic_id, $length){
$topic_id = bbp_get_topic_id( $topic_id );
//change length here
$length = 150 ;
$excerpt = get_post_field( 'post_excerpt', $topic_id );
if ( empty( $excerpt ) ) {
$excerpt = bbp_get_topic_content( $topic_id );
}
$excerpt = trim( strip_tags( $excerpt ) );
//take out line breaks
$excerpt = preg_replace("/\r|\n/", "", $excerpt);
// Multibyte support
if ( function_exists( 'mb_strlen' ) ) {
$excerpt_length = mb_strlen( $excerpt );
} else {
$excerpt_length = strlen( $excerpt );
}
if ( ! empty( $length ) && ( $excerpt_length > $length ) ) {
$excerpt = mb_substr( $excerpt, 0, $length - 1 );
$excerpt .= '…';
}
// Filter & return
return apply_filters( 'rew_get_topic_excerpt', $excerpt, $topic_id, $length );
}
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
I’ve noticed that any shortcodes in my sidebar are not rendering on bbPress pages. Is there a way to make it so shortcodes are rendering properly? I’ve been searching the forums and can’t seem to find an answer to this. Thanks for any help.
– Aaron