2004-10-24, 09:19 AM
2004-10-24, 12:21 PM
You will have to re for the new profile..
That code in the profileUpdated function should fetch the new profile and return it as an array.
Chris.
global $db,
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."users WHERE uid='$uid'");
$user = $db->fetch_array($query);
That code in the profileUpdated function should fetch the new profile and return it as an array.
Chris.
2004-10-24, 07:40 PM
global $db,
comma or semicolon?I can use the same code that you posted for the password and email change right?
What about account registration, how would I get ahold of that data?
What about custom profile fields?
2004-10-24, 11:44 PM
Bleh. semicolon sorry.
Quote:I can use the same code that you posted for the password and email change right?Yep
Quote:What about account registration, how would I get ahold of that data?Using the same thing, I believe the uid is passed to it?
Quote:What about custom profile fields?
$query = $db->query("SELECT * FROM ".TABLE_PREFIX."userfields WHERE ufid='$uid'");
$profilefields = $db->fetch_array($query);
2004-10-25, 02:57 AM
Thanks Chris.
But how would I get the password the user registered with (not MD5ed). Would I just do a global $password in the function?
But how would I get the password the user registered with (not MD5ed). Would I just do a global $password in the function?
2004-10-25, 03:05 AM
You can't get the password the user registered with. MD5 is irreversible and the password isn't stored elsewhere.
2004-10-25, 04:06 AM
I meant on registration
2004-10-28, 12:45 AM
How would I check the forum of the thread/post in the replyPosted or threadPosted is a forum where the post count is incremented or not?
2005-11-16, 08:20 PM
Modify inc/integration.php so that accountCreated takes the clear text password as a second parameter. Then look for accountCreated($uid) in member.php and replace it with accountCreated($uid, $password).
I'm sure something similar could be done for the plugins.
I'm sure something similar could be done for the plugins.
2005-11-17, 01:45 AM
This was the pre-plugin age.