[buddypress-trac] [BuddyPress Trac] #7162: xprofile field support for WordPress Profile Fields

buddypress-trac noreply at wordpress.org
Sat Jul 30 16:56:42 UTC 2016


#7162: xprofile field support for WordPress Profile Fields
------------------------------+-----------------------------
 Reporter:  DJPaul            |       Owner:
     Type:  feature request   |      Status:  new
 Priority:  strategic         |   Milestone:  Future Release
Component:  Extended Profile  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |
------------------------------+-----------------------------

Comment (by DJPaul):

 As always, easy ideas are never easy.

 I experimented with an approach where we would not mirror data from
 usermeta (i.e. nothing in our xprofile_data table).
 A problem I found is with `bp_has_profile()`. It's
 `hide_empty_fields_default` parameter will not return our "biography"
 field (for example) because we don't have a value stored for it, which
 means it doesn't get rendered into the template loop.

 so... because adjusting the SQL would involve at least one JOIN (or a
 seperate query), this seems a bit sub-optimal, so it's probably going to
 have to be syncing WP usermeta. :o

 so... we can probably overhaul `xprofile_sync_wp_profile` and
 `xprofile_sync_bp_profile` at the same time, which currently "syncs"
 nickname/first/last name back and forth. This hasn't been touched since
 v1.0.0 and it's always been a bit crappy, so it feels like time.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7162#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list