Here is a complete fix to use the same userdatabase for vbulletin 3 beta 5 and coppermine dev version.
Posted by Hawkin over at coppermine main forum.
Quote:
In vbulletin.inc.php:
$bbpassword = isset($HTTP_COOKIE_VARS['bbpassword']) ? $HTTP_COOKIE_VARS['bbpassword'] : '';
to:
// $bbpassword = isset($HTTP_COOKIE_VARS['bbpassword']) ? $HTTP_COOKIE_VARS['bbpassword'] : '';
(this for forcing coppermine to use sessionhash instead of the new md5 password)
Then change the sessionhas query abit:
" AND useragent='".addslashes($HTTP_USER_AGENT)."'";
to:
"";
(seems like the HTTP_USER_AGENT gets cut off here, so when I took that away, the query gave back a result.
I know this is far from a nice or good fix. But at least I got successfully recognized as the user logged allready logged in, in vbulletin 3.
|