Zum Inhalt springen

Use feuser_admin data in other forms

Erstellt am 25. Juni 2007 · 2 Antworten · letzte Antwort am 25. Juni 2007

Tags: Frage, English

jeroenvisser ·

Dear colleagues,
Sorry for my English writing but my German is worse!

I have installed the the extension feuser_admin to let visitors register on the site. After logged in I need some information (uid, name etc) from the user session for storing it in related tables.

I have surged for the values in:
$GLOBALS["TSFE"]->fe_user->fetchSessionData()
$GLOBALS["TSFE"]->fe_user->getUserTSconf()
$GLOBALS["TSFE"]->fe_user->getLoginFormData()

No results here. Does anyone know where I can retrieve the data for the session? Any help appreciated.

Regards,
Jeroen

just2b ·

Hello Jeroen and welcome to the forum,

You can get all fields of the fe_user with this syntax

$GLOBALS['TSFE']->fe_user->user['uid']

instead of 'uid' you can take every field of the table fe_users.

Have fun
georg
PS: It is alwasys better to write in English if your German is not understandable - I hope my English is 😉