• Resolved rodandar

    (@rodandar)


    Is it possible to set the user status when importing users? By default, all users are approved, I’d like to be able to control this when importing users, possible?

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Javier Carazo

    (@carazo)

    WordPress has not a status functionality.

    How are you managing it?

    Thread Starter rodandar

    (@rodandar)

    Ahh…so this is an Ultimate Member feature, so you can’t associate that with anything. Thanks.

    Plugin Author Javier Carazo

    (@carazo)

    I am not an UM user. How UM manages it? Do you know?

    Thread Starter rodandar

    (@rodandar)

    Not the specifics, but UM has a ‘status’ field that they use on users to specify whether an account is approved, pending review, rejected, etc. I suspect UM doesn’t support setting this field on import, trying to find out via the support forum for that plugin.

    Plugin Author Javier Carazo

    (@carazo)

    Yes, I know but I need how it is done in data/code.

    I have no this plugin so I cannot study it to prepare the compatibility.

    Thread Starter rodandar

    (@rodandar)

    I am not familiar with the UM code and I am not sure the status can be set on an import. Trying to find out and will let you know if I learn anything.

    Plugin Author Javier Carazo

    (@carazo)

    @rodandar,

    Can you ask them? It would be great if we could do this compatibility.

    I have no UM available, so I cannot read the source code.

    Thread Starter rodandar

    (@rodandar)

    Well, I tried using the option to force a password reset on first login with the WP User Manager plugin, and I get the same problem as with UM.

    Plugin Author Javier Carazo

    (@carazo)

    I have it working perfectly.

    Anyway, you can deactivate this option, or you can debug it. Maybe in your site there is something more creating the problem.

    Thread Starter rodandar

    (@rodandar)

    Well, I’m not sure how you define ‘working perfectly’ – I am able to get the behavior to work, but it takes the user into the wordpress admin UI to make the change where what I really want is to send the user to the WP User Manager reset password screen.

    Plugin Author Javier Carazo

    (@carazo)

    Yes, it takes me to WP User Manager reset password screen.

    As I told you, debug it into the code to check what’s happening in your site.

    Thread Starter rodandar

    (@rodandar)

    Here is the message I am getting via the debug:

    Notice: Trying to get property ‘post_content’ of non-object in /home/569799.cloudwaysapps.com/gmeznusedt/public_html/wp-content/plugins/import-users-from-csv-with-meta/addons/wp-user-manager.php on line 27

    Any idea what this means?

    Plugin Author Javier Carazo

    (@carazo)

    Really strange, in your case global $post is not an object :s

    Thread Starter rodandar

    (@rodandar)

    I’m not sure what that means exactly or how I would have any real control over that…

    Plugin Author Javier Carazo

    (@carazo)

    You can debug it. I cannot do it from here.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘set user status on import’ is closed to new replies.