2010-01-11, 07:48 PM
Hi
Iv been importing my own users into the mybb database today and it all works..
Iv added, "username1" field to the database and i want to use this field to check when someone logs in, instead of "username". As im using "username" to show the accounts "nickname" across the site.
in functions_user.php iv changed the function validate_password_from_username() to nickname= and not username=
and it wont work.. but when i change it back to username= the login works if i login with whatever is in the username field. So im sure its this function thats for loggin in... but as said, when i change it to nickname= (where my "username" is..) ... it wont work..
Any help?
So basically am i missing something out when im changing the login username field to something else?
Iv been importing my own users into the mybb database today and it all works..
Iv added, "username1" field to the database and i want to use this field to check when someone logs in, instead of "username". As im using "username" to show the accounts "nickname" across the site.
in functions_user.php iv changed the function validate_password_from_username() to nickname= and not username=
and it wont work.. but when i change it back to username= the login works if i login with whatever is in the username field. So im sure its this function thats for loggin in... but as said, when i change it to nickname= (where my "username" is..) ... it wont work..
Any help?
So basically am i missing something out when im changing the login username field to something else?