Show addons for Both Vanilla Versions or filter to Vanilla 1Vanilla 2
Order by RecentPopular

Addons Plugins SignOutRedirect 0.1

Warning! We have not performed any code-review or testing of this addon. Use it at your own risk.
Author
f(n)=f(n-1)+f(n-2)
Version
0.1 
Released
May 2009
Downloads
867

Download Now

Requirements

Requires
Vanilla 1

Other Requirements (if any):

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%3A%2F%2Fdomainname.com%2Fforum%2F

  • 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.

Want to take part in this discussion? Click one of these: Sign In Register For Membership

Make Your Own Addons!

What is this stuff?

Addons are custom features that you can add to your Vanilla forum. Addons are created by our community of developers and people like you!

Vanilla Approved?

We review addons to make sure they are safe and don't cause bugs. An addon is considered to be "Vanilla Approved" once our review process is complete.

Don't have Vanilla yet?

Download Vanilla Now