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.

SignOutRedirect

edited February 2010 in Vanilla 1.0 Help
SignOutRedirect

Comments

  • Should work with at least Vanilla 1.1.5 as included library/People/People.Control.Leave.php was last changed in this update. May work with older versions too. But this is untested.
  • I've been waiting for this extension since the first day I used Vanilla, over two years ago. Thanks!
  • Hmmm.. I seem to be having a bit of trouble. First off, my settings.php file doesn't have:
    $Configuration[\'SIGNOUT_REDIRECT_URL\'] = \'target\'
    ...in the code anywhere. The closest thing I could find is:'
    if (!$Allowed) {
    Redirect(GetUrl($Configuration, 'index.php'));
    ...which I then changed to:
    if (!$Allowed) {
    Redirect(GetUrl($Configuration, 'http://domainname.com/'));
    ...but after activating the extension in the forum, then uploading the new settings.php file it brings me to the same ol' Vanilla sign in page with this URL:
    http://domainname.com/forum/people.php?PageAction=SignOutNow&ReturnUrl=http://domainname.com/forum/
  • Also, I'm on Vanilla 1.1.6 - I don't know if that's the problem? Any help would be appreciated. Thanks.
  • Remember to add a ";" after the code above and remove the back-slashes, or it won't work.
  • Hi people. Has anyone got this working? Where shall we insert the line in the settings.php??

    Thanks
  • Just add a the line at the end of your settings.php.
Sign In or Register to comment.