Hi guys i need to know what encoding does vbulletin use to store the passwords in DB ? what i try to get done is make an addon that will, amongst other thigns, verify the user's login information from the vbulletin DB i have tried md5 .. doesn't work any idea please ?
Thanks, it worked one more question i have this $checkquery = mysql_query("select `userid` from `user` where `userid`='$userid'"); if (!mysql_result($checkquery, 0)) { ........ } to check if the user exists .. it does the checking correct .. it works .. however, every time it displays a warning telling that it can't jump on row 0 in mysql_result .. what would be another (better) way to check if the user exists ? Thanks
If you're making an addon, I suggest using vB's functions and classes. // Make sure global.php is included. if (!$userinfo = fetch_userinfo($userid)) { // User doesn't exist } PHP: If you have to write custom queries, don't forget to add the TABLE_PREFIX infront of the table names. (Some users might not be using the default values)