+ Reply to Thread (include dating software, release, and patch number!)
Page 4 of 4 FirstFirst ... 3 4
Results 31 to 32 of 32

Thread: Integrating PHPBB with Dolphin 6

  1. #31

    Join Date
    Nov 2009
    Posts
    2

    Cool Dolphin 6 + phpbb3

    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

    Code:
                    if( !$iMemID )
                            return array( false, 'Fail' );
    
                    modules_add($iMemID, '', 0); 
    
                    if( $this -> bCouple ) {
    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:
    /* 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 ......
            }
    */




    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;
                    }
    */
    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.

    Now you still have to figure out how to get single sign-on to work, so they dont have to reenter credentials...
    Attached Files

  2. #32

    Join Date
    Jul 2010
    Posts
    2

    Default error after configure and refresh

    Quote Originally Posted by Streder View Post
    Dont change the settings in the module of Dolphin and phpbb share the same databse.

    I made the same mistake

    CLEAR COOKIES A LOT

    S
    Quote Originally Posted by Smoge View Post
    It is attached to this post.

    http://www.yoursite.com/admin/modules.php

    I've uploaded the phpbb/aemod, configured, compare and it said 'Comparison completed. There have been found profiles that are not in phpBB users table.'

    however when i click refresh I get :

    refresh.php returned:

    Warning: mail() [function.mail]: SMTP server response: 530 5.7.3 Client was not authenticated in C:\wamp\www\lumba2\inc\modules.inc.php on line 363
    Module error: synchronizeProfiles(): exec(/usr/local/bin/php -f refresh.php 1 lumba2 ) returned 1

    anybody can help me to solbe the problem.

+ Reply to Thread (include dating software, release, and patch number!)
Page 4 of 4 FirstFirst ... 3 4

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Replies: 7
    Last Post: 03-17-2010, 02:21 AM
  2. Integrating Userplane Free with Dolphin
    By Fototrust in forum UserPlane
    Replies: 1
    Last Post: 10-14-2009, 03:07 AM
  3. Integrating third-party mailer with Dolphin v6.1
    By JacquesPrevert in forum Dolphin General Discussion v6.00 and above
    Replies: 3
    Last Post: 03-27-2009, 08:58 PM
  4. Thinking about integrating Vanilla forum into Dolphin
    By vanarie in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 10-15-2007, 10:56 PM
  5. Replies: 3
    Last Post: 10-15-2007, 12:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts