This still works as far as I know
bbPress Notifications
it it is not perfect, the code wold get you most of the way to what you want
Wordpress is free software, as is bbpress 🙂
Some lunches are free, but yes you should add plugins with some thought.
bbPress Messages
still works as far as I know
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?
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
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
On wordpress users can decide to cancel.
When a user deletes his topics are they deleted?
Are replies to other people’s topics deleted?
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
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/
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>
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
unanswered can be done by
bbp style pack
once activated
create a wordpress page and use the [bsp-display-topic-index …..] shortcode
see
dashboard>settings>bbp style pack>Shortcodes for how to use it – but create one with noreply
then you just create a link to that page
Our developer built an app around it.
He uses the WordPress API and it is running great!
dashboard>settings>discussion is a default wordpress option, so if you don’t have this, then something is wrong outside of bbpress !!
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
To reproduce the problem I installed a clean wordpress 5.7.1. Then Elementor, bbPress and the test plugin. Then I activated them in the same order. At the moment that I activate the test plugin bbPress menu items literally disappear.
PS: in this configuration I am able access the forum as a user. But when i discovered it on my working site the first time, forum pages were blocked as i described before.
@robin-w
Thanks for your help. It is a template issue. Unfortunately, I am unable to reinstall a brand new version of the Twenty Twenty theme. When I delete it and reinstall it, I get my same settings as before.
Now, I have to build a brand new website on a new WordPress install. 🙁
I would like to add metadata to replies depending on a checkbox that the user selects. The function I think I will need to use is add_post_meta but one of the parameters is post_id. What would I put in this as the reply would not be created yet and so I believe it won’t have an associated ID yet?
I suppose it is the same concept as replying to a topic as the text the user writes will go into the post’s (with a postID) ‘main’ data. So basically I would like to do the same thing but adding to the metadata. Hopefully, that makes sense and someone knows the solution.
Thanks!
I know this thread is super old, but I thought I would jump in here to let anybody (who stumble upon this thread) know that I developed a free plugin in the WordPress plugin directory that adds voting to bbPress. https://wordpress.org/plugins/bbp-voting/
Just like the OP found, there was nothing out there that offered this pretty common functionality to a bbPress forum, so I developed my own plugin to do it. I hope you like it!
Still looking for a caching plugin for bbpress….
I’m check the cache on the server – my Super Cash prepares pages for all WordPress perfectly , but not the forum pages.
Forums contain non-persistent content, with dynamically changeable php blocks and the like. I think, we need the type of caching Legacy or PHP and enabling “Dynamic caching” in the settings? So better for object caching choose – W3 Total Cache?
Please, take the good example of choosing a cache plugin for bbpress
The problem is that sometimes with a combination of some plugins (firstly started with Acy Mailing)
- bbPress admin menu items disappear.
- Keymasters are able to access the pages but can’t reply.
- Participants can’t access the forum pages at all.
Acy Mailing did some investigation and it turned out that this issue comes out when bbPress is calling the function wp_roles. WordPress version 5.7.1
Here is their comment:
After some investigations and tests, it appears the issue is coming from the BBPress plugin.
In AcyMailing we are calling a WordPress core function (wp_roles) which gives the user roles.
AcyMailing is called before BBPress and this is what creates the issue. It seems that whenever an other plugin is calling this function before BBPress, its role system is not working properly and doesn’t give access to its content.
Whichever plugin who calls this WordPress function before them will create the problem.
As an example we created a test plugin which only call this function and does nothing else and it also prevent BBPress from working properly (I have attached this test plugin).
Thanks for your further input.
bbpress and buddypress are free software offered with free support, I an just a user of bbpress who helps out here.
With just bbpress and buddypress, the twentytwenty team could not replicate your issue, I cannot replicate your issue, and now you say you are not able to replicate the issue on a brand new installation. Therefore this would suggest it is individual to your site as I said probably a template issue, not an issue with bbpress or buddypress.
you could try
bbPress WP Tweaks
and see if changing the template works