Forum Replies Created
-
Just to be clear, you are able to update a profile from a user and actually see, after the update, duplicate information in the database table?
Awesome! is this public? Could you share your wp_cli support link here? Just in case someone runs into this in the future.
I see it is still bundled: https://github.com/wp-cli/entity-command/blob/main/src/WP_CLI/CommandWithDBObject.php
I also think if that were true, our unit tests would fail. It is more likely you do not have wp-cli installed in your project.
Could you confirm going over these docs?
This file extends WP_CLI\CommandWithDBObject which no longer is part of WP_CLI, which in turn throws a fatal error.
This is news to me. I’ll look into it.
And your previous developer is not playing tricks. The CLI is bundled with BuddyPress when we release a new version We develop it separately here: https://github.com/buddypress/wp-cli-buddypress
@gamefa It’d be great if you could open another topic with more details about your issue and testing steps. 🙂
Not via the REST API.
You can use the activity endpoint: https://developer.buddypress.org/bp-rest-api/reference/activity/#list-activities
To get activities from a single group only.
@keithkhl Could you take a look at this comment here and provide testing steps?
@emanweb1 Can you share the request you are sending? Who’s logged in when performing this request? Is it a user? A regular user? An admin? Are you using an application password?
There is currently a ticket in progress: https://buddypress.trac.wordpress.org/ticket/8413
I created an issue here: https://github.com/buddypress/bp-activity-block-editor/issues/8
Also, the “security issues” as far as the ticket indicates, are not applicable to the version WordPress uses. Meaning that WordPress is updating to the versions without those issues.
I think Core should fix it first and then BuddyPress would inherit the update. Unlikely we will invest time into it since we plan to move things into the block editor.
@TheSupercargo I’m not sure if this is related to your problem and if you can test this pr.
We already have a ticket for this: https://buddypress.trac.wordpress.org/ticket/9044
I don’t think we force the emails to be sent as Plain Text. Can you confirm what’s the value for
wp_mail_content_type
? Is it possible a plugin is hooking into this filter?Can you share that action you took? Also, a sample of the headers (you can hide the real information).
XProfile Fields in it, but only the full_name field is getting saved, all other fields are not getting saved when signup is complete.
Now, it is important the signup fields are registered in the proper location.
Confirm if your signup fields are correctly grouped here:
your-site.com/wp-admin/users.php?page=bp-profile-setup
In the Signup Fields group.Three things:
– I can’t replicate the issue you have.
–user_name
is not a valid field, btw. It was deprecated.Using the followwing payload, I actually get this in BuddyPress 14.0 since you are using
+
in theuser_login
, that’s not valid.Request Payload.
curl -X POST "https://bp-demo.test/wp-json/buddypress/v1/signup/" \ -d "context=edit" \ -d "user_email=pratik@testmail.com" \ -d "user_login=testthe+request+" \ -d "password=\"']));L)Q542q8dL3" \ -d "signup_field_data[0][field_id]=1" \ -d "signup_field_data[0][value]=testthe+request+" \ -d "state=gggg" \ -d "country=AZE" \ -d "postal_code=444444" \ -d "mobile_phone=555555555"
{ "code": "bp_rest_signup_validation_failed", "data": { "status": 500 }, "message": "Usernames can contain only letters, numbers, ., -, and @" }
Here is the BP configuration I have locally, taken from my local site: https://bp-demo.test/wp-admin/site-health.php?tab=debug
version: 14.0.0 active_components: Extended Profiles, Settings, Friend Connections, Private Messages, Activity Streams, Notifications, User Groups, Site Directory, Members, Members Invitations url_parser: BP Rewrites API global_community_visibility: anyone template_pack: BuddyPress Nouveau 14.0.0 ! hide-loggedout-adminbar: Yes ! bp-disable-account-deletion: Yes ! bp-disable-avatar-uploads: Yes ! bp-disable-cover-image-uploads: Yes bp-enable-members-invitations: No bp-enable-membership-requests: No ! bp-disable-profile-sync: Yes ! bp_restrict_group_creation: Yes ! bp-disable-group-avatar-uploads: Yes ! bp-disable-group-cover-image-uploads: Yes ! bp-disable-group-activity-deletions: Yes ! bp-disable-blogforum-comments: No _bp_enable_heartbeat_refresh: Yes
This was fixed and will be released as part of BuddyPress 14.1. https://buddypress.trac.wordpress.org/milestone/14.1.0
Can you share your BP Version, request payload?
We have a fix in progress: https://buddypress.trac.wordpress.org/ticket/9221
I see the problem, btw. But just trying to get more data about the BP version.
Can you share the error and which version of BuddyPress you are using?
Nice! I always wonder how many pizza restaurants are available in France. =P
Only if you want to. But it all depends where you have BuddyPress hosted. If you can get notifications when resetting a password, you can get send/recieve emails from BuddyPress too.