dtribble
Member
Posted 8 months ago #
Hi Eric,
Thanks for a great plugin. It's been a big help on a project I'm working on.
The only thing I can't seem to make happen is to get the site redirect the user to the page they were on (the referrer) after they register and login. If I try to pass the "redirect_to" when opening the reg form, it makes the reg form get an "empty_both" error when it is submitted. Thus, I've had to take out the "redirect_to" from the reg form link. This makes it so the user gets sent to their profile page upon login which is not ideal.
If all else fails, I can use Peter's redirect and send them to the home page but this isn't great either. Let me know if you have any solutions for sending them back to the referrer after reg/login. Thanks for your time...
-Damon
http://wordpress.org/extend/plugins/simplemodal-login/
Hello, does the first FAQ not resolve your question?
http://wordpress.org/extend/plugins/simplemodal-login/faq/
If not, let me know.
Thanks,
Eric
dtribble
Member
Posted 8 months ago #
Thanks for your response, Eric. Unfortunately, I don't think the first FAQ applies to my situation. I can get the login/logout to redirect to the referrer when you login directly. My problem is when someone first registers and then logs in immediately. If I try to pass the "redirect_to" when opening the reg form, it makes the reg form get an "empty_both" error when it is submitted. You can see more detail in my original post. Thanks for any help you can offer on this...
-Damon
taylorsuk
Member
Posted 7 months ago #
This is similar to my error - login is fine using
<?php wp_loginout($_SERVER['REQUEST_URI']); ?>
however when registering it ruturns a blank page.
Simon
brandonplowe
Member
Posted 7 months ago #
sorry if I am a ttl noob, but where do I put the code;
<?php wp_loginout($_SERVER['REQUEST_URI']); ?>
???
I went to the general template.php file, but can't find the right place.
Any help would be greatly appreciated.
Brandon
brandonplowe
Member
Posted 7 months ago #
nevermind. I figured it out. Thanks for the forum support though.
B
Sorry, your post was caught in spam. I just cleared it out.
come on brandonplowe
thanks for the forum support though?
and the solution is?
there are other uber-noobs who would love your help out there
jamshed1981pk
Member
Posted 4 months ago #
how i can redirect to my custom page after registration simple login 1.0. 4
jamshed1981pk
Member
Posted 4 months ago #
how i can redirect to my custom page after registration simple login 1.0. 4
BMCUser
Member
Posted 3 months ago #
I'm having the same problem as dtribble. When I register and then login, I go to the dashboard with a message that I'm using generated password. I used the redirect option when calling wp_login and it works when I just login, but not when logging in right after registration.
I thought this happened because I was using wp generated password, but it worked correctly with the generated password when I logged in the second time.
It seems like the redirect option was lost after the registration.