Does anyone know if BuddyPress is compatible with Woo Commerce memberships if I do NOT have a store or e-commerce component? I’m using wordpress/buddypress with a BuddyBoss theme for an online community where members will pay a small monthly subscription fee. My BuddyPress install came with Woo Commerce, but it looks to me like Woo might be only appropriate for store components. I just need to charge a monthly membership fee via Stripe, protect all pages except Home and a few marketing pages, and I need the ability to add additional custom registration form fields. Sorry, I know this is also somewhat of a Woo questions, but since my BuddyPress came with Woo, I hope its ok to ask this question here. I’ve already tried Paid Memberships Pro and Restrict Content Pro, but neither of them work well with Buddypress (billing works, but page protection doesn’t).
Hi @writingbox – Unfortunately, it’s very hard to debug this without access to the live site. But if the problem is indeed that there is a margin-top issue on this element, you could put the following into your child theme’s style.css:
body.single-item.groups #buddypress div#item-header div#item-actions {
margin-top: 0;
}
Be sure to do this in the stylesheet for your child theme, not in BuddyPress itself or in your WP theme, because those changes would be lost when the plugin/theme is updated. Here’s a guide https://premium.wpmudev.org/blog/how-to-create-wordpress-child-theme/ – the section you want is under the “Creating a Child Theme” header, and the file where you should put your customizations is style.css.
There are a couple places where BuddyPress itself adds an IN clause like this to the user query.
1. When showing a list of a user’s friends: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/classes/class-bp-user-query.php?marks=389#L382
2. When joining against the user meta table because of some sort of meta_query: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/classes/class-bp-user-query.php?marks=455#L430
3. When parsing the include parameter, which can be populated by a plugin or by a group member query: https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-core/classes/class-bp-user-query.php?marks=373#L360
It’s hard to give exact advice without knowing which of these cases is tripping up the WPEngine tool. Item 2 would only happen if you were using a specific kind of plugin/customization. 1 would only happen if viewing the friends page of a user with a huge number of friends. 3 would happen only if viewing the members page of a group with a huge number of members. 3 is probably the most common, but if you could verify, it would help us to narrow things down.
It’s hard to give a simple workaround for this kind of issue. One is to prevent BP from doing this specific ‘count’ query. This will have the effect of breaking certain kinds of pagination, but it may be something that you can work around, depending on the details. Fundamentally, this might count as a bug that should be fixed in BP – we may consider switching this to a subquery to avoid this kind of host restriction.
In the meantime, you might consider reaching out to WP Engine and explaining this problem. In my experience, they’re generally pretty reasonable about disabling or loosening this query-length restriction in certain cases.
Hi @drnz17 – Yes, there are plugins that make this possible. This one has support for BuddyPress-related conditionals, like “show these widgets on a single user page”: https://wordpress.org/plugins/dynamic-widgets/
Hi @barkins – BP doesn’t have a built-in tool for this (though it should – see https://buddypress.trac.wordpress.org/ticket/7393, https://buddypress.trac.wordpress.org/ticket/408). If you know that user IDs will remain the same between the local WP install and the live install, then you can do a simple database export/import, something like:
$ mysqldump -u db_user -p db_name wp_bp_xprofile_groups wp_bp_xprofile_fields wp_bp_xprofile_data > ~/xprofile-export.sql
$ mysql -u db_user -p db_name < ~/xprofile-export.sql
If the user names will not be the same, you’ll need to write a script to handle this, but the details will depend on how you plan to identify users (email address, etc).
Hello everyone. I followed a guide to change the default name of the post. And now from wordpress administration it’s all ok.
On the workflow of activities, however, each time a user enters a post continues to exit:”User x has entered a new post”.
How do I make him understand to Buddypress that he doesn’t have to use the word “post” anymore and uses the word I chose?
I also tried to change the translation file, but this is temporary and does not always work.
Thank you very much to those who will help me because I really don’t know how to solve it.
I am trying to optimise a wordpress (4.8.3)/ BuddyPress (2.8.2) site with 5000+ users hosted in WPEngine. Getting error in WPEngine error log.
The WPEngine error log shows following error:
[Wed Nov 15 23:50:15.430014 2017] [:error] [pid 21215] [client 27.147.203.28:32469]
KILLED QUERY (35690 characters long generated in
/nas/content/staging/sued2/wp-content/plugins
/buddypress/bp-core/classes/class-bp-user-query.php:536):
SELECT COUNT(u.user_id) FROM wp_bp_activity u WHERE 1=1 AND u.component = ‘members’ AND u.type = ‘last_activity’
AND u.user_id IN (72,790,8 …..
Hi @jeffm2008 – Thanks for the post!
I’ve just had a look at how Jetpack handles this. Unfortunately, it looks like it’s probably fundamentally incompatible with the way that BP’s top-level pages work. While BP does use WP’s page infrastructure in the Dashboard, it then tricks WP into thinking that BP pages are *not* in fact WP pages at the time that the sidebar is rendered. So Jetpack’s checks – technically, is_page() and get_the_ID() – are failing in the case of BP pages.
As an alternative, you might consider this plugin, which advertises support for BP content: https://wordpress.org/plugins/dynamic-widgets/
Thanks for the quick response.
Looking over some of the earlier posts, it is weird that the message says “For better results, make sure to upload an image that is larger than 0px wide, and 225px tall.”. This suggests that theme is set up in such a way that it sets the cover image width to 0. As such, it’s possible that it’s being rendered, but being set to 0 width. Are you able to reproduce the problem on a WP default theme, like Twenty Sixteen?
The width for the cover image is inherited from the content_width global, which should be set by your theme (at least, the wordpress.org theme guidelines require it). It’s possible it’s not being set. Have a look at https://www.binarymoon.co.uk/2012/03/heard-wordpress-contentwidth/, and try doing something like that in your functions.php to see if it helps.
If this turns out to be the issue, then the BP team should look into having a more graceful fallback for cover image width, so that we’re a bit more compatible with non-compliant themes.
WordPress 4.9 “Tipton”
BuddyPress Version 2.9.2
Theme: Buddy Version: 2.15.1 By GhostPool
When sending private message to my users, the message shows sidewide notification to everyone visiting my site. I added this this in custom css
#sitewide-notice {
display: none !important;
}
The message box appearing under the header was closed But the sidewide notification still exist.
You can check out here https://www.friendlygooners.com/
I need to export and import just the Profile fields from my local WordPress installation to my live website.
Is there a way to do this? I see there are ways to export and import the field data, but I just need the fields themselves. Thanks
Current state of affairs do not look good for Buddypress (https://wordpress.org/plugins/buddypress/#reviews). Users consider it on the way out when comparing it with plugins like “ultimate member” or “user pro”. Though these plugins have inferior code quality they compete with BuddyPress based on their promotions and integration with WordPress.
We’ve been monitoring BP REST API github repo but there are hardly any activity recently, which brings to the point why is BP REST API not taken up seriously by the BP devs.
The REST API for BuddyPress needs to be taken up professionally and seriously as it could clearly be a game changer for BP.
How do i make that i can use default wordpress registration when i try to register?
Thanks!
Wordpress 4.8.3
Buddypress 2.9.2
I’ve written on the support forum for the plugin BuddyPress Xprofile Custom Fields Type but it seems the plugin author hasn’t answered anything in 8 months:
After upgrading wordpress from 4.8.2 to 4.8.3 the Custom Taxomony Multisector is not displaying/working correctely in the dashboard user extended profiles tab. The users chosen selection is no longer displayed. The entire list is shown. From the front end everything works correctly. The user can select/unselect multiple organizations/specialties. I’ve look at the code in both the front and back end and it is identical. I don’t see any js errors in the console. I thought perhaps the jQuery hadn’t been initialized, but it looks like everything is correct. The only other thing that is weriod is the help / options dropdown at the top of the dashboard screen won’t open. Any help would be apprieciated.
Hi.
The buddy bar / admin bar (not sure exactly what it is called), that shows the user notifications etc, is only showing for admin.
Any idea why?
Thanks in advance!
WordPress 4.8.3 running Point theme.
BuddyPress Version 2.9.2
hi.
JetPack Widget Visibility does not seem to work on BuddyPress pages (Register, Members, Activity, etc.).
But, when I disable BuddyPress plugin, the visibility options work.
Example: I’m trying to hide certain widgets on the Register page. But they are still there unless I disable BuddyPress.
Also, JetPack visibilty works perfectly on all other pages when BuddyPress is enabled, except BuddyPress pages.
Any help would be appreciated. Thanks in advance!
WordPress 4.8.3 running Point theme.
BuddyPress Version 2.9.2
Hi @barkins – Unfortunately, BuddyPress doesn’t yet have a full set of CRUD endpoints for BP objects. The team is working on it, and we hope to start rolling out endpoints in the near future. BP-REST is the repo to follow for that.
BP will work fine with the default WP REST API, if all you want to do is access a list of users. However, WP’s user endpoint won’t include any BP data, and you won’t be able to modify/add user data via this endpoint. That said, if your needs are fairly narrow, you can definitely write your own custom endpoint for fetching/updating BP profile data – it’s likely to be much simpler than what’d be required in BP itself, if your needs are pretty specific. Here’s some docs: https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/
Very odd – it appears that this too is caused by your theme, as BuddyPress itself just inherits the mobile styling of the toolbar from WordPress (and the WP toolbar looks fine, as shown by your Dashboard screenshot). Try reaching out to the theme author to see whether they’re able to identify the problem.
The hook you mention does not provide any arguments.
Perhaps you need to research how do_action works.
The hook I mentioned already provides the $user_id.
Example:
function sultry( $user_id, $user_login, $user_password, $user_email, $usermeta ) {
// do something with $user_id
}
add_action( 'bp_core_signup_user', 'sultry', 10, 5 );
I did just find this plugin: JSON API User WordPress Plugin, https://www.parorrey.com/solutions/json-api-user/
Has anyone used it with BuddyPress? If so, how well did it work?
I’m interested in adopting BuddyPress for my membership website.
I’m hoping BuddyPress features can be accessed via API? Also, is it then possible to perform CRUD operations on profiles via API?
I did find this https://github.com/buddypress/BP-REST however not sure if BuddyPress can just work with the WordPress REST API?
Any insight would be greatly appreciated. Thanks
I try to answer even if I am not an expert.
It could be some user management plug-ins that conflict. It happened to me in the past that the profile image was not linked to the wordpress avatar. I found out that it was a user management plugin that sent him into conflict (the name of the plugin was Ultimate member). I hope I have helped you.
Hi everyone. I would like to know if you can give access to the page (admin) bp-activity with the list of all activities, to a specific user role.
My customers in the future need to see the whole list of activities from the wordpress back-end.
Hi friend, this is my website http://www.99wordpressdevelopers.com and help me for adding more than one social media buttons in footer. If you have any ideas then suggest me?
Also i want to know how to install WordPress blog through Cpanel.
We’ve used BuddyPress internally at my company and for client’s over the years and it has worked fine.
If you want a Good UI/UX, get a premium buddypress theme. Check the folk at BuddyBoss.
P.S Made WordPress Email Opt-in and User Registration & Profile plugins.