WordPress.org

Ready to get started?Download WordPress

Forums

SimpleModal Login
Login direction (9 posts)

  1. Isaakwells
    Member
    Posted 3 years ago #

    Hey just installed your new update and it is awesome already modded it.
    Is there a way i can have the log in direct to the current page?
    Like if a user logs in on a certain page it just returns back to that page?

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

  2. Isaakwells
    Member
    Posted 3 years ago #

    btw forgot to mention I am using the plugin "Theme My Login" which has a redirecttion engine but it does not seem to be working since the upgrade of SML.

  3. Eric Martin
    Member
    Plugin Author

    Posted 3 years ago #

    Hmm, interesting.

    On your wp_loginout() function, can you change it to the following and see what happens:

    <?php wp_loginout($_SERVER['SCRIPT_NAME']); ?>

    If you are not using that function for your login link, let me know.

  4. Isaakwells
    Member
    Posted 3 years ago #

    Where do I find the function again?

  5. Isaakwells
    Member
    Posted 3 years ago #

    Is there maybe a way i can hardcode it into the SML php file?

  6. Eric Martin
    Member
    Plugin Author

    Posted 3 years ago #

    I actually think I found the issue. I'm going to check it in and you should see an update soon.

    If it does not work, let me know.

  7. Eric Martin
    Member
    Plugin Author

    Posted 3 years ago #

    I take it back. It's a bit more involved that I first thought. I'll need to work on it more tomorrow and hopefully I'll get it sorted out.

  8. Isaakwells
    Member
    Posted 3 years ago #

    Thank you

  9. Eric Martin
    Member
    Plugin Author

    Posted 3 years ago #

    I checked in a fix (1.0.1) and added a new FAQ that should help.

    -Eric

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic