• Resolved Ben

    (@creatureweb)


    Nice little plugin you have here.. finding it very useful! Well done.

    A quick question for you though. Looking at your code it seems the login and login redirect are echoed in multiple places and I’m a bit confused on how to go about changing the code so that I can add the <?php echo get_permalink(); ?> to my drop down list of login redirect options. I don’t always want to force a login redirect.. for instance only during a promotional or during an important announcement of some sort. The rest of the time I want my users to be redirected back to the exact spot they were when they decided to login.

    can you give me a little nudge in the right direction?

    https://www.ads-software.com/plugins/my-loginlogout/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nagarjunsonti

    (@nagarjunsonti)

    Hi,

    Thanks for your comment.
    Every thing retrieving from the database table “wp_mylogin” and result can be used as global variable.if you want to customise the login redirect option just override the global variables “global $myloginid;”,”global $mylogoutid;” by the specific condition.

    This code is avialable in login_logou.php page.

    if you face any problem please let me know.
    it’s appreciated.

    Thanks again.

    Plugin Author nagarjunsonti

    (@nagarjunsonti)

    Hi All,
    new version is released.
    In this new version i implemented custum url for login redirect page as well as user can able to select which location he/she want to display the login/logout menu.

    Have a nice day,
    “human knowledge belongs to the world”

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Quick Redirect Question’ is closed to new replies.