ok, all I can suggest is the standard fault finding viz :
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
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
Hi! When I use the search function on the forums page, or try to visit a search URL, it goes to an infinite loop which crashes the site. I have the latest version of everything, wp, Elementor, Astra and bbpress. Any ideas?
WP 6.1.1 installed bbpress and bbp-styles to test it out as a wpforo alternative.
Apologies if this is a daft question….
I am wondering whether they are conflicting…?
- when signed in as administrator, I can do New topic from the menu, and have all the usual HTML formatting options, so can use headers, links, etc. at the push of a button
- when signed in as an editor, I get only the vanilla options I see here, having to enter HTML tags.
So I’m wondering whether the first option is actually ‘borrowed’ from wpforo and not actually available in bbpress? or is there some way to enable such a thing?
Illustration here: (hope I’ve done it right, not a big HTML user…)
Visual examples
NOTE: at the moment, I am unable to network deactivate wpforo thus cannot uninstall to see what happens. Have a ticket out on that.
do you have an expectation for release on 5.2.8?
today or tomorrow ! – known minor issue – just need to write 6 lines of code, test and release !
bbpress works fine with 6.1.1, but in itself doesn’t like block themes.
If you are using a block theme, then this additional plugin adds that.
bbp style pack
and also adds lots of options to style and functionality which you will probably want.
The latest release of style pack has multisite functionality, but we are just ironing out a final few bugs, so I’d wait for bbp-style-pack 5.2.8 before having it in a live site
I’m looking for a forum discussion plug-in for my multisite, which is now at WP 6.1.1. I’ve been trying wpforo but I’m having issues with it so hoping this might be an alternative….
I get a warning saying bbpress hasn’t been tested with 6.1.1, so I’ve not yet tried to instal it. Wondering whether anyone here can offer any advice on that? Is it in testing, will it be soon, or should I not worry?
I’m being cautious, particularly as wpforo doesn’t seem to want to network deactivate, among other things….
Many 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
I want it to be submitted for my approval when users post a post in the flow. I also installed the bbpress modaration plugin, but when I want to post a post from my test account, it is shared immediately without approval. How can I solve this problem?
1. the bbpress moderation plugin has been withdrawn – cab you confirm what plugin you are using
2. what roles did your test account have, and what settings do you have for the plugin?
php 8.1 is a lot more fussy
try this (untested but should work)
function private_content_redirect_to_login() {
global $wp_query,$wpdb;
if (is_404()) {
$host = $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'];
$path = dirname($_SERVER['REQUEST_URI']);
$forums = "forum";
$location = "https://direitoshumanosangola.org/not-logged-in/";
if(strpos( $path, $forums ) !== false){
wp_safe_redirect($location);
exit;
}
}
}
I want it to be submitted for my approval when users post a post in the flow. I also installed the bbpress modaration plugin, but when I want to post a post from my test account, it is shared immediately without approval. How can I solve this problem?
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.
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
so did you do the test above with just a default theme and bbpress ?
Hi,
I have setup a Forum, actually many forums.
I also setup bbp Private Groups.
I made a test registrant, and I set them up as a “Private group member” and as a “Participant”. When they log in, they can see the forums, but when they click on any forum title, they go to my website homepage.
I set a forum to “Public” and it does the same thing.
I cannot see what setting will allow my Private users to access the forums.
By the way, I made a Topic in one of the forums (from backend admin), and it shows as the “Last Post” and when the user clicks the “Last Post” they go to the topic.
Just installed bbpress digest – nothing critical has changed in bbpress since it was written.
This adds a section to the bbpress user profile edit page which lets each user specify how often and when they get the digest.
I’ve not tested, but might be worth you taking a second look at this.
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
Now all CSS working great!
The 2nd & 3rd CSS showing results in a much delay manner, that’s why I thought they are not working initially. I have to test run a reply to a topic then only can “push” the CSS to work. 🙂
Thanks a lot!
if title is unique then
get_page_by_title()
untested but something like :
function rew_find_topic_id ($title) {
$topic = get_page_by_title($title, OBJECT, bbp_get_topic_post_type());
if (!empty ($topic) {
$topic_id = $topic->ID ;
return $topic_id ;
}
else {
return 'empty' ;
}
}
Hello!
I used the code from @robin-w and pasted it into a code snippet but it does not seem to work. That is my code:
register_activation_hook(__FILE__, 'bbpress_topic_scheduler');
add_action('bbpress_daily_event', 'bbpress_close_old_topics');
function bbpress_topic_scheduler() {
wp_schedule_event(time(), 'daily', 'bbpress_daily_event');
}
function bbpress_close_old_topics() {
// Auto close old topics
$topics_query = array(
'author' => 0,
'show_stickies' => false,
'parent_forum' => 'any',
'post_status' => 'publish',
'posts_per_page' => -1
);
if ( bbp_has_topics( $topics_query ) )
while( bbp_topics() ) {
bbp_the_topic();
$topic_id = bbp_get_topic_id();
$topic_date = strtotime( get_post( $topic_id, 'post_date', true ) );
$forum_id = bbp_get_topic_forum_id($topic_id);
if ($topic_date < strtotime( '-2 hours') ) // && $forum_id == 1276 )
bbp_close_topic( $topic_id );
}
}
The auto close time is set to 2 hours to test it and I created a comment after 2 hours because it should happen in every forum.
Have I done anything wrong? Thanks in advance! 🙂
After tested multiple times, I think most probably problem due to Widget Logic plugin. I have now uninstalled this plugin and shifted to Custom Sidebars plugin, problem solved and widgets now can be displayed in every sidebar. Thanks for your help. Happy New Year 2023!