|Posted: Mon, 2007-10-08 21:11|
I have been hacking away at trying to modify the register module to automatically add a new admin approved user to a predfined group. With additional data fields
I had it working, only to discover that gallery totaly deletes the pending user and creates a new user upon approval. In this process, the new user gets a new g_id assigned to it. I can not discover the value of this variable.
All I need to know the new g_id in my code.
Can anyone help me discover the value of this new user ID after creation?
My code currently resides in the "AdminSelfRegistration.inc" file.
Gallery version = 2.2.3 core 18.104.22.168