Hi Robin, after spent some time trying to understand the codes, I tried and finally got the results that I wanted.
For loop-topics.php,
I change:
<li class="bbp-topic-reply-count"><?php bbp_show_lead_topic()
? esc_html_e( 'Replies', 'bbpress' )
: esc_html_e( 'Posts', 'bbpress' );
?></li>
to:
<li class="bbp-topic-reply-count"><?php esc_html_e( 'Replies', 'bbpress' ); ?></li>
and for loop-single-topic.php,
I change:
<li class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? bbp_topic_reply_count() : bbp_topic_post_count(); ?></li>
to:
<li class="bbp-topic-reply-count"><?php bbp_topic_reply_count(); ?></li>
Since I don’t have any knowledge about PHP codes, I’m not sure what I did is correct or not, anyway at least work on my browser.
Regards
I need help installing a forum to my site
Worpress: Current version: 6.1.1
bbpress: Version 2.6.9
I am using IONOS as my webhost
I am totally lost and i need help I don’t see any tutorials am
looking but I don’t see.
After we have installed bbpress where are instructions for users who are using the forum to post?
Example they have questions and want to use the editor and read about all the functions. Where can we find anything like this?
Thank you
the templates are in bbpress/default/bbpress
you would be looking at things starting loop-xx , so for instance if you wanted to change loop-single-reply.php …
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
transfer this to your pc and edit
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
wp-content/themes/%your-theme-name%/bbpress/loop-single-reply.php
bbPress will now use this template instead of the original
@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
I’m not sure how / where this might have broken – I know it was working.
If I click on the name of a user (example: https://bbpress.org/forums/profile/sflwa/)
On my site it is domain/users/NICENAME
All of the sudden the page just spins and spins and spins
If I put the site into troubleshooting mode – for users with only a few topics / replies I can get it to pull up but it seems like it is stuck in a loop as it just keeps repeating the profile information over and over and over.
Any thoughts as to what might be causing this or what page / file I need to check to debug it.
Merge topic is showing critical error.
It shows critical error as memory exhausted.
Earlier the memory was 128M and now it is 1024M but still it shows error.
I already did the debugging steps like deactivating all the plugins except bbpress then activating the plugins one by one. Changed the theme as well. But the error persists.
any ideas?
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)
so did you do the test above with just a default theme and bbpress ?
Hi Robin,
I looked at the forum screens and there is a button for adding a forum to a digest. I clicked it and it changed to give me the option to remove it from the digest.
A second link is there for editing digest settings, however when I click it, I get:
Page Not Found
The page you were looking for could not be found. It might have been removed, renamed, or did not exist in the first place.
The link is https://somd-scalemodelers.club/members/timh/edit/#bbp-digest-check-row
And if I understand correctly, that’s a function in the bbpress digest plugin php code.
Any ideas where I should look next?
Regards,
Tim
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.
agree with your there 🙂 but something more like ‘word’ would be so much better. ‘Normal’ users just don’t understand what on earth a ‘block’ is, and it’s so clunky to use.
Anyway, not up to me, up to the bbpress devs.
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?
Thank you, Robin.
Based on the two plugins you recommended, and my reading of their documentation, what we need is something similar to bbpress digest. I installed both and bbpress notify does what it says, but users have no control over their notifications. For bbpress digest it did not do anything other than modify the admin menus. I tried changing switches but nothing seemed to change. Not surprising as it hasn’t been updated in years.
Regards,
Tim
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
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
Thanks a lot Robin
i had the same problem
i think you should give your fix to the bbpress dev team as this is an annoying bug
Thanks 🙂
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