Does anyone know how vBulletin gets its logouthash. I have script that I integrated with it and the only thing left is allowing the user to logout through the site script and not have to go to the forums. However, it does not work, because I am not getting the right logouthash.
--------------- Added [DATE]1218227207[/DATE] at [TIME]1218227207[/TIME] ---------------
// set the logout hash
$user['logouthash'] = md5($user['userid'] . $user['salt'] . COOKIE_SALT);
This should work but it doesnt
|