Hi,
I’m interested in having a user-to-user Private Message function on my site. Simplest possible / no frills.
My site is .org / wordpress v5.7.2
Site (not yet in full use) http://forum.thehiddenpeople.ie/
Currently activated plugins:
Akismet antispam
Avada Builder
Avada Core
Basic use avatars
BBPress
Disable Gutenberg
I’ve come across a few plugins that sound like possibilities but none that have been tested with Avada. Any recommendations anyone?
A new issue on an old site. It’s probably happening to about 10% of users. The main reason I was thinking it was bbPress is because it is typically happening on new posts and when a user hasn’t been to the site in a while. Yes, would be much easier if I could recreate it! Let me see if I have reports of it happening outside of the forum.
Thanks!
Is this a new issue on new site, or new issue on old site, and how often is it happening to how many users ?
ok, I don’t think this is bbpress, I can’t see anywhere in bbpress that it changes cookies, but as you’ll appreciate ‘random’ actions are always the hardest to debug, and I would not rule bbpress out, I’m just struggling to see where it might have the problem.
so to directly answer your question, no idea how you might debug without finding a way to reliabily recreate this.
yes, this has been happening for a while (it happens on this site!) , and I’ve not got round to looking at why until you posted (I am a bbpress user who helps out here, not one of the bbpress authors).
I’ve just dug into the code and created a trac fix ticket for it
https://bbpress.trac.wordpress.org/ticket/3429#ticket
in the meantime, this code fixes the problem
add_filter ('bbp_bump_user_topic_count' , 'rew_new_topic_count', 10 , 4) ;
function rew_new_topic_count ($user_topic_count, $user_id, $difference, $count) {
//check if count is 2 and should be 1 by seeing if user topic count is empty!!
if ($user_topic_count==2 && empty (bbp_get_user_topic_count( $user_id, true )) )$user_topic_count = 1 ;
return $user_topic_count ;
}
add_filter ('bbp_bump_user_reply_count' , 'rew_new_reply_count', 10 , 4) ;
function rew_new_reply_count ($user_reply_count, $user_id, $difference, $count) {
//check if count is 2 and should be 1 by seeing if user topic count is empty!!
if ($user_reply_count==2 && empty (bbp_get_user_reply_count( $user_id, true )) )$user_reply_count = 1 ;
return $user_reply_count ;
}
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 have a WordPress site using bbPress and I have some users that are randomly being redirected to a renewal page when they click on certain forum items (usually new posts). I have them delete their cookies and then it works fine. I am just unable to recreate it, so I don’t know exactly how the cookie is becoming invalid. Any ideas how to debug this?
WordPress 5.5.4
buddyPress 2.5.14
Anonymous User 18731058Inactive
I’m testing out bbPress on my development site, and on the profile page, both bbp_get_user_topic_count and bbp_get_user_reply_count are returning incorrect numbers for all users. When I delete all topics, on my admin account I get a topic count of 1 and reply count of 7. When I test it out on a new user, it starts correctly at 0, but as soon as I create a new topic, the topic count jumps to 2. When I create a new reply, the reply count also jumps to 2. When I delete the topic, I get a topic and reply count of 1. I’ve tried the recount tool in Tools > Forums, but it’s not fixing the issue.
I would suspect this is a 404 error.
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 Version 2.6.6
wordpress Current version: 5.7.2
I can’t find the solution for custom redirect when forgot password form is sent (the form with only one field, your username or email, and “get new password” button, which triggers the email with the reset password link in it, which then opens the reset password form).
The reset password form which has two fields, “new password” and “repeat new password” (and buton save password). I solved the reset password redirect with code snippet
function wpse_lost_password_redirect() {
wp_redirect( 'myurl' );
exit;
}
add_action('password_reset', 'wpse_lost_password_redirect');
But it doesn’t work for the lost password form. Is there also a redirect function for forgot password, which I could use?
Have WP 5.7.2., bbpress 2.6.6., also use themeMyLogin plugin.
Thanks in advance!
ok, this thread was for version 1 of the plugin.
If you have an issue, 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
This code is from version 1 of bbpress, so probably no longer works.
The Plug-in section has just disappeared off my dashboard. I’m a user not an IT person so not au fait. The developer (who has now left me to my own devices) made me super-admin during development to open up more functions but now he’s gone I seem to have regressed to a mere Administrator and can’t see the plug-ins anymore. My reading about that suggests that even as an administrator I should be able to manage plug-ins but it’s not happening.
Wordpress version 5.7.2
can’t find bbPress version
Avada version 7.0.2
Site (not yet in full use) http://forum.thehiddenpeople.ie/
Hi there,
I use bbpress as my site forum. In the case of desktop there is no problem but in responsive mode (mobile phone) avatar covers role of author. could you please suggest me a solution?
here is an example link:
https://www.ninitalar.com/forums/topic/%d8%b4%d9%88%db%8c%d9%86%d8%af%d9%87-%d9%84%d8%a8%d8%a7%d8%b3-%d8%a8%da%86%d9%87/
my test site with just twentytwenty and bbpress works both with or without the prefix – I just make sure the landing page has the same permalink as the forum slug.
Every site is unique, so if that is not working for you, I’m not sure what to suggest next – sorry 🙁
not sure how this is related to bbpress ?
What I do in this case is use client side JavaScript code to inject a new HTML element at the position you want it, with your custom code.
I put a Custom HTML widget on the page which has all the required JS & CSS code.
The advantage of this approach is that you don’t need to mess with the PHP files of your WordPress or bbPress setup, so when you do an upgrade in the future, you don’t have to worry about your changes being overwritten, or your site to break because of your changes.
I use the code below to place a Reply button on top of the page. When it’s clicked, it will scroll down to the new post form at the bottom of the page (the most recent post is on top).
<script type="text/javascript">
// Add the reply shortcut button at the top.
let btn = document.createElement("a");
btn.href='javascript:document.getElementsByClassName("bbp-footer")[0].scrollIntoView()'
btn.innerText='Reply'
btn.className='nj-replybtn'
let n = document.getElementsByClassName('bbp-replies')[0];
if (n !== null) {
n.parentNode.insertBefore(btn, n);
}
</script>
<style>
.nj-replybtn {
color: white;
background-color: #007acc;
padding: 5px;
margin: 2px;
}
</style>
I’m wondering if there’s a bbpress plugin that functions like a like button you see on Facebook or Twitter, or the emoticon replies the Slack chat app has, to give feedback on a post without actually replying to it.
However 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
ok so are you seeing these topics in
dashboard>topics ?
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
Hello everyone,
Hope you’re doing well! I am having an issue with bbPress showing the date and time of forum posts. It simply shows as ” at ” above the person’s profile picture. Is there any setting I need to adjust to fix this?
Example: https://associationmarketingacademy.com/forums/topic/class-3-copywriting-and-email-marketing/
Thank you,
Tom
WP version 5.7.2
bbPress Version: 2.6.6
Astra Theme Version: 3.4.2
Website: https://authorready.com/forum
I did a new install of bbPress on my existing site with the Astra LearnDash theme with no child theme. I followed the instructions on the step-by-step page (https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/) to set up the forum and am using the shortcode [bbp-forum-index] to display the forum on my page.
When I navigate to a topic from the forum (i.e., Forum > Announcements > Test Topic Creation), it shows my 404 page instead of the topic. The same thing happens if I go into the topic from the admin panel and try to preview the page. I have tried to following from other topic support tickets with no success:
1. Dashboard > Settings > Permalinks and clicked save. No change.
2. Installed Health Check & Troubleshooting. Health Check was good.
3. Entered troubleshooting mode and deactivated all but the bbPress plugin with the Twenty Twenty theme. Still no topics, but redirected to the home page instead of the 404.
4. Installed bbPress WP Tweaks and tried all of the .php page settings with no change.
Is there something I’m missing? I’m at a loss of what else to try or why it may not be working.
ok, so apart from bbpress, what other bbpress related plugins are you running ?
Hello, I have bbPress installed on a website for my LearnDash course users. Recently, I began receiving 2-3 copies of every forum reply email. So anytime I receive an email notification from bbPress, the same email is sent to me 3 times.
Any idea why this is happening or how to fix?
Hello,
i’m using bbPress on a website. I want to integrate two links, to show all topics which are “unanswered” and which are “answered”. Do you know, how to do this?
Also, i want to have like a “sticky reply in a topic”. Do you also know how to realize that?
Thanks! 🙂
ok, so I looked and yes adding elementor as a 3rd option causes the issue.
So this is a combination of plugin actions, not a single one.
I should say here that I am just a bbpress user who helps out here, I’m not one of the authors.
I could spend many hours looking at all three plugins to track why the issue happens, but the easiest solution is just to add back the bbpress capabilities after plugins have loaded
so this plugin which is just 4 lines long does that.
BbPress Add Capabilities
just download and then add to your site and if I have understood it, you should be back and working again.
Let me know if/that it works.