Discussion:
[TYPO3-english] importing be-users from a textfile?
horace grant
2014-08-05 17:50:16 UTC
Permalink
hi,

i would like to import be-users from a textfile (csv for example) into the
database. but how would i handle the password hashes? is it easily possible
to create the hashes TYPO3 6.2 needs?

cheers,
horace
Philipp Gampe
2014-08-05 22:59:11 UTC
Permalink
Hi horace,
Post by horace grant
i would like to import be-users from a textfile (csv for example) into the
database. but how would i handle the password hashes? is it easily
possible to create the hashes TYPO3 6.2 needs
Depends on the saltedpasswords settings. With the default settings, it
should be enough to just md5 them and the the login process update them on
first login.
You can also use the API to hash them the same way like the login process
does. Please consult the API of the saltedpasswords extension.

The exact way depends on how you want to import the data.

Best regards
--
Philipp Gampe ? PGP-Key 0AD96065 ? TYPO3 UG Bonn/K?ln
Documentation ? Active contributor TYPO3 CMS
TYPO3 .... inspiring people to share!
François Suter
2014-08-06 06:54:01 UTC
Permalink
Hi horace,
Post by horace grant
i would like to import be-users from a textfile (csv for example) into the
database. but how would i handle the password hashes? is it easily possible
to create the hashes TYPO36.2 needs?
This will be handled transparently for you if you use
TCEmain/DataHandler [1] to stored your data.

If you do this regularly, you may want to take a look at extension
external_import. The tutorial [2] actually shows an example of importing
FE users, but it should be similar for BE users.

HTH
--
Francois Suter

Work: Cobweb Development Sarl - http://www.cobweb.ch

TYPO3: Help the project! - http://typo3.org/contribute/

Appreciate my work? Support me -
http://www.monpetitcoin.com/en/francois/support-me/

[1]
http://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Typo3CoreEngine/Index.html
[2]
http://docs.typo3.org/typo3cms/extensions/externalimport_tut/1.6.1/EmployeesImport/Employees/Index.html
horace grant
2014-08-06 10:18:06 UTC
Permalink
Post by Philipp Gampe
Hi horace,
i would like to import be-users from a textfile (csv for example) into the
Post by horace grant
database. but how would i handle the password hashes? is it easily possible
to create the hashes TYPO36.2 needs?
This will be handled transparently for you if you use TCEmain/DataHandler
[1] to stored your data.
If you do this regularly, you may want to take a look at extension
external_import. The tutorial [2] actually shows an example of importing FE
users, but it should be similar for BE users.
thank you for your answers, phillip and fran?ois! :)

i will look into the links.

cheers,
horace
Post by Philipp Gampe
HTH
--
Francois Suter
Work: Cobweb Development Sarl - http://www.cobweb.ch
TYPO3: Help the project! - http://typo3.org/contribute/
Appreciate my work? Support me -
http://www.monpetitcoin.com/en/francois/support-me/
[1] http://docs.typo3.org/typo3cms/CoreApiReference/
ApiOverview/Typo3CoreEngine/Index.html
[2] http://docs.typo3.org/typo3cms/extensions/externalimport_tut/1.6.1/
EmployeesImport/Employees/Index.html
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Loading...