[buddypress-trac] [BuddyPress Trac] #7817: Privacy: Data export for XProfile

buddypress-trac noreply at wordpress.org
Fri May 11 15:24:27 UTC 2018


#7817: Privacy: Data export for XProfile
------------------------------+---------------------
 Reporter:  boonebgorges      |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.1
Component:  Extended Profile  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |
------------------------------+---------------------

Comment (by boonebgorges):

 [attachment:7817.diff] is a first pass at a patch.
 [attachment:Screenshot_2018-05-11_15-21-43.png] shows what it looks like
 in the data export. A few comments:

 1. I chose to call it 'Extended Profile Data' in the export, because users
 may not know (or want to know) that it has anything to do with BuddyPress.
 2. The method I'm using for fetching user data is not totally efficient.
 I'm sorta fetching it twice: a single query to see which data a user has
 created, and a second query for each field. The second query is so that I
 can use BP's built-in filters for formatting data (comma formatting for
 arrays, stripslashes, unserialize, etc etc etc). I think the duplicated
 queries are better than the other tricks we'd have to use (reapplying
 filters, hijacking an existing filter name, etc).

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


More information about the buddypress-trac mailing list