WordPress.org

Ready to get started?Download WordPress

Forums

Export User Data
[resolved] All BP xProfile Fields are blank (9 posts)

  1. devpaq
    Member
    Posted 8 months ago #

    Your plugin looks like it is exactly what I need, but when I do an export of all users and include the Profile fields, they are all showing blank in the export.
    The export does show the headers for those fields and I know that those users do have information in those fields.
    Thanks.

    http://wordpress.org/plugins/export-user-data/

  2. qstudio
    Member
    Plugin Author

    Posted 8 months ago #

    @devpaq - thanks for the heads-up - I'll need to do some testing to check into this.

    Did you do an Excel export of CSV?

    Q

  3. devpaq
    Member
    Posted 8 months ago #

    I tried both types of exports - excel and CSV, neither showed the information.
    Thanks for looking into it.

  4. qstudio
    Member
    Plugin Author

    Posted 7 months ago #

    Hi,

    I just ran an export including xProfile data and it worked - those members who have not added any data have nothing to export - so those fields are empty - but the rest seems intact and correct.

    Please try to disable other plugins and move to the default WP Theme - enable error logging and try again - perhaps there is a conflict with something else on your Install.

    Good luck Q

  5. qstudio
    Member
    Plugin Author

    Posted 6 months ago #

    I'm closing this request - as no reply from the author.

  6. basvanschaik
    Member
    Posted 3 months ago #

    Same issue here, solved it by adding a single line of code to initialise Buddypress (for xprofile).

    Around line 159 of export-user-data.php (after check_admin_referer(...)), add:
    do_action('bp_init');

    When omitted, the $bp global remains uninitialised, and all Buddypress queries silently fail (the table names are not initialised, which makes the queries invalid). Consequently, BP_XProfile_ProfileData::get_all_for_user($user->ID) returns an empty array, conveniently suppressing any SQL errors that arose.

    Note that I'm using an older (and heavily modified) version of Buddypress - it might work out-of-the-box on more recent versions.

  7. basvanschaik
    Member
    Posted 3 months ago #

    On an unrelated note: the script ran out of memory (limit: 128M) during the export, resulting in a blank page (and an error message in Apache's error log). Adding

    ini_set('memory_limit','256M');

    solved it for me.

  8. qstudio
    Member
    Plugin Author

    Posted 3 months ago #

    Can you please confirm which version of bp you're using - I'm guessing it's pre 2.0?

    Q

  9. qstudio
    Member
    Plugin Author

    Posted 3 months ago #

    Problem is two fold - I'm half way done with an update to include some new feature requests.. and I've hardly got time to finish it.. so, I might need to hide this updates and just release a small patch which seems to work with bp 2.0 and prior - but it would be nice to test this first via git, if anyone is willing to participate?

    Q

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.