• 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/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Eric

    (@emartin24)

    Hello, does the first FAQ not resolve your question?

    http://wordpress.org/extend/plugins/simplemodal-login/faq/

    If not, let me know.

    Thanks,
    Eric

    Thread Starter dtribble

    (@dtribble)

    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

    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

    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

    nevermind. I figured it out. Thanks for the forum support though.

    B

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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

    how i can redirect to my custom page after registration simple login 1.0. 4

    how i can redirect to my custom page after registration simple login 1.0. 4

    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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: SimpleModal Login] Redirect to referrer’ is closed to new replies.