[Typo3-dev] api for fe user creation

Ries van Twisk typo3 at rvt.dds.nl
Tue Jul 26 14:33:52 CEST 2005


Franz Holzinger wrote:

>>is there an api-function for fe user creation or some docs somewhere ;)
>>
>>tia alex
>>    
>>
>
>Hello,
>
>use the DBAL-Api: (example from zk_products/tt_products)
>
>$insertFields = array(
>	'pid' => $this->conf['PIDuserFolder'],
>	'tstamp' => time(),
>	'username' => $username,
>	'password' => $this->password,
>	'usergroup' => $this->conf['memberOfGroup'],
>	'uid' => $this->personInfo['feusers_uid'],
>	'name' => $this->personInfo['name'],
>	'address' => $this->personInfo['address'],
>	'telephone' => $this->personInfo['telephone'],
>	'fax' => $this->personInfo['fax'],
>	'email' => $this->personInfo['email'],
>	'zip' => $this->personInfo['zip'],
>	'city' => $this->personInfo['city'],
>	'country' => $this->personInfo['country'],
>	'crdate' => time()
>);
>$res = $GLOBALS['TYPO3_DB']->exec_INSERTquery('fe_users', $insertFields);
>
>
>  
>

In that sence there is a 'API' for everything :D
Ectually... we where also looking at it... Is there really nothing in typo3?
We where looking for a hook so we can do some action when a fe_user is 
created, deleted or altered...

Ries

-- 
R. van Twisk
http://www.metamorf.net

Our Typo3 enabled website: http://www.livetravelguides.com
Instand help for Typo3?    irc:/irc.freenode.net/typo3
Looking for documentation? http://typo3.org/documentation/






More information about the TYPO3-dev mailing list