Support » Plugin: Export User Data » All BP xProfile Fields are blank

  • Resolved devpaq

    (@devpaq)


    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/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author qstudio

    (@qlstudio)

    @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

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

    Plugin Author qstudio

    (@qlstudio)

    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

    Plugin Author qstudio

    (@qlstudio)

    I’m closing this request – as no reply from the author.

    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.

    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.

    Plugin Author qstudio

    (@qlstudio)

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

    Q

    Plugin Author qstudio

    (@qlstudio)

    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘All BP xProfile Fields are blank’ is closed to new replies.