@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
you can screenshot, load the images to your wordpress media, and then post here the url for the media image.
Otherwise I would need a link to a live example
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
See:
https://meta.trac.wordpress.org/ticket/6608
I notice in the standard WordPress forums (like for BSP) that they now have improved user experience.
Is this something we could add to bbPress?
This is available as a premium add on for
bbPress Notify (No-Spam)
see digest tab in the plugin details.
Also this is old, but might still work
bbPress Digest
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
Try this
add_filter( 'get_the_archive_title', 'to_archive_title_remove_prefix' );
function to_archive_title_remove_prefix( $title ) {
if ( is_post_type_archive() ) {
$title = post_type_archive_title( '', false );
}
return $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
I am new at this, please forgive me. I have installed bbPress into a WordPress site https://mississippihunter.com/forums/ . I am using the Astra theme.
How do I get rid of the word “Archives?”
I sincerely appreciate any help. Thanks, in advance.
d
it has been repported.
There is a fix in
bbp style pack
once activated go to
dashboard>settings>bbp style pack>bug fixes
and you’ll see the ability to Fix ‘Restore’ on front end
Hello, I have the following questions. Does bbpress use the user roles of wordpress?
I would like to include a separate forum for individual events on my website, that relates only to the topic of the event. Is this possible?
David
First you could try Robin’s bbPress plugin: https://wordpress.org/plugins/bbp-profile-information/
Same with BuddyPress integration: https://wordpress.org/plugins/bbp-buddypress-profile-information/
If you’re not using BuddyPress though I would highly recommend looking into it. You can enable “Extended Profile Fields” and there’s also a plugin for custom field types: https://wordpress.org/plugins/bp-xprofile-custom-field-types/
As far as the outbound links themselves go you might need to code/style them yourself unless your theme automatically converts links.
I saw this:
10 Best Custom Login Page Plugins for WordPress 2022
but there is no option to embed on a page on my site.
<?php
if ( ! is_user_logged_in() ) { // Display WordPress login form:
$args = array(
'redirect' => admin_url(),
'form_id' => 'loginform-custom',
'label_username' => __( 'Username custom text' ),
'label_password' => __( 'Password custom text' ),
'label_remember' => __( 'Remember Me custom text' ),
'label_log_in' => __( 'Log In custom text' ),
'remember' => true
);
wp_login_form( $args );
} else { // If logged in:
wp_loginout( home_url() ); // Display "Log Out" link.
echo " | ";
wp_register('', ''); // Display "Site Admin" link.
}
?>
I entered that code with the Code Snippets Plugin but it didn’t work 🙁
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
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' ;
}
}
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Moderation
This will let you set options
Hello – Is there a way to have the system notify the wordpress admin when replies are sent to pending? I had several sitting in there and didn’t realize it. Thanks!
I have searched these forums and for the life of me can not find exactly what I am aiming for.
Basically I run a gaming community. For the most part, everyone uses discord, and the new forum system discord currently has. However our website has been a beacon that has kept us getting back in touch with each other for over 25 year and im trying to not only keep it alive, but adding content.
Basically I have the WP Discord plugin. I want to have BBPress allow the user to add their specific game names (battle net, steam, EA, Activision IDs) to their website / forum profile. I downloaded and installed the Advanced custom field plugin via wordpress, but it doesm’t seem to work with BBpress. If I make a new page or post I can add the fields, but I am looking more in terms of the wordpress user adding them upon registering on the site, then showing in the BBpress profile.
I used to modify SMF years ago and played around a lot with different content management forum software, but am fairly new to wordpress itself, and I ABSOLUTELY LOVE how bbpress feels familiar to me. I feel like this is something super simple and easy to accomplish and im just looking in the wrong place.
On our old SMF forum, I literally had it setup in a URL format to where you would put your Steam username, but then on your profile it would be a clickable link to your steam page. It was super easy and literally required modifying the code 2 or 3 lines to fix once installing a basic plugin for SMF. I feel like this should be easier.
Can someone please point me in the right direction? Also, thank you all for what you do!