• I have over 600 users with over 20 fields in usermeta, but when I use this exporter, I get 473 users. I am not filtering users based on role nor field information. I have tried all three output formats (CSV, XLS, and HTML). I have also tried exporting minimal information (ID and login only).

    Using WP_User_Query, I am able to successfully display all 600+ users in an HTML table (including information from usermeta table). See my code: https://pastebin.com/26csuaAj

    I haven’t been able to figure out why certain users are omitted. Unfortunately, I cannot add you (rafael.chaves.freitas, leogermani) as an editor of the site due to the sensitive nature of our data.

    My HTML table code is simple and works, but I’d like to have the features of this plugin, namely the GUI to select which fields are exported, along with filtering the list by usertype. It is also nice to choose the export format types.

    Any one else having this issue? What would it take to modify the plugin to use WP_User_Query? I have looked at the source, but I couldn’t find one or two functions that I could rewrite without getting in real deep.

    Thanks for reading!

    https://www.ads-software.com/extend/plugins/wp-users-exporter/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author leogermani

    (@leogermani)

    Hi James,

    Do you have access to your server log files?

    This could be a memory limit problem. And we are about to release a new version that works around it for sites with a large number of users.

    But we have only seen such problem with sites with many thousands of users… thats why I think that it could be something else.

    It would be great if you could check your server log files at the time you run the export.

    Please test it and write back

    Leo,,

    Plugin Author leogermani

    (@leogermani)

    James,

    Would you like to test our new version before we release it?

    If so, please send me an email at leogermani ar hacklab.com.br

    cheers

    Leo,,

    Thread Starter James Carroll

    (@jcarroll)

    Leo,

    Don’t wait for me to release your product.

    As for server logs, what am I looking for? Any error or warning messages? I only have 600 users, but each user has about two dozen custom fields, so we might be hitting that memory limit.

    (FYI, I resolved my issue by writing my own plugin, based on the code I posted earlier. I’m happy to share my code; if anyone wants it, just let me know, and I’ll share it.)

    Thanks,
    James

    Thread Starter James Carroll

    (@jcarroll)

    I posted my code at the URL below, with the following description:

    Adds a button to the admin panel to enable export specific user fields from the wp_usermeta and wp_user database tables to a CSV file. The export is restricted to administrator users (based on the ‘export’ capability) The specific fields are defined in the PHP code of the plugin. User fields are specific to MassageNet.org custom user fields and will not work without modification. In order to use this plugin, you will need to edit the code. If you don’t know how and don’t want to learn how, then find a programmer who does. If you want to use this plugin, you will need to mofify the code. My code is based on Mike Schinkel‘s post on WordPress Stackexchange: https://goo.gl/wqNyZ with help from sksmatt and scribu. Thank you!

    https://pastebin.com/NkVv9bSn

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Users Exporter] Partial Export – Some users missing’ is closed to new replies.