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.
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
I am having some difficulty figuring out what this does, apologies, my PHP knowledge is very minimal. What exactly is the
if (! empty($_POST[‘my_parameter’] ) ) {
$myvalue = $_POST[‘my_parameter’] ;
}
else $myvalue='empty';
part doing? Specifically, what would ‘my_parameter’ be? Would this be the name or value of what I would like the meta to be?
I have looked up what $_POST does, and the variables that I am using are declared using JavaScript. Now I am wondering if I will have to change my approach to checking the user input for the checkbox (something which isn’t related to bbpress).
Many thanks
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.
Hi!
It is not a new site (been active for a few years), but I just started to use bbpress and experienced this. It happened to all users (including moderators that I assigned), and it seems to happen all the time consistently. Whenever they edit their posts, it appears “pending approval” and I had to approve their edit. Setting the minutes value doesn’t make any difference. Thank you!
ok, I installed the test plugin, and have not been able to find an issue.
For instance you say ‘bbPress admin menu items disappear.’ – I can still see all admin items, can you specify an exact example of one that goes eg ‘in this I no longer see that’
Hello @Jing did you find anything for your bbPress mobile app APIs because I am also looking for some APIs to make a mobile app for my bbPress.
Regards,
HB
Hello, I recently created a forum website using bbpress and dispute theme, but I just want when someone login to your account they will directly land to my discussion forum.
please tell me how I can do it?
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
Hi Back to Front,
I also have buddypress installed. As admin you have for each member a page wich among other things shows topics started and replies made by the member. The replies did not show up (and there were definitly replies).
As buddypress makes use of bbpress for fora i expected your code to work but it did not (is the culprit then buddypress or bbpress or your code? I haven’t the faintest idea).
Maybe : if( $bbPress_post_type ==’topic’ ){
/** TOPIC **/
$query[‘order’]=’DESC’;
return $query;
should have an } else {return $query}
thanks for this – can you confirm that is only affecting bbpress, it doesn’t affect the other plugin ?
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).
I tried in every way but I couldn’t …
I have a large vbulletin forum that is no longer online that I would like to get back online and switch to bbpress.
On-line I have found various articles that suggest switching first to phpbb and then to bbpress but nothing seems to work.
I also found 2 sites that offer paid migration but the figure is very high.
Is there anyone who could help me?
I can also pay for something but since it is a forum that will have very few users, I cannot give much.
Thanks
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