When clicking the "Sign Out" link on the top-right corner, Vanilla sends the user to an almost blank page with a "You have been signed out successfully" message. What would I need to change so the user will be kept on the same page or at the very least sent to the forum index upon signing out?
You could also make a theme with just one file overridden to suit your needs: people_signout_form_validpostback.php
If you want to go the extension route, here's the relevant Delegates: Leave::PreValidPostBackRender, Leave::PostValidPostBackRender (location in library/People/People.Control.Leave.php)
You can create a new theme or just alter people_signout_form_validpostback.php to:
<?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, $this->Context->SelfUrl).'">'.$this->Context->GetDefinition('SignInAgain').'</a></li> </ul> </div>'; // Redirect back to index after signing out header('Location: '.GetUrl($this->Context->Configuration, 'index.php')); ?>