hello
1) can bbpress manage very large website with aroung 80k topics ?
2) i would like to have custom field in topic (like wpforo) but bbpress can not do that. i want ot use METABOX but METABOX ‘s TEAm told me i need to know how to display fields in bbpress.
thank you
This whilst old still works fine
bbPress – Moderation Tools
and will do what you want
Hello,
I am running WordPress 5.8.2 with an Eduma Child theme. I have LearnPress and bbPress (v2.6.6) installed and I have an issue with forums.
Course A is attached to Forum A and this has been working well for over a year. I recently created Course B which is a duplicate of Course A. Course B is attached to Forum A.
Users who are signed up for Course B gets the message ‘ You are not enrolled in the course’ when they try to access their forum which is Forum A.
Please can you help????
Thanks
It is so long ago since I used it. I am not sure which theme you are using – it really depends on that. I was using the old Responsive theme and @robkk advised me to use a different code for the bbpress.php file. I am coying what I found in my files for you here, but I really don’t know if this is the correct one. Unfortunately, @robkk is not active any more – he was truly wonderful.
<?php
// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) {
exit;
}
/**
* bbPress Template
*
*
* @file bbpress.php
* @package bbPress
* @author Robkk
* @version Release: 1.0
* @filesource wp-content/themes/responsive/bbpress.php
* @link https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
* @since available since Release 2.4
*/
get_header(); ?>
<div id="content-full" class="grid col-940">
<?php if ( have_posts() ) : ?>
<?php while( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h1 class="entry-title post-title"><?php the_title(); ?></h1>
<div class="post-entry">
<?php the_content(); ?>
</div>
<!-- end of .post-entry -->
<div class="post-edit"><?php edit_post_link( __( 'Edit', 'responsive' ) ); ?></div>
</div><!-- end of #post-<?php the_ID(); ?> -->
<?php endwhile; ?>
<?php endif; ?>
</div><!-- end of #content-full -->
<?php get_footer(); ?>
When I set up bbpress first locally on my computer, I managed to get all pages for bbpress full width with no sidebars. I simply went to Theme options and set all pages and posts to default full page width tempates.
Now I am setting up bbpress on a live site. bbpress forum pages display correctly in full width, but to my unpleasant surprise the user profile page displays with a sidebar. I simply can’t get rid of the sidebar and make the page full width. This is very disappointing for me – can someone help,
thank you
hmmm…agree it is very hard from this snippet to know where it is coming from.
Presuming you can repeat this timing, I’d suggest that you do the standard fault finding ie swicth to a default theme and just have bbpress as the only plugin. If the query still shows, then it is a bboress one, and you can work through individual bbpress displays to see if you can work out where it is called.
If it doesn’t show, then I’d suspect a bbpress add-n and you can add back plugins to try and find the culprit
Recently my MYSQL CPU usage went from 40% to over 100% and my server has been slowing down as a result. In doing some research I’ve learned to setup some mysql logging for slow queries. I have a particular query that happens often. In the query below it appears that over 700,000 rows are queried in the DB taking up almost 3 seconds. Imagine that times however many users and it is bogging the site down. Is this query below from bbpress or how can I tell? It’s hard to trace where it is being called:
# Time: 211220 17:42:06
# User@Host: mysite_wp[mysite_wp] @ localhost []
# Thread_id: 1667 Schema: mysite_wp QC_hit: No
# Query_time: 2.641487 Lock_time: 0.000104 Rows_sent: 10 Rows_examined: 717793
# Rows_affected: 0 Bytes_sent: 188
SET timestamp=1640047326;
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.post_id ) WHERE 1=1 AND (
wp_postmeta.meta_key = '_bbp_last_active_time'
AND
(
( mt1.meta_key = '_bbp_forum_id' AND CAST(mt1.meta_value AS SIGNED) != '1773' )
)
) AND wp_posts.post_type = 'topic' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'closed') GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10;
wordpress does
WordPress 5.8 adds WebP support
so if you have image plugins adding to bbpress, it would depend on whether they do
Can bbPress display WebP images?
I published the same problem there – yes – so Buddypress would theoretically have to adjust something in the BBPress update? Because it works with the older BBPress version.
best, neratashy
that looks like buddypress not bbpress – have you also posted in their support forum?
I am not quite sure what a ‘profile notifucation’ is – is this bbpress or buddypress?
In either case, I would try
dashboard>tools>forums>repair and run ‘recalculate engagements’
Heyho. I have a major update jump with Buddy-/BB-Press so it was difficult for me to find out the error:
Since BBPress version 2.6.7, the profile notifications regarding the forum and mantions are “undefined”. If I go back ones more – i.e. 2.6.6 – it works.
is there a manual fix for this?
best, neratashy
ok, best advice I can give is the standard fault finding :
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
Is there a way to have a thread, forum or page that will show what’s new or new posts? I would like to be able to do this not in a sidebar but in an actual thread, forum or page.
I’, using the latest versions of bbpress and WordPress. I have also tried many different themes.
hmmmm….
so with a twentytewenty theme and just bbpress you cannot see those roles – yes ?
In fact, no sense to select specially themes for bbpress. The style pack does everything great in any environment if you are newbies do not know css even.
But pay attention for Gutenberg theme. Fully editable site – the future of WordPress, not ready-made paid themes.
This is a bug in bbpress – yet to be fixed.
In the meantime install
bbp style pack
which should fix
or
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
if( !function_exists( 'bbpress_browser_supports_js' ) ){
function bbpress_browser_supports_js() {
echo '<script>document.body.classList.remove("no-js");</script>';
}
add_action( 'wp_footer', 'bbpress_browser_supports_js' );
}
I’m having a similar issue. I installed a user registration form that uses reCaptcha, and that has eliminated bots from registering, however, if one accesses the bbPress discussion board without first logging in, they are presented with the bbPress login, and when they enter their credentials it takes them to a second login using reCaptcha and loses their credentials they have just typed in. It’s both confusing and annoying.
I used the instructions here to add ‘wp-content/themes/%your-theme-name%/bbpress/form-user-login.php’ However Filezilla throws an error, and I assume this is because my theme is locked down.
Can I get instruction to solve this by adding a child theme? (if that is the issue).
Thanks!
The “Publication layout / Add a toolbar to text areas to help with HTML formatting” check box is enabled.
I disabled all plugins except Bbpress and still no menu!
The problem and the same on the comments of the articles!
The toolbar for the post entry/editor is no longer showing. The option to “Add toolbar & buttons to textareas …” is checked. It used to show but currently doesn’t. Site is simepleinvoices.group. bbPress plugin version 2.6.9. It is showing a line, “You account has the ability to post unrestricted HTML content,” does show but no buttons to help with the formatting.
Robin,
I have disabled all the plugins except bbpress and changed themes and still no luck.
Hi Robin,
Thank you for comment.
I did exactly what you said.
Now the theme is twentytwenty.
Disabling all plugins other than bbpress doesn’t bring the default site user roles.
Disabling bbpress, the default site user roles are back.
To me, it seems that bbpress removed or hided the default roles.
Is it related to configuration somewhere?
Really appreciate more help!
Best regards,
Susan
Sorry, that file is back and corrupted I cannot say why.
I can only suggest 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