Joomla Registration - Get id directly

FenFire 14 Aug, 2014
Hello there,
I've successfully altered Joomla Registration with Chronoform and added additional fields like address, telephone etc.
As this is needed for a special component, I use DB Save after Joomla registration and save the data to another table.
The component now doesn't recognize the user because the user_id (that should of course be the same as the id in the users table) is missing.
So before using DB Save, I have to get the id of the just registered user. Is this only possible by putting a DB Read inbeetween. And if this is the correct way, how do I get the specific id out of the users table and give it the name user_id, so that it could then be saved correcty.

Thanks in advance
Christian Schindler
FenFire 14 Aug, 2014
That doesn't help, sorry!🙂
GreyHead 15 Aug, 2014
Answer
Hi Christian,

Please see the Newly Registered section in this FAQ - it's a bit different in Cfv5 but adding a DeBugger action temporarily should let you see what you need.

Bob
FenFire 15 Aug, 2014
Thanks a lot! That worked fine!
This topic is locked and no more replies can be posted.