tools>forums>reset forums
you will need bbpress enabled to do this
Hey, I was using BBpress before but now I decided to stop using it because I was getting a lot of spam posts and users and I don’t have the time to keep on tracking the forums.
However, after deleting the bbpress plugin, I see an inflated wp_posts and wp_postmeta databases each one around 700mb and I found out here that bbpress store their data in wp_posts and wp_postmeta
Stored Database Data
So I am wondering, how can I delete the bbpress related databases from the wp_posts and wp_postmeta without affecting my other posts or pages I have created?
I have 3 more websites with even more posts created by me, but without bbpress and the wp_posts and wp_postsmeta is like 20mb or so. That’s why I am sure that the inflated databse are because of bbpress.
So anyone can help me figure out how to delete the bbpress related databases?
can only suggest that something else is putting it there
maybe try
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 everybody,
I would like to creat a home for my forum who loop some forum in blocs. And in this bloc I would like to list sub forum with topic count, post count and freshness.
I make a mockup to be more precise ^^ You can the here: https://ibb.co/zFD60d1
I already try to make these loop but I can’t retrieve the freshness & counts for each sub forum.
And also I need to design differently each row but bbpress retrieve data in columns…
Do you already make something like this ?
I found this function:
//This function adds descriptions to the sub forums
function custom_list_forums( $args = '' ) {
// Define used variables
$output = $sub_forums = $topic_count = $reply_count = $counts = '';
$i = 0;
$count = array();
// Parse arguments against default values
$r = bbp_parse_args( $args, array(
'before' => '<ul class="bbp-forums-list">',
'after' => '</ul>',
'link_before' => '<li class="bbp-forum">',
'link_after' => '</li>',
'count_before' => ' <span class="counts">[ ',
'count_after' => ' réponse(s) ]</span>',
'count_sep' => ' sujet(s), ',
'separator' => ', ',
'forum_id' => '',
'show_topic_count' => true,
'show_reply_count' => true,
), 'list_forums' );
// Loop through forums and create a list
$sub_forums = bbp_forum_get_subforums( $r['forum_id'] );
if ( !empty( $sub_forums ) ) {
// Total count (for separator)
$total_subs = count( $sub_forums );
foreach ( $sub_forums as $sub_forum ) {
$i++; // Separator count
// Get forum details
$count = array();
$show_sep = $total_subs > $i ? $r['separator'] : '';
$permalink = bbp_get_forum_permalink( $sub_forum->ID );
$title = bbp_get_forum_title( $sub_forum->ID );
$content = bbp_get_forum_content($sub_forum->ID) ;
// Show topic count
if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
$count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );
}
// Show reply count
$count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );
// Counts to show
if ( !empty( $count ) ) {
$counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after'];
}
// Build this sub forums link
$output .= $r['before'].$r['link_before'] . '<a href="' . esc_url( $permalink ) . '" class="bbp-forum-link">' . $title . $counts . '</a>' . $show_sep . $r['link_after'].'<div class="bbp-forum-content">'.$content.'</div>'.$r['after'];
}
// Output the list
return $output ;
}
}
add_filter('bbp_list_forums', 'custom_list_forums' );
I got the description of subforum, it’s a good start..
Hi,
I’m using bbPress and was wondering how I could remove the freshness column.
Thank you!
bbpress just uses wordpress login, so
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,
Ussing WP 5.1
BBpress 2.5.14
Recently sometime, user are coming on the forum and whitout longin they are automaticly logged to an random user account…
Any idea ?
My intranet site is not sending bbPress notifications to subscribers. I’m able to get emails/notifications from other plugins, but unable to from bbPress.
I went into the /includes/common/functions.php file to change the “from” address, thinking it was detecting the wrong URL on the intranet, and I forced it to use to the same address that is successful with the other plugins. But that didn’t work.
@robin-w
Not sure if @ works here, but Robin seems to be the best BBPress Ninja I see and I am still having this problem. I searched for solutions again, but don’t see any.
Hello,
Is it possible to create an archive with downloadable files within the bbPress community?
Please let me know.
Thanks.
Thanks. I have done that. I guess what I am looking for is some bbPress specific code that I can add to the style sheet in the child theme. There are a number of examples that come up in searches but none have worked in this theme. This particular theme allows for an override of the side bar setting on a page by page basis. There must be some bbPress specific code that could be placed in the child theme style sheet to extend that override to bbPress forum pages.
ok, for the participants trashing topics, install
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Topic/Reply Display items 17,18,& 19
On the widgets, install
the ‘widget logic plugin’, and on pages you want the widget, use
is_bbpress()
in the condition
I think this task will be hard for you. Anybody around you can help you with basic knowloedge of CSS and PHP/WordPress ?
You have a explaination of many custom things you can do with bbpress here : https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/
GOod luck 😉
Hello everyone,,
I admit I am a “newbie” and am having a bundle of problems. I am in the process of building a website which is still offline, and am very stuck. I am using ocean wp and I don’t know how to find out the version, but everything is new in the last 2 weeks.. sorry I really am a newbie…
I am making “TheAmericanQuarterHorse.com” and wanted to make a small forum page alongside of information pages, I had to do a whole pile of deleting and rebuilding on the forum site, but now I have the basic structure!! So that is a plus, but am stuck on the login–register-lost password widget. The first time I made it, it put the menu all over the place and the login was on every page. Iwas using bbpress tweaks, so uninstalled the bbpress tweaks, and ended up re-installing. I watched a whole pile of youtube on how to do it, and went back at it. I did all the “making the page” and putting the permalinks in the widget slot in the bbpress side bar. This time I had logins on every page BUT THE FORUM PAGE!!! This is the 3rd time I have deleted everything and started over.. I am about to forget the whole thing or use a different forum widget. I am STUCK. Any ideas??
The other thing is the text is sooo thin and tiny on the forum page it is hard to see. I have heard something about css, but have no clue about what that is or how to use it..
Would really appreciate any ideas..
thanks
try
add_action( 'bbp_template_before_forums_loop', 'rew_add_custom_menu' );
add_action( 'bbp_template_before_topics_loop', 'rew_add_custom_menu' );
function rew_add_custom_menu () {
echo '<a href= "https://bbpress.org/forums/">customs menu area</a>' ;
}
I want to display my “Forums” beneath a custom menu.
In image #1 I have a custom menu, with a tab for my forum.

