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.
Minor Annoyance
In vanilla when you sign out it says "Click here to sign in again" but then im thinking argh just give me a link to go to index. I mean why would i click the sign out button only to sign in straight away again! Return to discussions link would be a great start. The only reason i may log out is to see what my board would be like to a guest or something. I dont sign out for the thrills of signing in again. :P
Well thats over.
0
Comments
go into /themes/vanilla and copy the styles folder.
go to your /themes/mycustomvanilla and paste in the styles folder.
go to the root /themes folder and copy people_signout_form_validpostback.php
go to /themes/mycustomvanilla and paste in people_signout_form_validpostback.php
Open up /themes/mycustomvanilla/people_signout_form_validpostback.php and edit it to look like this:
<?php // Note: This file is included from the library/People/People.Control.Leave.php class. echo '<div class="FormComplete"> <h2>'.$this->Context->GetDefinition('SignOutSuccessful').'</h2> <ul> <li><a href="'.GetUrl($this->Context->Configuration, 'index.php').'">Go back to discussions</a></li> </ul> </div>'; ?>
Then sign into Vanilla and go to the settings tab.
Click the "Themes and Styles" form.
Under themes choose "mycustomvanilla".
Under styles choose "default".
Check "apply to all users".
Click Save.
Click the sign out button.
Watch the magic.
If you want this functionality, do what I said above. It's super easy to do and works a treat. I don't see what the big deal is.
It will take you less time to implement than it took me to write the instructions to do it.