Results 1 to 2 of 2

Thread: Dolphin+Wordpress+Pligg+PHPBB

  1. #1
    ggmltd
    Guest

    Default Dolphin+Wordpress+Pligg+PHPBB

    Hello,
    I have installed Dolphin v 6.0.3
    and then I have installed PhpBB as it was said in the Boonex Documentation. Its working, but its not fully integrated, as when my users will go from the dolphin to PHPBB they will not be logged on, and will have to register again. The same is with pligg and with wordpress. Can anybody give me idea, about the steps, I need to change the code,so that it wil work properly.
    I mean the login and registration process. Maybe any of you have bundle like I need...
    ?
    Please help if you can
    Thanks

  2. #2

    Join Date
    Sep 2007
    Posts
    229

    Default

    where you need to be is in phpbb forum asking how to connect to dolphin database "Profiles" and call that info from the forum login
    have it for you here:http://www.phpbb.com/community/viewtopic.php?f=35&t=499434

    too much reading
    This code needs to be included in every page of your main site.
    <?php
    $phpbb_root_path = './forums/';

    define('IN_PHPBB', true);

    //
    // phpBB related files
    //

    include($phpbb_root_path . 'extension.inc');
    include($phpbb_root_path . 'common.' . $phpEx);
    include($phpbb_root_path . 'includes/bbcode.' . $phpEx);

    //
    // start session management
    //

    $userdata = session_pagestart($user_ip, PAGE_INDEX);
    init_userprefs($userdata);

    if($userdata['session_logged_in'])
    {
    $db = mysql_connect(DB_SERVER, DB_USER, DB_PASS);
    mysql_select_db(DB_NAME,$db);
    $session->startSession();
    $session->userinfo = $database->getUserInfo($userdata['username']);
    $session->logged_in = 1;
    $session->username = $_SESSION['username'] = $userdata['username'];
    $session->userid = $_SESSION['userid'] = $session->userinfo['userid'];
    $session->userlevel = $session->userinfo['userlevel'];
    $session->time = $userdata['session_start'];

    $database->updateUserField($session->username, "userid", $session->userid);
    $database->addActiveUser($session->username, $session->time);
    $database->removeActiveGuest($_SERVER['REMOTE_ADDR']);
    }
    $db = mysql_connect(DB_SERVER, DB_USER, DB_PASS);
    mysql_select_db(DB_NAME,$db);
    ?>
    Last edited by mrpowless; 12-13-2007 at 10:29 PM.
    Running version 6.0.0002 ...researching and testing 6.0.003 in the background

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 05-04-2010, 03:47 PM
  2. Replies: 7
    Last Post: 03-17-2010, 01:21 AM
  3. Dolphin 7 and Pligg
    By emulatore in forum Boonex Dolphin 7
    Replies: 0
    Last Post: 12-22-2009, 03:53 PM
  4. Adding Dolphin 6 with Pligg
    By blaumond in forum Dolphin General Discussion v6.00 and above
    Replies: 1
    Last Post: 12-07-2007, 04:36 AM
  5. Wordpress
    By Smoge in forum Blog / Guestbook
    Replies: 9
    Last Post: 06-18-2006, 04:37 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
  •