That is encouraging. I am willing to look at developing a migration script.
I have taken a quick look at bbPress and BuddyPress documentation. I looking for a set of functions for getting/setting posts in each product, and a data model. So far, I haven’t seen what I think I am looking for.
I don’t mean to be demanding, but perhaps you can share a link that will help me find my way along?
Hi @babblebey & @robin-w , thank you both for your work on this matter.
I’m trying to do the same on my Bbpress install (not online yet) in order to sort topic by number of “fav mentions”.
I tried your last two codes but it returns “0” (I hooked them on bbp_template_before_single_topic and putted them in two separated functions).
Does it still works for you? Did I get it all wrong?
Thank you for your answer. 🙂
Hi @neon67
Did you ever manage to find a suitable option for BBPRESS cache or is W3 Total Cache still your best option ?
Thanks for the clarification. The original installation did not include bbPress. As an aside, I was quite surprised to learn bbPress is a separate product, which may offer a clue to why the original designer did not install it.
So, the “streams” are locked forever in BuddyPress, without any hope of redemption. This, too, is surprising since these “streams” are merely text in a database. Alas and anon, I will push forward, delete BuddyPress, light up bbPress, and force the end users to start anew.
I hope for the best, plan for the worst, and pull a nice wine from the rack to comfort myself.
Is it correct to say that if the BuddyPress group exists with some posts, and I set up a new bbPress forum in the backend, the existing posts will appear in the bbPress forum?
Depends what you mean by “some posts”. If the BuddyPress group was originally set up with bbPress integration as mentioned here: https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/ (The B and C options only). And forum posts were created in those groups, then yes. You just need to disable BuddyPress and those forum posts should still be viewable.
Otherwise, no. You are probably thinking of the BuddyPress group activity stream that uses Twitter-style status updates, which is not a forum.
just taken a quick look.
yes it looks like it will show the sub forums of a forum ID you enter, but not the parent forums as well.
I should say I’m not a bbpress author, and after a check of the code it is not an easy change to fix
Hi
When logged in and we use the forum search the results are password protected and they shouldn’t be.
WordPress 5.8
bbPress Version 2.6.6
Mizan Therapy
I have disabled all plugins apart from bbPress and tried it on a default theme but the problem persists.
Is it correct to say that if the BuddyPress group exists with some posts, and I set up a new bbPress forum in the backend, the existing posts will appear in the bbPress forum?
I understand that the two are not the same. I also have a pretty good understanding of how data is handled in WordPress… not expert by any stretch, but not a beginner either. Also, I have decades of experience with dbms. So I assume the answer to my question is “no.”
It would be cool to be able to recreate the posts from the BuddyPress group in the new bbPress forum. I don’t mind a bit of query and/or script writing to make things come together.
Any suggestions or insights are very welcome.
apply_filters( 'bbp_get_the_content', $output, $args, $post_content );
in
bbpress 2.6.6\includes\common\template.php
line 1940
should do it
I run several bbpress forums, and I don’t run caching on any of them.
Caching only ever overcomes slow servers, so firstly I expect to pay to get a good server. For business sites, that means getting the website owner to understand that FB isn’t free, google isn’t free, tiktok isn’t free, instagram isn’t free, and neither is their site. The customer pays for all these services, whether through advertising (eg businesses paying FB to place ads, who then use part of this money to have fast servers) or paying the website owner who pays a service provider. so pay for a good server, and you shouldn’t need caching.
On ‘club’ websites (and I am webmaster for several) then the club members need to understand that part of their membership fees pay for the website. If they perceive it as slow, then fine they need to pay more membership fees. However on 99% of these sites, my strategy has always been that good content is worth waiting for 🙂 If you are interested in the insect life of Guatemala, then you’ll quite happily wait a few seconds whilst a forum page renders to tell you about the Thoas Swallowtail butterfly.
Finally if you are running a site where you are touting for business, then I would say that you should treat a fast server as an investment.
WP total cache has had several good recommendations as one that works very well with bbpress.
Some webmasters also do not understand that many browsers (particularly ones for cell/mobile phones) cache locally, so a lack of update isn’t necessarily caused by server side issues.
Finally I would say that I am just a bbpress user here, not one of the bbpress authors, and my views are just mine 🙂
Yes you could use
.bbp-reply-post-date {
display: none;
}
to hide you bbpress reply post date.
But to display the post modified date you would need to add this function in you child theme templates whereever you want to display, eg replace
bbp_topic_post_date();
with
the_modified_date();
in templates/content-single-topic-lead.php
The plugin page shows last updated 9 months ago and Tested up to: 5.6.4 when the current version of WordPress is 5.8. Is bbPress still being maintained?
I am working on a site through Elementor Pro (A website builder) and through it I create templates. The templates are then applied to the pages that I designate.
I installed BBPress and assigned a template to the forums page. However, it does not apply to the users page. In this case the problem is that the main menu is almost invisible.
Example of a user page: https://mariablaquier.com/forums/usuarios/lagorda/
Does anyone know how I can fix this?
Wordpress: 5.8
BBPress: 2.6.6
Site: mariablaquier.com
I haven’t used this together with bbpress topics… but does get_the_modified_time() work? https://developer.wordpress.org/reference/functions/get_the_modified_time/
Hi,
I am looking for a solution to have my topic author post date to be updated whenever the topic/post content is edited – but cannot work out a way to do this effectively.
I have attempted to manually change post date as suggested at https://bbpress.org/forums/topic/changing-post-dates/ but it does not seem to work.
Any solution or ideas?
The reason is I have topics that were created 2-3 years ago that I regularly update depending on new information/changes to the topic subject. I don’t want to lose any comments associated with the topic and its completely inefficient to be deleting each topic and recreating them periodically.
Thank you!
Perhaps you are thinking that the BuddyPress group activity stream is a forum, it is not. If that’s the case, then there is no script to import the BuddyPress group activity stream to bbPress.
Like I said before, you do not need to migrate. If you disable BuddyPress, the forum content is still in WordPress and bbPress.
Try it. Disable BuddyPress and go to the admin dashboard and go to either “Forums” or “Topics” and attempt to view the item you wish to view.
The BuddyPress Group was set up long ago. I am setting up the bbPress plugin. There is a link at the bottom of the page you linked for migrating forums, but the page this points to seems a little outdated. It references BuddyPress 1.6.1, and we have version 9. It references Group Forums (Legacy) on the Components tab, but that is not present.
To be clear, BuddyPress 9.0.0 was installed long ago and has been used. It has a forum with posts. I have now installed bbPress 2.6.6, and I want to migrate the forum and posts from BuddyPress to bbPress.
I’m not certain, but I think that something like Wordfence might help with this. I’m running it on three different sites. None of them use bbPress registration, but two of them have MemberPress registrations, which are vulnerable to the same problem. Wordfence doesn’t exactly address this problem directly, but they do apparently keep a huge list of compromised and other suspicious sites, which get blocked.
Again, I don’t have any direct experience with bbPress registrations, but this has really helped me with various kinds of spam logins, comments, and other problems.
Just a possibility.
Can you tell me why I’m suddenly run into this problem?
You site has become known to spammers who circulate lists of sites that allow wordpress registration. Bbpress simply uses wordpress registration, so that is the route they are getting in.
I delete 2-10 topics/replies a day on this site that are spam.
I’m using bbPress for quite a while now.
But for the last 3 weeks, I’m getting lots of spam & suspicious registration on my website using bbPress login, like mailforspam.com and others.
The strange part is that they are not even visiting my bbPress login page and other forum topics, there is no data of them in google analytics. They directly get registered somehow.
They just not only registered but also create some spammy topics. Can you tell me why I’m suddenly run into this problem?
And, What can I do to stop them?
Thanks Robin, a much appreciated, reassuring reply for me!
So, I’ll recap my understanding below (maybe useful for others too):
bbPress baseline features, when it comes to GDPR
–Right to be forgotten: when admin deletes a user (WordPress Dashboard > Tools > Erase Personal Data), it triggers WordPress’ “Personal Data Erasure” feature, and for bbPress content (posts/topics) will offer to re-assign to another user.
–Right to data portability: when admin hits (WordPress Dashboard > Tools > Export Personal Data), it triggers WordPress’ “Personal Data Export” feature, but the exported file won’t include posts/topics from the forum.
Extra functionality is available via this plugin: https://bbpress.org/forums/topic/make-bbpress-gdpr-compliant/
–Right to be forgotten: when admin deletes a user (WordPress Dashboard > Tools > Erase Personal Data), forum posts/topics will be deleted (no chance to re-assign to another user).
–Right to data portability: when admin hits (WordPress Dashboard > Tools > Export Personal Data), forum posts/topics will be included in the exported file.
I like the ability to re-assign posts (deletion time) but at export time, I like the idea to include those posts. Sounds like a “best of both worlds” to me. Would you or anyone know if that is a possibility? Seems like the above plugin is an “all or nothing”.
Sorry if my questions seem numb, a bit of testing would certainly get the answer, but my website project is at its infancy: I don’t even have a host/wordpress yet, I am investigating which solution/plugins to assemble to achieve my vision.
In fact, I am probably going to use the BuddyBoss platform, which is a fork of bbPress, so I am making the assumption that bbPress’ baseline features are available in BuddyBoss platform, but I might well be wrong!
All-in-one, I will certainly do thorough testing on those aspects, but you know the V cycle idea, I don’t want to find-out late that I am in a dead end 🙁
Hey,
I am the author of the GD bbPress Toolbox Pro, please open the ticket in the support forum on Dev4Press and include which version of the plugin you are using.
Regards,
Milan