Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 33
0 members and 33 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
» .:.
PMP Exam Prep

Go Back   Nukemods Forum > PHP-Nuke 6.5 to 6.9 > Nuke 6.5 to 6.9 - Modules

Reply
 
LinkBack Thread Tools Display Modes
Using Your_Account to create and update other user account
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Jun 2003
Using Your_Account to create and update other user account - 07-11-2003, 05:20 AM

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,
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
07-13-2003, 08:34 PM

Doesn't the function saveuser() only save the new user account info. Maybe you need to look toward the edituser() function?

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: Jun 2003
07-13-2003, 11:29 PM

Thanks for the tips,

I'd looked at the function edituser() and seems to me that this is only a form to collect the data needs to be updated and at the end of the function
Quote:
."<input type=\"hidden\" name=\"user_id\" value=\"$userinfo[user_id]\">"
."<input type=\"hidden\" name=\"op\" value=\"saveuser\">"
."<input type=\"submit\" value=\""._SAVECHANGES."\">"
."</form></td></tr></table>";
CloseTable();
This pass the collected data to the function saveuser() that do the actual update of the user info changed to the nuke_user table.

I think the function saveuser() serve for update user info, is it correct? It is because initial creation of user account only needs user name; email address; password and that was put to nuke_user_temp and when user activate the acount, writes it to the nuke_user table.

I am complete newbie to php scripting, so if my thinking is wrong, how am I going to use the info collect from this form? :?:

Do I need to have a function eg update_accounts to do the job? I am trying a easy way out :P just to use the data and put it to different database table while the script is updating the nuke_user table's fields since the data is global within that function that I want to take advantage of this to update other database table's field.

Thanks in advance for the time

Regards,
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Groups Admin - Points System update Lokrin Open topics 1 03-31-2005 02:48 AM
Cannot create user and login incorrectly ricki Nuke 6.5 to 6.9 - General 7 12-17-2004 12:54 AM
Create Account text changed and stuck paycheck Purged Topics 2 06-04-2003 07:25 PM
HELP !!! cannot create account by using Admin account anht1706 Purged Topics 1 01-18-2003 12:33 AM
Version 6.0 Nuke Create account Not functioning Retribution Purged Topics 6 01-11-2003 03:25 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31