Viewing 15 replies - 1 through 15 (of 28 total)
  • Plugin Author bnovotny

    (@bnovotny)

    Okay, I have no approval queue so it is conflicting with another plugin apparently. What other registration plugins are you using? New User Approval or something similar? That is the only thing I can think of off the top of my head without more information, but my plugin has no approval process involved in it in any way, however that is being added to the next major update. Let me know what other plugins you have activated that affect the user registration process so I can look further into this, it could be that both are using the same hooks and one is being called before it should be.

    Thread Starter security_man

    (@security_man)

    yup, using https://wordpress.org/plugins/new-user-approve/ – i need that functionality too so any ideas where the conflict is?

    Plugin Author bnovotny

    (@bnovotny)

    I am looking into that now. I will update you shortly.

    Plugin Author bnovotny

    (@bnovotny)

    Ok, I am looking into it and it is messed up. He is messing with the whole registration process and not using actions and filters correctly, and he has not updated to the new registration process. I found wp-approve user which seems to work okay, however I will approval to my plugin sooner than I had planned. The next update has not been fully tested however I think I can add the approval portion without too much problems.

    Thread Starter security_man

    (@security_man)

    this seemed to work, any reason not to change line 219 of user-registration-aide.php to set the priority to 9?

    Plugin Author bnovotny

    (@bnovotny)

    no that is just the priority for when it fires

    Plugin Author bnovotny

    (@bnovotny)

    i tried that and it didn’t do a thing on my test site but if it works for yours go for it, but that is why i hate this testing because sometimes changes don’t show up unless i reboot no matter what I do

    Plugin Author bnovotny

    (@bnovotny)

    are you using theme my login as well otherwise it is line 200

    Thread Starter security_man

    (@security_man)

    i’m not using a specific plugin to theme the login, but the approval one mentioned before does theme the login page. That might be six of one/half dozen of the other, but i figured i would point it out πŸ™‚

    BTW EXCELLENT support. I am 5 staring this plugin for that reason alone. Thanks

    Plugin Author bnovotny

    (@bnovotny)

    Thanks. I commented out his whole registration errors filter and it still did the same thing, only I got the form with 2 of everything, so I have no idea right now

    Thread Starter security_man

    (@security_man)

    well, crap – i just realized that i had turned off his plugin completely which was why it was working right. Turned it back on and it didnt fix it :/

    Plugin Author bnovotny

    (@bnovotny)

    somewhere somehow he has hooked into the registration process and messed it up which he didn’t need to do. I did a new user approval on my upcoming update and didn’t break the registration process. I am trying to find where he hooked into it right now, and like I said, I commented out his whole registration errors filter and still get the errors and it still registers the user so it is someplace else that he has hooked into it and is breaking my plugin. For his hooks he is missing the priorities and passed fields count as well on some of them

    Plugin Author bnovotny

    (@bnovotny)

    Okay I think I found it, it has been awhile since I fiddled around with the registration process, however I found that the register post action is fired before the errors. So that is what is happening. Maybe I can find a way to circumvent that.

    Plugin Author bnovotny

    (@bnovotny)

    I found a workaround if you are still interested and are familiar with coding
    a bit until I can release it as a new version

    Plugin Author bnovotny

    (@bnovotny)

    // new for new_user_approve
    add_action( ‘register_post’, array( &$regForm, ‘handle_new_user_approve_errors’ ), 0, 3 );
    if( class_exists( ‘pw_new_user_approve’ ) ){
    $pw_nua = pw_new_user_approve::instance();
    remove_action( ‘register_post’, array( &$pw_nua, ‘create_new_user’ ), 10, 3 );

    }

    add this on or around line 210 and or line 232 of the user-registratio-aide.php file if using theme my login plugin. Add it after the last add action and before the unset

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘registration errors dont prevent registration’ is closed to new replies.