Hi I have a Memberpress membership site which also uses bbPress. It uses a child theme of Divi from Elegantthemes. I’ve taken it to staging for some additional dev and have noticed that a collection of dynamic pages created by bbPress have a broken/incorrect layout like the attached.
The specific URLs i have found so far are:
…/forums/view/no-replies/
…/forums/view/popular/
…/forums/users/brian-sbm/
…/forums/users/username/topics/
…/forums/users/username/replies/
…/forums/users/username/engagements/
…/forums/users/username/favorites/
…/forums/users/username/subscriptions/
…/forums/users/username/edit/
php: 7.4.33
Wordpress: 6.1.1
bbPress: 2.6.9
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
EITHER :
function rew_remove_private_title($title) {
return '%s';
}
add_filter('private_title_format', 'rew_remove_private_title');
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
OR
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Forum Display and select item 4
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
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Moderation
you can then set up what goes into ‘pending’ for approval
Hi!
We have been using imgbb for sahring pictures on our forum for a while but imgbb has been goind down too frequently and is not reliable anymore for us so we want to use our massive storage that we have for our website and store locally the pictures that our forum members want to share.
My question is that, there arent attachments so we dont want the GD attachment plugin that we have seen a lot of times and we dont like.
Then we dound the inline image wordpress plugin but it is quiet expensive so we are wondering if there is any script or something that allow us to add that function so users can store locally the images that they want to share in our forum.
Any guesses?
My account has both WordPress administrator privileges and Moderator as Forum Role, but I’m unable to see any of the back-end forum menus, and if I try directly to edit a forum I get an error: “You need a higher level of permission.”
Is there something else that needs to be set, or is this a bug?
After searching, I didn’t manage to find any plugin to duplicate WordPress Post as a new forum topic on the forum of my choice…
It’s very strange that is not a natural function into BBpress…
Anyone can help me please ?
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
Warning: Undefined variable $path in /Applications/MAMP/htdocs/wordpress/wp-content/themes/AHWM-COM/functions.php on line 362
Warning: Undefined variable $forums in /Applications/MAMP/htdocs/wordpress/wp-content/themes/AHWM-COM/functions.php on line 362
Warning: Undefined variable $location in /Applications/MAMP/htdocs/wordpress/wp-content/themes/AHWM-COM/functions.php on line 363
It stops anything else loading the page is just blank other than this message. If I remove the function everything works.
This is one of the new FSE themes, so you need a fix to work with bbpress.
install
bbp style pack
once activated, navigate to
dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.
In that tab, select
Enable Theme Support
and save
The forums should then display
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.
This is one of the new FSE themes, so you need a fix to work with bbpress.
install
bbp style pack
once activated, navigate to
dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.
In that tab, select
Enable Theme Support
and save
The forums should then display
Hi there,
I am trying to setup pbbpress on the TwentyTwentyThree Theme.
I can view the forums by adding an empty index.php in the theme root.
Also I am using the snippet provided here: https://wordpress.org/support/topic/blank-topic-pages-on-bbpress-while-using-twenty-twenty-two-theme/#post-15612896
But if I click a user name (e.g. someone who created a a new topic) I get
a page with the user sname as headline and then just “Lorem ipsum dolor sit amet, consetetur sadipscing elitr. ” …
I assumed I would get to see infos regarding the user, but I believe the issue is with TwentyTwentyThree, since it is using a different template engine?
Does anyone know how to fix this view?
Best regards!
I’m using the Vikinger theme for my WordPress website I’m not too sure I have bbPress enabled so maybe that allows users to upload their avatars apart from that I’m not sure.
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.
I was wondering if there was a plugin out there where I can add it to my website so I can approve the users avatars when they upload their avatar[s]? Any plugins out there that works with WordPress at all?
@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.
bbp style pack
lets you style your forums
you can also use the translations tab of this to change Posts to Replies
there is also
bbPress Styling Crib
which contains styling guides
bbp style pack
lets you style your forums
you can also use the translations tab of this to change Posts to Replies
there is also
bbPress Styling Crib
which contains styling guides
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
Hey 👋
Thank you @Robin-W,
In the meantime I got to know the WP-Cli-Cli package specific to WordPress, which does not work either (I opened an issue visible here).
To locate the context, I use WooCommerce Subscription plugin and I needed that when a subscription is canceled, access to the bbPress forum is blocked.
I leave here the snippet that I made and that does the job:
add_action('woocommerce_subscription_status_cancelled', 'block_forum_user_after_subscription_cancellation_s', 10, 1);
function block_forum_user_after_subscription_cancellation_s($subscription)
{
$user_id = $subscription->get_user_id();
$new_role = 'bbp_blocked';
bbp_set_user_role($user_id, $new_role);
}
(I also have a webhook version with the WordPress Rest API for remote use, if necessary contact me)
Hi there 👋
Thanks to the details of @stanis I am understanding why when I use WP-Cli with the line:
wp user set-role <User id> bbp_blocked
It blows up the existing role of the User on WordPress (in my case it was “customer” which becomes ” – no role for this site -“)
But it’s still unclear for me. How to modify the role of an User on BBPPRESS without touching its WordPress role?
Because the opposite is also true, if I do :
wp user set-role <User ID> customer
This time it is the role of the User on the forum that jumps and becomes “-No Role for these forums-”
PS: I also tried
wp user update <User ID> --role=customer --bbp-forums-role=bbp_blocked
And that doesn’t do the job too 🙁
Thanks for your lights!
Warm regards,
Ludovic