Ive hit save at > Permalinks on both live and staging to no effect. I’ve also tested the staging site using 2022 and 2023 default themes and both times at /forums/ (my main forum index page) i get completely blank screen but rest of site is as expected.
so can you just clarify that with just bbpress plugin, elementor and astra theme – this happens?
the standard fault finding 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
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
Hi there.
I’m trying to install bbPress in a WP new enviroment.
Plugin is activated as usual, but when I create a new forum, topic or debate, all front-end pages associated are blank.
I have tried to replicate the problem in two different servers and it persists.
### wp-core ###
version: 6.1.1
site_language: es_ES
user_language: es_ES
timezone: +00:00
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 1
dotorg_communication: true
### wp-paths-sizes ###
wordpress_path: /usr/home/almazendesign.com/web/testing
wordpress_size: 849,97 MB (891255109 bytes)
uploads_path: /usr/home/almazendesign.com/web/testing/wp-content/uploads
uploads_size: 110,55 MB (115924400 bytes)
themes_path: /usr/home/almazendesign.com/web/testing/wp-content/themes
themes_size: 2,51 MB (2629926 bytes)
plugins_path: /usr/home/almazendesign.com/web/testing/wp-content/plugins
plugins_size: 4,73 MB (4962753 bytes)
database_size: 2,13 MB (2228224 bytes)
total_size: 969,89 MB (1017000412 bytes)
### wp-active-theme ###
name: Twenty Twenty-Three (twentytwentythree)
version: 1.0
author: el equipo de WordPress
author_website: https://es.wordpress.org
parent_theme: none
theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, block-templates, widgets-block-editor
theme_path: /usr/home/almazendesign.com/web/testing/wp-content/themes/twentytwentythree
auto_update: Desactivado
### wp-plugins-active (2) ###
bbPress: version: 2.6.9, author: The bbPress Contributors, Actualizaciones automáticas desactivadas
WP Reset: version: 1.97, author: WebFactory Ltd, Actualizaciones automáticas desactivadas
### wp-plugins-inactive (4) ###
BJA VLE Virtual Learning Enviroment - Bjäland: version: 1.0.0, author: Bjäland, Actualizaciones automáticas desactivadas
My trades - WordPress Heroes: version: 1.0.0, author: WordPress Heroes - Félix Martínez, Actualizaciones automáticas desactivadas
WPH Base Plugin - Bjäland: version: 1.0.0, author: Bjäland - Félix Martínez, Actualizaciones automáticas desactivadas
WPH Chat: version: 1.0.0, author: WordPress Heroes - Félix Martínez, Actualizaciones automáticas desactivadas
### wp-media ###
image_editor: WP_Image_Editor_GD
imagick_module_version: 1691
imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
imagick_version: @PACKAGE_VERSION@
file_uploads: File uploads is turned off
post_max_size: 35M
upload_max_filesize: 35M
max_effective_size: 35 MB
max_file_uploads: 20
gd_version: bundled (2.1.0 compatible)
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: unknown
### wp-server ###
server_architecture: Linux 5.10.0-19-amd64 x86_64
httpd_software: Apache
php_version: 8.2.1 64bit
php_sapi: fpm-fcgi
max_input_variables: 10000
time_limit: 30
memory_limit: 192M
max_input_time: 60
upload_max_filesize: 35M
php_post_max_size: 35M
curl_version: 7.74.0 OpenSSL/1.1.1n
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: false
### wp-database ###
extension: mysqli
server_version: 10.5.17-MariaDB-1:10.5.17+maria~deb11-log
client_version: mysqlnd 8.2.1
max_allowed_packet: 134217728
max_connections: 500
### wp-constants ###
WP_HOME: undefined
WP_SITEURL: undefined
WP_CONTENT_DIR: /usr/home/almazendesign.com/web/testing/wp-content
WP_PLUGIN_DIR: /usr/home/almazendesign.com/web/testing/wp-content/plugins
WP_MEMORY_LIMIT: 192M
WP_MAX_MEMORY_LIMIT: 192M
WP_DEBUG: true
WP_DEBUG_DISPLAY: true
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Sin definir
DB_CHARSET: utf8mb4
DB_COLLATE: undefined
### wp-filesystem ###
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
Thanks in advance.
@confusedneedhelp
As a matter of fact I am running astra – I didn’t think to try the page with a default theme.
I have the pro version so I’ll test that again and reach out to them
Hi,
I have the same problem. I am using the Astra theme and since the latest update to 4.0.2 the user page enters a constant loop trying to load the profile info until the server cannot cope.
Are you using the Astra theme? I tried their support but they were not helpful. If I go back to the previous version of Astra it works ok.
I am using the default Astra theme with only BBpress activated. I can provide a link to a staging site if anyone wants to see it.
I’m using the Vikinger theme for my website myself as it works well for a gaming community related website as it has ranks, badges, quests etc..and fun missions for other users to complete. It’s a shame that the themes doesn’t have a custom made “shoutbox or chatbox” at the default-standard chatbox plugins that comes with a WordPress website are crap, slow and outdated.
Apart from that I’d give that theme a 10/10 for sure.
the templates are in bbpress/default/bbpress
you would be looking at things starting loop-xx , so for instance if you wanted to change loop-single-reply.php …
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
transfer this to your pc and edit
and save
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
Then transfer the file you saved above 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-single-reply.php
bbPress will now use this template instead of the original
@verdantstudio
I did both debug mode within WordPress as well as the Site Health and Troubleshooting.
In Site Health and Troubleshooting I did just bbpress with the default wordpress theme – seems to be an issue in both cases.
I tried to comment out everything inbetween the before/after in the profile page and had the same result.
This had been working fine – it is something recent that caused it.
With troubleshooting mode you mean debug mode? https://wordpress.org/documentation/article/debugging-in-wordpress/
That would be a good way to start yes, if you have a local or test setup in which you can reproduce the exact same error, I would try turning plugins off one by one there, to see if it is being caused by any of them.
Errors like these can have many causes but the template for this particular page is at
/bbpress/templates/default/bbpress/user-profile.php
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
My users want the ability to manage the frequency of emails they receive from the forums and topics. Currently the default is one email for every topic post and many get inundated with emails. They want to be able to get a daily or weekly summary of activity, with links to specific topics they wish to read.
Is there a plug in or setting I’m missing?
Wordpress 6.1.1
bbPress 2.6.9
bbPress toolkit 1.0.12
bbPress style pack 5.2.2
BuddyPress 11.0.0
TIA
ok, based on that I have no idea what you mean by embedding.
bbpress does not have a ‘login page’ it has shortcodes and widgets.
the template used by bbpress for login is
bbpress\templates\default\bbpress\form-user-login.php
to customise :
find
wp-content/plugins/bbpress/templates/default/bbpress/form-user-login.php
transfer this to your pc and edit as desired
and save
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
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/form-user-login.php
bbPress will now use this template instead of the original
Hello,
I’m not sure what to call them — on the forum here there are content tags with a green background that show on the forum page such as “installation,” “troubleshooting,” etc. to designat the type of post it is.
I have “topic tags” enabled in bbpress — but the content tags I’m mentioning above seem to be a different thing and I cannot see where to set them up. Is this a default bbpress feature or is this coming from a separate plugin? How can I set that up?
Thanks
yes
$replies = bbp_has_replies( $args );
in \bbpress\includes\replies\template.php
it has these default args (some set by code above this section)
$default = array(
'post_type' => $default_post_type, // Only replies
'post_parent' => $default_post_parent, // Of this topic
'posts_per_page' => bbp_get_replies_per_page(), // This many
'paged' => bbp_get_paged(), // On this page
'orderby' => 'date', // Sorted by date
'order' => 'ASC', // Oldest to newest
'hierarchical' => $default_thread_replies, // Hierarchical replies
'ignore_sticky_posts' => true, // Stickies not supported
'update_post_term_cache' => false, // No terms to cache
but whatever you pass in $args will overwrite these
@robin-w I have added this code in the child theme but it’s not working…
here is the complete code…kindly check and let me know..it’s correct?
<?php
// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) exit;
// BEGIN ENQUEUE PARENT ACTION
// AUTO GENERATED - Do not modify or remove comment markers above or below:
if ( !function_exists( 'chld_thm_cfg_locale_css' ) ):
function chld_thm_cfg_locale_css( $uri ){
if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . '/rtl.css' ) )
$uri = get_template_directory_uri() . '/rtl.css';
return $uri;
}
endif;
add_filter( 'locale_stylesheet_uri', 'chld_thm_cfg_locale_css' );
if ( !function_exists( 'chld_thm_cfg_parent_css' ) ):
function chld_thm_cfg_parent_css() {
wp_enqueue_style( 'chld_thm_cfg_parent', trailingslashit( get_template_directory_uri() ) . 'style.css', array( 'bbp-default','fontawesome','slick','disputo-bootstrap' ) );
}
endif;
add_action( 'wp_enqueue_scripts', 'chld_thm_cfg_parent_css', 10 );
// END ENQUEUE PARENT ACTION
add_filter ('bbp_current_user_can_access_create_reply_form' , 'rew_limit_replies') ;
function rew_limit_replies ($retval) {
//set limit
$limit = 2 ;
//get replies for today
$user_id = get_current_user_id() ;
$reply=bbp_get_reply_post_type() ;
$today = getdate();
$args = array(
'post_type'=> $reply,
'order' => 'ASC',
'orderby' => 'ID',
'post_status' => 'publish',
'posts_per_page' => -1,
'post_author' => $user_id,
'date_query' => array(
array(
'year' => $today['year'],
'month' => $today['mon'],
'day' => $today['mday'],
),
),
);
$the_query = new WP_Query( $args );
$count = $the_query->found_posts;
if ($count>=$limit) $retval = 0 ;
return $retval ;
}
@terriswiatekyahoocom What is method of placing the content-single-topic.php file in the child theme folder? I put it directly with no result. I created /childtheme/plugins/bbpress/templates/default/bbpress/ and placed it in there with no results also.
I finally put it in the parent theme folder and it works but I know this will get overwritten with updates…
example for loop single repy:
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
transfer this to your pc and edit
and save
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
Then transfer the file you saved above 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-single-reply.php
bbPress will now use this template instead of the original
Yes it looks like the default behavior is that the “sticky” link on the forum topic super stickies it, based on the super=1
query param I’m seeing. Any way to default it to 0
, or do I have to make a custom topic template?
Thank you Robin, but it didn’t work.
I can see that first part of recaptcha text was moved on right side. Nothing else changes.
Do you know how register page layout should looks like by default on mobile devices?
Is it one column or two columns?
Dear friends,
I don’t remember when and how did I manage to mess up with my forum register page.
Register
Layout is “broken” and on mobile devices looks very bad.
After updating to last version of bbpress…problem still remain.
Bbp style pack is installed and after resetting style settings, register page remain the same.
Please, how can I manage that register page again have “default” layout and looks ok on mobile devices?
Thank you!
In had a quick look at the code above and the call
include get_theme_file_path( '/bbpress/templates/default/bbpress/user-subscriptions.php' );
is looking for that file in your theme, not the bbpress plugin.
as a test, create a directory in your child theme called ‘woo-bbpress’ (it can be called anything) and put a copy of the user-subscriptions in there
then replace then above with
include get_theme_file_path( '/woo-bbpress/user-subscriptions.php' );
and see if that improves
Im using the last bbPress version, and twenty-twenty theme. All fine!
But I need to integrate bbpress with woocommerce in a custom woocommerce dashboard we made, so basically I have to link all bbpress profile links (Topic created, Replies, Engagement…) as Woocommerce Endpoints.
All set up but the problem is the links not showng the correct user information but : “Oh Bother, no topics found here!”. Despite the user has created topics , followed or subscribed.
This is the code I put for the Subscription Endpoint for instance:
add_action( 'init', 'wpsh_subscriptions_endpoint' );
function wpsh_subscriptions_endpoint() {
add_rewrite_endpoint( 'subscriptions', EP_ROOT | EP_PAGES );
}
add_action( 'woocommerce_account_subscriptions_endpoint', 'subscriptions_endpoint_content' );
function subscriptions_endpoint_content() {
include get_theme_file_path( '/bbpress/templates/default/bbpress/user-subscriptions.php' );
}
so, any suggestions please? 🙂
How do I create the basic installation so that it looks like the screenshot on the homepage. I just want a basic bbpress installation out of the box. Not sure how to do it. Do I need to create a specific homepage and add widgets?
@Robin-w A developer helped to look into it and found that the H1 tag is generated by this wordpress function https://developer.wordpress.org/reference/classes/_wp_editors/wp_link_dialog/
He also helped to temporarily edict the H1 tag to a H3 tag by editing the core files to temporarily solve the redundant H1 tag.
We texted the site without the core files edicts and on trouble shoot mood using the Troubleshoot plugin you recommended. Leaving only the Bbpress plugin and wordpress default theme enabled. I noticed that the new Topic form does not have an editing tool bar even when I “enabled” the editing formatting tool bar” on Bbpress settings.
When I proceeded to turn on 2 plugins in troubleshoot mode; Brizy page builder and Bbpress with the wordpress default theme. I placed the Bbpress “new Topic form short code” on a Gutenberg page on the site, then noticed the New Topic form still shows on the Gutenberg page but without the editor tool bar!
When the Bbpress short code is placed on a Brizy page, the Bbpress editor tool bar appears but doesn’t function properly. For example; the insert/edict link form does not appear as a “pop up” when I am trying to create a link on a post, instead the insert/edict link form appears on the footer.
I don’t know why this is happening. help!