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

New add-on: Multi Authenticator (Log-in from multiple computers)

edited May 2006 in Vanilla 1.0 Help
Hello all,

I think this is an add-on you've al been waiting for! It will allow you to stay logged in from several computers. It replaces the original Authenticator and will store the verification data in another table.

Multi Authenticator 1.0

As it is not an extension, you will have to install it manually. This is a copy from the readme.txt:

Multi Authenticator

Version 1.0, By Jazzman (Maurice Krijtenberg) - May 24, 2006
This authenticator module will allow your users to login from multiple computers

Installation

  • STEP 1
    Create the table by using phpMyAdmin or any other sql client
    CREATE TABLE `LUM_UserVerification` ( `VerificationID` int(10) NOT NULL auto_increment, `UserID` int(10) NOT NULL, `VerificationKey` varchar(50) NOT NULL, `DateLastActive` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`VerificationID`) )
  • STEP 2
    Copy the file "People.Class.MultiAuthenticator.php" to the Framework/People directory (the folder where the other Authenticator resides)
  • STEP 3
    Activate the new Authenticator by adding the following record to your "settings.php"
    $Configuration['AUTHENTICATION_MODULE'] = 'People/People.Class.MultiAuthenticator.php';

Configuration

There is one option you can set in the People.Class.MultiAuthenticator.php which allows you to set how many computers can be logged in at once per user.
// Default $Configuration['MULTI_LOGINS'] = 3;
NOTE: Change the value inside the MultiAuthenticator.php or MOVE it to your settings.php. If you copy it to your settings.php the authenticator will override the setting as it is loaded after the settings.php.

Let me know if you find any bugs :)

Comments

  • Options
    edited May 2006
    I shudder to think about installing this on my old-ass copy of 0.9.3... Looks cool though!
  • Options
    MarkMark Vanilla Staff
    Vanilla 1 should support this already... for the record...
  • Options
    doh!
  • Options
    Oh god, that's funny.
  • Options
    see, this is why i only make extensions that nobody wants. because i know they'll never be duplicated in the core.
  • Options
    Doh!! :P Mark, how does one enable it? Or is it nog released yet, in the latest revision I mean :)
  • Options
    Jazzman, you have certainly done other add-ons people need, like Attachments :-D When you get the chance, could you take a look at a GD-image thumbnail solution for image attachments?
This discussion has been closed.