Hi @robin-w,
Feel free to study the code at https://github.com/webmandesign/bbp-block-theme
Thank you for your fix via your bbp style pack plugin. As far as I understand, your plugin also provides means to style bbPress plugin. In my plugin this is not an option – it really just enables bbPress for block themes.
For how the plugin actually works check the info in readme.txt
file.
Interesting – my style pack plugin has a fix for block themes, but from very little knowledge of FSE. I’m away for the next few weeks, but will be interesting to take a look at the code you have done.
pretty sure that it is LearnPress – bbPress Integration
We have submitted a change required to Learndash.
If you are into code the fix is in learndash-bbpress\includes\class-dependency-check.php line 119 – the line needs changing from
$plugin_header = get_plugin_data( trailingslashit( str_replace( '\\', '/', WP_PLUGIN_DIR ) ) . $plugin_key );
to
$plugin_header = get_plugin_data( trailingslashit( str_replace( '\\', '/', WP_PLUGIN_DIR ) ) . $plugin_key, false, false );
This then prevents translations being loaded at that point (too early) and hopefully fixes the issue.
Hi @akira010203, I’m fairly new to bbpress and I don’t understand why we need to use Settings -> Discussion -> Comment Moderation to allow links in bbpress Replies.
Isn’t that setting for Comments?
I have some users/participants whose replies will go straight to pending if they post ONE link despite that I set ‘Hold a comment in the queue if it contains 2 or more links’.
How does the anti spam code logic work in bbpress? I’m quite confused.
Your input will be greatly appreciated!
users can subscribe to forums and topics, both work the same way. The post ID is either a forum or topic.
Not suer what you mean by command – if sql then I cannot help you. If php then you would use get_users and loop through that and use
bbp_add_user_subscription( $user_id, $forum_id )
private groups – the code simply checks matches. Users have a user_meta entry of ‘private_group’ and forums have a post_meta of ‘_private_group’ the general settings are stored in the options table
The following hooks are the nearest to what you want
do_action( 'bbp_template_before_replies_loop' ); ?>
do_action( 'bbp_template_before_forums_loop' ); ?>
do_action( 'bbp_template_before_topics_loop' ); ?>
forum subscribed users are held in post_meta database for the forum
so if the forum is ID 2927, then in post_meta you would have an entry for each subscribed user eg
`
post_id meta_key Meta_value
2927 _bbp_subscription 1371
2927 _bbp_subscription 1372
would mean that user_ID’s 1371 and 1372 are subscribed to forum 2927
Looks like it was fixed way back when codebase was not modularized to this extent. Here is the ticket that was closed some 13 years back with commit that fixes it.
If you observe these check doesn’t exist anymore before updating last reply id and all.
// Update if reply is published
if ( bbp_is_reply_published( $reply_id ) )
update_post_meta( $topic_id, '_bbp_last_reply_id', (int) $reply_id );
Here are a few options:
bbPress Messages: This plugin offers a simple yet powerful private messaging system tailored specifically for bbPress. It includes features like message caching for faster performance, background processing for tasks such as email notifications, and support for shortcodes and widgets.
JA.WORDPRESS.ORG
Better Messages: A comprehensive real-time private messaging system compatible with bbPress, BuddyPress, and other WordPress platforms. It provides features like live chat, file uploads, emoji support, message editing and deleting, and even audio and video calls.
JA.WORDPRESS.ORG
bbPress – Private Replies: This plugin allows forum participants to mark their replies as private, meaning only the original poster and forum moderators can view the content. It’s particularly useful for support forums where users may need to share confidential information.
On the Topics archive page, the pagination links are broken, going to a forum. This appears to be due to maybe_map_permalink_to_group()
. My solution is to add a filter after BBP_Forums_Group_Extension->topic_pagination()
to correct the base
parameter:
/* Fix BBPress pagination */
function my_topic_pagination_fix( $r ) {
if ( is_post_type_archive( 'topic' ) ) {
$r['base'] = bbp_get_topics_pagination_base();
}
return $r;
}
add_filter( 'bbp_topic_pagination', 'my_topic_pagination_fix', 11 );
the code above provides a fix.
without knowing what your code does, impossible to provide a hook
Even I am facing this issue. Ideally they should not update reply count or any other metrics if the reply or topic is form. I have found a way to tweak the codebase and do it but I want the plugin developer to provide some hook for it.
I am receiving this php notice:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the bbpress domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later.
I am running Version 2.6.11
Hello. I run a site where I use the theme Blog FSE. BBPress does not work with this theme. It works fine with Twentysixteen, for example. Is there any way to solve this so that BBPress can work with Blog FSE so I don’t have to change themes? My knowledge of PHP is low and I have a visual impairment and therefore it is quite difficult to work too much in PHP code.
Latest WordPress and BBPress versions.
To do this without code install
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Forums Index Styling item 16
or with the code above use
Code Snippets
I am trying to do the same change. I want to get rid of the box that says, “THIS FORUM IS EMPTY.” Why does it need to be there? It’s so uninviting.
I am using the forum as a category, which is an option, so why does it insert “THIS FORUM IS EMPTY” when I choose “CATEGORY”? That message should automatically change or disappear when a forum is used as a category. That would be a permanent and logical fix on the developer’s end.
My problem is that I don’t know where to insert the code that you suggested above. Is it on the site dashboard or in the site hosting? Please start the instructions farther back.
Very nice effect, but would require
code to get the required avatars
code to create the required html (the example is using pug not native html)
code to output the html in the right place
code to generate and load the css
and more code to probably wrap all this into a plugin
A ton of work.
Like everything it is possible, probably 2-3 days work to design and implement.
Hi,
Thanks, I’m found Your solution/plugin and it work, but it needs lot of custom css fix. (Sample: the widht, style plugin add %, but i would like use the editor (FSE) widht value.
It’s very strange to me that bbPress, which is an Automatic plugin and isn’t compatible with the WP Core theme. I wouldn’t “expect” a block editor structure, just that it works with shortcodes. And i would like to minimalize the plugins number. =/
no need to put the forum within the members area
Just make the forum public, say on a page using the [bbp-forum-index]
shortcode, or if just one forum then the [bbp-single-forum id=$forum_id]
where $forum_id is the id number of the forum.
and anyone member or not will be able to read it.
Then make sure that in
dashboard>settings>forums>Anonymous the tick box is NOT ticked – then only members (those with wordpress accounts) will be able to post.
I’ve just taken a look, and you are using Oshin.
Try adding this to the additioanl/custom css part of your theme
.bbpress .reply {
position: relative !important ;
top :0px !important;
right : 0px !important;
}
Using simple HTML and CSS code, you can make your own realistic fake broken screen. So do that you can use AI tool like ChatGPT or Figma.
And Then you can make your own plugin and direct HTML paste.
I’m looking to add a creative “broken screen” effect to my bbPress forum. The idea is to make it look like the screen is cracked, either when someone first enters the forum or after performing a specific action.
I’m unsure of the best way to achieve this. Should I use custom CSS or JavaScript to create the effect? Or is there a plugin or feature in bbPress that could help with this?
Any suggestions will be very helpful for me.
Example page: Broken Screen
I’ve explored custom CSS and JavaScript options, and also checked out the following resources:
bbPress
Codex
https://wordpress.org/plugins/
Even after going through these, I’m still unsure of the best way to achieve the effect.
I’ve just installed bbPress, but after the installation, I’m getting a white screen when I try to access the forum.
Some things which I have tried so that it get fixed:
Clearing my browser cache
Disabling all plugins (except bbPress)
Checking for errors in the wp-config.php file
Reinstalling bbPress
I’ve checked these resources, but they didn’t resolve the issue:
Codex
Troubleshooting
https://wordpress.org/support/
The white screen still shows up, and I’m not getting any error messages. Has anyone else faced this issue or have any suggestions?
Hi, my forum actually only has one forum, so I would like disable the /forums archive page. I also use the shortcode and add all topics to my front page, so I /topics this archive page becomes redundant.
Currently, I just 301 them but is there any more elegant way to simply disable them using php?
Thank you!
that will be theme dependent.
you may be able to use the function is_bbpress()