Jeff Sherk
Forum Replies Created
-
Just uploaded v1.9.2 which fixes the “change password” text issue in the email.
I confirmed the “change email” text is not working… I will work on that and figure it out and create an update soon.
As far as redirection and auto-login go, they are working fine for me.
There was a question about learndash a few days ago here:
https://wordpress.org/support/topic/autologin-isnt-working-after-learndash-purchase/The redirect only works when a user registers (signs up) for a new account on the /wp-login.php?action=register
The user has to use the /wp-login.php?action=register page to create/register for their account and then it will log them in. If they are creating the account thru learn dash, then returning them to /wp-login.php?action=register will not log them in.
If it used to work with Learndash, then that was by accident and not intentional.
You can try downloading and replacing plugin with an older one (like v1.8.1) and see if it starts working again for you. Old versions are available here:
https://plugins.svn.wordpress.org/auto-login-new-user-after-registration/tags/I will investigate later today or this evening when I have time and I will post back whether I can reproduce and whether its a bug or not.
Thanks
The redirect only works when a user registers (signs up) for a new accounton the /wp-login.php?action=register
The user has to use the /wp-login.php?action=register page to create/register for their account and then it will log them in. If they are creating the account thru learn dash, then returning them to /wp-login.php?action=register will not log them in.
Unfortuantely, the plugin is only designed to work from the default WordPress Registration form at /wp-login.php?action=register
Unfortunately I have never tested my plugin with Gravity Forms and can not confirm whether it should work correctly or not.
The best way to test is to de-activate all plugins except my plugin and see if emails work. Then activate the gravity forms plugin and see if emails work. This will confirm if there is an issue with the two for sure.
Just updated to version 1.9.1
I added a hidden field on my registration page, and the plugin will not do anything if that field is not present.
This should fix the issue.
Please test and let me know.
Thanks
What is the actual error you are seeing or that is being logged in the error log?
Most likely my plugin is getting triggered by the user_registration action hook.
I will do some testing to see if I can distinguish when the new user comes from my plugin versus other code/plugin.
Forum: Plugins
In reply to: [Auto Login New User After Registration] Email verificationHi Cameron
No, sorry, that is not possible with my plugin.
Thanks
Forum: Plugins
In reply to: [Auto Login New User After Registration] error after registrationI found this problem and fix will be released in v1.9.0
See this discussion if you want more details:
https://wordpress.org/support/topic/error-on-woocommerce-checkout-with-registration/Okay I found the problem…
The “undefined index” in the log was completely unrelated, but I think I fixed that error as well.
As far as the “Unexpected token < in JSON” error, this was caused by my plugin trying to redirect the new user that just registered on the WooCommerce checkout page. Of course if they register on the WooCoomerce checkout page, you do not actually want them to redirect, so I added a check that will only redirect a new user if they were on the default registration page.
This fix will be released in v1.9.0 shortly …
However I am currently having an issue with SVN uploads because I changed my wordpress.org password but svn repository will not recognize it, so am discussing issue with wordpress team to try and figure out why I can no longer upload. As soon as I regain access, I will upload fix.
My plugin was never designed or tested with WooCommerce (hence the note on the settings page), but apparently there is some kind of issue/conflict.
Thanks for all the helpful debug info… this will definitely help me pinpoint the issue.
I will put this on my to do list, however I can not promise how soon I will get around to it as I am very busy right now.
Thanks
I also want to note what it says on the Settings page about adding Firstname and Lastname and Password fields to registration form…
NOTE: These fields only work if you are using the default WordPress Registration form at /wp-login.php?action=register
If you are using a custom Registration form different from the default WordPress Registration form then it is recommended you leave these options unchecked/disabled.So if a user is being allowed to Register (Create new account) on the WooCommerce checkout page, there is potential that this could somehow intefere, and it is better not to include the fields.
The best thing to do is find the error log for the site, and take a look to see what caused the error.
This will tell us what plugin or code is causing the problem.
My plugin only does things on the registration page when you CREATE a new account. If this is about somebody signing in to an existing account, it would not have anything to do with my plugin.
Forum: Plugins
In reply to: [Auto Login New User After Registration] remove set password in welcome emailHere are some plugins you can look at (I have not tested them at all) that might do what you want:
https://wordpress.org/plugins/bnfw/
https://wordpress.org/plugins/notification/
https://wordpress.org/plugins/disable-new-user-notifications/