Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

login on different page

edited September 2008 in Vanilla 1.0 Help
So im tired of searching thru search results and categories for this, so ill just ask it here and hope i get a response. I want to put a login for vanilla on my main page, so people can login without having to click the login link. also vanilla wont be the main page, it will be a sub page cuz its goin into a subfolder on my server. so my question is, what is the php code i hav to use to make that work?


  • with this extension you can have the login in your maing vanilla page (in fact, in all and any vanilla page)

    I haven't tested it from outside vanilla, but maybe you can try to put the code of the extension in your external page
  • NickENickE New
    edited September 2008
    <form action="vanilladir/people.php" method="POST" id="PanelLogin"> <input type="hidden" name="ReturnUrl" value="WHATEVER YOU WANT; PROBABLY vanilladir/"> <input type="hidden" name="PostBackAction" value="SignIn"> <input name="Username" maxlength="20"><br> <input type="password" name="Password"><br> <input type="checkbox" name="RememberMe" value="1"> <input type="submit" name="btnSignIn" value="sign in"> </form>^ that's the form you need. fill in vanilladir/ and ReturnUrl value as you need. might want to add labels too.
  • thx, ill try it out
This discussion has been closed.