kissinger
Member
Hallo!
I use the form juser plugin for registration of new users in frontend. That works fine.
If I save the new user he gets a unique user_id - the field "id" in Joomlas user-table.
I have another table "profiles", where the users can store additional informations.
Now I want that if a new user was createt, in the other table "profiles" was automatically created a new record.
This record is empty, only the field "user_id" gets the UserId of the new registred user.
I found the form plugin "upsert" which creates records in other tables.
But I need to save the new userId, whis is not part of the form-data.
How I can solve this problem with the upsert-plugin or is there a better way for doing that?
Thank you!
I use the form juser plugin for registration of new users in frontend. That works fine.
If I save the new user he gets a unique user_id - the field "id" in Joomlas user-table.
I have another table "profiles", where the users can store additional informations.
Now I want that if a new user was createt, in the other table "profiles" was automatically created a new record.
This record is empty, only the field "user_id" gets the UserId of the new registred user.
I found the form plugin "upsert" which creates records in other tables.
But I need to save the new userId, whis is not part of the form-data.
How I can solve this problem with the upsert-plugin or is there a better way for doing that?
Thank you!