When I click on a Forum, I’m taken to another URL, where I can no longer see the custom menu (see image #2)

Is there a way to have the custom menu appear on every Forum, or another solution would be to have the forum open in a new tab?
Is there a call to see if the user is on the all forums directory page?
The one that lists all the forums?
Something like bbpress_is_forums_directory()
Hi, for future people who may meet this issue, i used this fix but it worked only on one of my 2 websites. However, i could solve it on my website, and i believe that the origin of the problem has been found :
This solution may work for those who have installed a membership plugin (s2member, wishlistmember, optimizepress). The issue seems to be with the way these plugins manage the searches. They seem to catch on the fly the searches to hide content, and can create a conflict of compatibility with some other plugins like bbpress which need to display content based on roles. Plugins like Wishlistmember and S2member (or optimizepress, based on s2member,) allow deactivating of this without creating any major issue for the membership site. For those using optimizepress, it can be done thanks to the alternative view protection feature in OP. I only unchecked “Searches”, and the problem disapeared, which would confirm this idea that the issue comes from the way that searches are handled by the membership plugin.
For those using WLM, here is someone who found where to made a similar configuration (although it may have a bigger impact) :
“The issue on my site had to do with a setting in WishList Member. For me I had to go to WishList Member >> Settings >> Protection Defaults and then set the “Only show content for each membership level:” and set to “No”. After I did that it worked.”
Hi, for future people who may meet this issue, i could solve it on my website :
This solution may work for those who have installed a membership plugin (s2member, wishlistmember, optimizepress). The issue seems to be with the way these plugins manage the searches. They seem to catch on the fly the searches to hide content, and can create a conflict of compatibility with some other plugins like bbpress which need to display content based on roles. Plugins like Wishlistmember and S2member (or optimizepress, based on s2member,) allow deactivating of this without creating any major issue for the membership site. For those using optimizepress, it can be done thanks to the alternative view protection feature in OP. I only unchecked “Searches”, and the problem disapeared, which would confirm this idea that the issue comes from the way that searches are handled by the membership plugin.
For those using WLM, here is someone who found where to made a similar configuration (although it may have a bigger impact) :
“The issue on my site had to do with a setting in WishList Member. For me I had to go to WishList Member >> Settings >> Protection Defaults and then set the “Only show content for each membership level:” and set to “No”. After I did that it worked.”
Hi, i confirm that the solution offered by catalyna may work for those who have installed a membership plugin (s2member, wishlistmember, optimizepress). The issue seems to be with the way these plugins manage the searches. They seem to catch on the fly the searches to hide content, and can create a conflict of compatibility with some other plugins like bbpress which need to display content based on roles. Plugins like S2member (or optimizepress, based on s2member) allow deactivating of this without creating any major issue for the membership site. For those using optimizepress, it can be done thanks to the alternative view protection feature in OP. I only unchecked “Searches”, and the problem disapeared, which would confirm this idea that the issue comes from the way that searches are handled by the membership plugin.
best way would be to edit the templates
loop_forums
loop-single-forum
loop-topics
loop-single-topic
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-forums.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-forums.php
bbPress will now use this template instead of the original
and you can amend this
then repeat for the others
@robin-w
Thank you for the feedback.
It’s good that the issue is already addressed.
But the question is not about dequeuing, but about enqueuing.
Why not the bbPress core, enqueue the stylesheet only when is_bbpress() is true?
In one of our site, bbPress is used to display forum.
But bbpress.css is loading on the home page, where there is no widget or no forum.
Screenshot – taken on incognito mode (logged out):
http://prntscr.com/mxmh1n
sure it’s in
\bbpress 2.5.13\includes\common\shortcodes.php