Wordpress 6.1.1; BBpress Version 2.6.9
Hello,
My website is dedicated to a private community. It uses BBpress to give access to several forums organised hierarchically. The members need to be informed of every message that is posted but they do not want to subscribe to every forum of the the site by hand.
Is there a way to automatically set subscription parameters of every forum to on when a new account is created ? Each member could then unset the subscription parameter to off il he doesn’t want it anymore.
The default setting for subscribe to forum, would actually be “on”.
Thanks for your answer
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
still playing with this – am now chatting to one of the FSE advocates within wordpress – so hoping that we will make progress
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 Frontend, but I think there is a conflict with WordPress, because when I go to the “View user” option, in wordpress, the url http://www.example.com/forums/users/{user name} appears.
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
bbpress does not have a template since it’s a plugin. You can style your bbpress via css so that it looks like your wordpress theme.
Alternatively, there are some wordpress themes which have built-in styles for bbpress.
You can check some in Themeforest: https://themeforest.net/search/bbpress
Not quite sure if this is the answer, but if a good looking bbpress is what you are after, then this should help
bbp style pack
@ricsca2
thanks for your comment.
I already have a WordPress blog.
Recently, I installed bbPress.. Now I am looking for a special template for the forum.
bbpress works with wordpress so you have to install wordpress and then if you don’t want to use the bolg just don’t create articles.
if you want gutenberg in your actual topics and replies, this plugin does it
Blocks Everywhere
it requires you to add stuff to wp-config.
though frankly, you are then expecting everyone in the world to use the stupid + sign. Why gutenberg in not just ‘ms word’ is beyond me.
But anyway just threw that in as it came up as a result whilst trying to google to see if anyone has already done what we are trying to do
It would be good indeed, FSE looks like the future of WordPress.
I just started so I don’t know much, and I think I’ll be in forever learning 😉 I think a template part that is the forum would work best though, but I could be completely wrong on that. I can type down what I’ve got so far though.
From what I’ve gathered so far (I could be wrong on some things here). There are several kinds of templates, for example Archive and Single. Single displays the layout for single posts and that seem to be what all pages except forum root are.
Simply put the templates work in that way you build a layout using the block editor where you can put in single post parts like post title, post content and so on. In Elementor I made a Single with just post content and magically the post content would display the forum on the front-end.
bbPress forum root appear to be an archive, but since it has a shortcode forum root wouldn’t need anything more I think.
The FSE recognise custom post types and you can make Single templates for those. I’m not sure if bbPress is a custom post type, but if it is and FSE would recognise it that would’ve solved it all.
Hope that makes any sense.
Unfortunately I don’t think any of them is close or can just be cloned.
[bbp-forum-index] – This one works well and can add the forum root anywhere.
But then there’s Forums or Categories, Sub forums and topics/replies themselves. These pages seem to all be seen as ‘posts’ by WordPress, why making a posts template worked in Elementor for all of them. FSE templates seem to ignore bbPress entirely though.
[bbp-single-forum id=$forum_id] – This one do make it possible to add single forums anywhere, but not if they’re inside a forum Category. Would also need one page for each forum which would get a little crazy. I don’t know if this one could be tweaked into something more advanced.
What would be needed is shortcodes for displaying forum Category pages in general, as well as their sub forum pages where the topics are listed. And then all the topic/replies pages too.
All that sound too difficult to be honest.
my style pack has some code that fixes (sort of) FSE themes
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
If you want to look at code, then download the plugin to your computer and find
\bbp-style-pack\trunk\includes\functions_theme_support.php
I’m trying to avoid getting too deeply into FSE – I find it annoying, but appreciate that I am old and ludite, and that many find it fine or even great 🙂
Hi
I’m looking into the possibility to move a community site from using Elementor Pro to WordPress own Full Site Editing and block theme.
I’m curious if anyone has figured out how to apply templates to the forums and topics themselves. The forum root works fine though because it has a shortcode.
In Elementor I worked it out by making a single post template and then exclude posts and custom post types from it, but in FSE it doesn’t seem possible to apply any templates to bbPress at all.
Thank you in advance
for others finding this thread – if you have the additional bbp-style-pack plugin – and why would you not have this 🙂
bbp style pack
then this fix is available at a single click – so not coding or other plugins needed.
once activated just go to
dashboard>settings>bbp style pack and click the theme support button
for others finding this thread – if you have the additional bbp-style-pack plugin – and why would you not have this 🙂 – and are at the latest version
bbp style pack
then this fix is available at a single click – so not coding or other plugins needed.
once activated just go to
dashboard>settings>bbp style pack and click the theme support button
for others finding this thread – if you have the additional bbp-style-pack plugin – and why would you not have this 🙂
bbp style pack
then this fix is available at a single click – so not coding or other plugins needed.
once activated just go to
dashboard>settings>bbp style pack and click the theme support button
I believe they slow down site loading, and often plugins are no longer supported with wordpress upgrades, where php in functions.php works forever so far in my experience 🙂
I spent a couple of hours yesterday hunting down the issue.
This code fixes it :
add_filter ('astra_single_layout_one_banner_visibility', 'astra_bbpress_fix', 50) ;
function astra_bbpress_fix ($value) {
if( class_exists( 'bbpress' ) ) {
if (bbp_is_single_user()) return false ;
if (bbp_is_search()) return false ;
}
return $value ;
}
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
I spent a couple of hours yesterday hunting down the issue.
This code fixes it :
add_filter ('astra_single_layout_one_banner_visibility', 'astra_bbpress_fix', 50) ;
function astra_bbpress_fix ($value) {
if( class_exists( 'bbpress' ) ) {
if (bbp_is_single_user()) return false ;
if (bbp_is_search()) return false ;
}
return $value ;
}
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