Hi,
I would like to know if there is a way to add many users at once in Projectpier. Sort of like a batch add users feature. If not, can anyone explain how the token, sald and twister fields are filled so that I can add users to the database from a script with Insert statements.
sirsicnarf
You _could_ import CSV/Tab-delimited data into your database. You'd need to import into the `users` table.
I don't know how PP stores its passwords, salt, and twister. I copied my user info into a test account and tried to log in with that test account and my password. No dice.
So, you could import all the people you need, then go through and manually update their passwords.
I used the following for my basecamp importer script. The twister field did not seem to matter for authentication. I pulled the following from the PP source at one point.
$salt = substr(sha1(uniqid(rand(), true)), rand(0, 25), 13);
$pass = 'yourpasshere';
$token = sha1($salt . $pass);
Insert the rest of the appropriate information into the user table and you will be good to go.