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.

How to avoid the you are logged in screen

edited March 2007 in Vanilla 1.0 Help
Hello,

I have a wish and this little whish goes something like this:

when you are signed in and go from www.Limundo.com (Homepage) to http://www.limundo.com/limundocafe/discussions/ (Vanilla),
then a welcome screen appears with the text: You are logged in and two links are shown (categories and discussions).
Because I do not use the categories link, the screen has no function.
So is it possible to jump this welcome screen and go directly to the discussions page (http://www.limundo.com/limundocafe/discussions/).

Thanks

Comments

  • The wierd thing about that screen is that it doesnt always happen. I'm confused by it.
  • Yes you are right.

    When i log in it does not appear.
    Then I leave the Limundo Cafe (Vanilla forum) and come back (still logged in) and the screen appears.
    Spooky :-)
  • edited August 2006
    It is appear when you go to the login page from outside the forum. You just need a 'ReturnUrl=http://www.limundo.com/limundocafe/discussions/' in the url to the login page to avoid this page. I don't know why it is appear when you are still logged in that you go from your main page to the forum.
  • I found the solution:

    Just put this code:

    <?php

    /**
    * Place in a blank PHP page
    */

    // Change to the URL you want to redirect to in this case your vanilla forum
    $URL="http://www.yourpage.com/";

    header ("Location: $URL");

    ?>

    and this put in:
    people_signin_form_validpostback.php

    Oh, and of course, before you do that, you have to clean all what is by default in
    people_signin_form_validpostback.php

    The result:
    No more login screen
  • MarkMark Vanilla Staff
    That screen is only supposed to appear when there are applicants awaiting approval. kind of silly, I guess.

    I also wanted to have it there in case people were doing an integration of some kind and they wanted to offer that the user go to vanilla or their other site after signing in. Maybe I should get rid of it altogether for the next revision?
  • I vote for Yes.
    By the way: Vanilla is just great.
    I´m lovin´ it! (Sounds to JT and McDonalds like, but it is true)
  • MarkMark Vanilla Staff
    Haha, thanks Limundo :)
This discussion has been closed.