1. update the attached phpbb3.aemod.txt file searching for the word REPLACE and replace accordingly (I'm sure there is some magic that is supposed to set these properly, but I didnt take the time to find it.
2. As near as I can tell (I spent 5 minutes looking), there is no call to module_add made by dolphin, so I added it to join.php at line 396
3. Then the problem becomes 'why do my md5 passwords keep getting changed when they show up in phpbb? Well that was easy to figure out, in phpbb pull up the file auth_db.php in the /includes/auth directory, they 'convert' old style passwords that are fine and happy to new passwords anytime they find them.... soooo...Code:if( !$iMemID ) return array( false, 'Fail' ); modules_add($iMemID, '', 0); if( $this -> bCouple ) {
Code:/* line 124. Comment out the 'user_pass_convert' option, since it will mess us up // If the password convert flag is set we need to convert it if ($row['user_pass_convert']) { ...... lots of code here ...... } */
At this point you have it set up so that new users to your dolphin install will automatically be added to your phpbb3... and the passwords will work.Code:// line 178 -- comment the 'check for old password' bit... // Check password ... if (!$row['user_pass_convert'] && phpbb_check_hash($password, $row['user_password'])) { /* // Check for old password hash... if (strlen($row['user_password']) == 32) { $hash = phpbb_hash($password); // Update the password in the users table to the new format $sql = 'UPDATE ' . USERS_TABLE . " SET user_password = '" . $db->sql_escape($hash) . "', user_pass_convert = 0 WHERE user_id = {$row['user_id']}"; $db->sql_query($sql); $row['user_password'] = $hash; } */
Now you still have to figure out how to get single sign-on to work, so they dont have to reenter credentials...


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks