
02-24-2004, 04:01 PM
|
 |
|
|
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by shazzy
We have registerations on VB disabled, and in v2.x.x we used the following SQL query to add users..
PHP Code:
$sql_users="INSERT INTO user (userid,usergroupid,username,password,email,joindate,signature) VALUES ($player_id,2,'".addslashes($row["user_name"])."','".$set_pass."','".$row["email"]."',".time().",'')";
This worked great, however in VB3 this dosent seem to work ... The user gets added but the "Welcome to our newest member" still shows the last user, when I go directly to the USERID for this user it says "Invalid User specified" ...
Is there something else I need to pass to the user table, which is new in V3 that I am missing?
Thanks in advance.
|
You can just add them via the ACP.......
the password is now stored differntly with a salt, i assume this is at least one problem
|