Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#8491 closed defect (bug) (wontfix)

Wrong label text on settings page regarding enable/disable profile syncing

Reported by: floriansimeth's profile floriansimeth Owned by:
Milestone: Priority: normal
Severity: normal Version: 8.0.0
Component: Core Keywords: has-patch
Cc:

Description

Hey there,
I hope you're all doing well.

I've found out that the explanation for the "profile syncing" checkbox on the settings page is wrong. The correct wording would be "Disable BuddyPress to WordPress profile syncing" instead of "Enable BuddyPress to WordPress profile syncing".

Greetings!
Flo

Attachments (1)

bp-core-admin-settings.php.patch (1.0 KB) - added by floriansimeth 3 years ago.
buddypress/bp-core/admin/bp-core-admin-settings.php.patch

Download all attachments as: .zip

Change History (6)

@floriansimeth
3 years ago

buddypress/bp-core/admin/bp-core-admin-settings.php.patch

#1 @imath
3 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Hi @floriansimeth

Thanks a lot for your feedback and patch.

Well actually, the way we are checking this option is a bit misleading I must confess. The checkbox is checked if ! bp_disable_profile_sync() in human words when the disable profile sync option is false. If the option is true, then the checkbox is unchecked. So it is the way it should be.

If you want profile syncing, you need to activate the checkbox. So we don't need to change this 😇.

#2 @floriansimeth
3 years ago

Hey @imath,
and thanks for your fast reply on this.

Unfortunately I don't get it. I've tested it multiple times now and it seems that syncing does not work when the checkbox is checked. But the description says that sync should work when the checkbox is checked, correct?

Can you please test yourself and confirm, too? I've tested it locally with no other plugins installed.

Thanks a lot
Florian

#3 @imath
3 years ago

I confirm :) I've just tested it again. Checkbox enabled: profile syncing ✅

NB: only the BP 'Name' field is synced with WordPress display name.

#4 @floriansimeth
3 years ago

Can you confirm with a custom field (not the default field) that syncs to first and/or last name?

#5 @imath
3 years ago

No I can't because this is not the purpose of the feature, only the WP display name is synced with the default 'Name' field used by BuddyPress.

If you want to sync first and last or any custom contact methods, you can use the new WordPress xProfile Fields we introduced in 8.0.0. These fields are not synced, their value are directly retrieved form/and updated into WordPress users/usermeta db tables.

BTW, We'll need to rethink this sync feature for the display name now we introduced WP xProfile fields.

Note: See TracTickets for help on using tickets.