|
Using Your_Account to create and update other user account
Hi, everyone,
I am using phpnuke 6.5 at my site
I had modify the Your_Account/index.php function activate() and use the information of nuke_user_temp to create other user account for me when user activate their account (email account and ftp account). This seems to work fine.
The second part is I want the same automation of user account update when user update their details via Your info after they login. The fields I needed to sync is password and email.
I think this should be done in Your_Account/index.php function saveuser(), however, this doesn't seems as simple as I created the user account. The facts is that I can't sync the changes made to other user account.
My question is, is Your_Account/index.php function saveuser() is the right place to sync the updated info from phpnuke with other user account? What I need is to use the updated field of email and password. If not, please advise where should I get the data to sync with other accounts
Thanks in advance for the time
Regards,
|