Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 12

ericgillettelucmcu_hqsandino +8 guests

add current URL into the login/logout actions?

This discussion is related to the Vanilla Proxyconnect addon.
@tim in the older plugin, i have %s in my login/logout urls which represent the current URL on the forum a user is, when they clicked login/logout. that doesn't seem to be working for me this time around. before i go digging in, i thought i would ask a question here first...

Comments

  • TimTim
    Posts: 1,573
    @eleith We've been trying to move away from these unclear replacements and toward more descriptive replacements.

    In 1.4 (and even more so with upcoming 1.5) you can use curly braces to wrap nammed constants, like this:

    www.yourforum.com/whatever/somefile.php?redirect={Redirect}

    These will eventually make it to the documentation, but for now:
    {Path} = relative/vanilla/path/to/current/page
    {Redirect} = http://www.yourforum/absolute/vanilla/path/to/current/page
    {Scheme} = authentication scheme being used. e.g. 'password', 'proxy', 'handshake', etc...


    New authenticators will be able to supply their own replacements as well, so the list may grow/change depending on what authenticator you end up using.


    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • Posts: 83
    perfect. tried and tested just now. {Redirect} works for me.
  • TimTim
    Posts: 1,573
    Love it when things work :)

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

Sign In or Register to comment.