Opened 5 years ago
Last modified 5 years ago
#8074 new enhancement
User data exports should include information about xprofile field group
Reported by: | buubiye | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Contributions | Priority: | normal |
Severity: | normal | Version: | 4.0.0 |
Component: | Extended Profile | Keywords: | needs-patch |
Cc: |
Description
I have made a website using buddypress and i used the feature "extended profile fields". But i have a problem. When i export the user data, the built-in buddypress "export script" in (buddypress/bp-xprofile/bp-xprofile-functions.php line: 1340 and below ) only exports extended fields without their group-names, every profile fields has its own group name. The images will explain it all. So how can i export tee data from wp_bp_xprofile_groups
(each group's name and fields). And then export it to the export page. I will appreciate any help asap.
1) This image shows the tables that i want to be export. (buddypress only exports the fields of those tables not thier group-names).
<img src="https://imgur.com/SSrhpLA" alt="table that need to be extracted" />
2) As you can see the fields of my extended profile data has group-name like "caafimaadka", and they don't get exported
<img src="https://imgur.com/TCuMScl" alt="Group names that are forgotten by the export script" />
3) As you can see in the below image the script that exports data didn't export the fields group-names.
<img src="https://imgur.com/TGv63n9" alt="how the export page currently looks like" />
Buddypress version: 4.2.0
wordpress version: 5.1.1
PHP version: 7.3.2
As simple as it is. I couldn't solve it. So please help or advice.
Attachments (3)
Change History (6)
#1
@
5 years ago
- Component changed from Core to Extended Profile
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Awaiting Contributions
- Priority changed from highest to normal
- Severity changed from major to normal
- Summary changed from How can i export extended user data groups-names? to User data exports should include information about xprofile field group
- Type changed from defect (bug) to enhancement
- Version set to 4.0.0
#2
@
5 years ago
Hi @boonebgorges
Thanks for the reply. Can you please give me an idea on how i can achieve this, so that i can push it on your github repo.
#3
@
5 years ago
Sure. You can clone our official Git repo git://buddypress.git.wordpress.org or our Github mirror https://github.com/buddypress/BuddyPress. Then, generate a diff git diff > /path/to/patch.diff
and upload to this ticket.
Hi @buubiye - Thanks for opening the ticket.
You're correct that the user data exporter, introduced in BP 4.0, doesn't include field-group information. This may be an area for future improvement - xprofile data could be organized by field-group in the data export.
Note that the user data export is meant to provide the end user with information about what data the BP site has about them. It's not intended to be a full-fidelity export. So I don't consider the missing data to be a "bug", but instead an unimplemented feature.
I'm changing the title of the ticket to better describe the feature that's being requested.