Merging 2 databasses

Discussion in 'Databases' started by jaydenblair, Jan 11, 2012.

  1. #1
    Okay so i have a website but i added a external forum (mybb) so now you need 2 logins one for the site and one for the forum how could i make it so you need 1 login for both?

    Thanks for the help.
     
    jaydenblair, Jan 11, 2012 IP
  2. RamMurti

    RamMurti Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you are using wordpress, then you can check the forum website for article to integrate both.For example, ypu can integrate wordpress and vanilla forum together using steps given in this link : vanillaforums.org/pge/singlesignon
     
    RamMurti, Feb 2, 2012 IP
  3. jaydenblair

    jaydenblair Active Member

    Messages:
    228
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    Its a tube website ill send you a link and tell me what ya think
     
    jaydenblair, Feb 2, 2012 IP
  4. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #4
    Why can't you carry $_SESSIONS or cookies across between pages? is there a full domain change form one site to the next that will destroy $_SESSIONS? If not, calling session_start() on all pages and listing the $_SESSION['client_user'];

    As long as as the site is within same area it should carry over across. For example if you have access to the forum login process and code, set the session there , and one seperately at site, depending which they log into first. This will allow either site to check for sessions and if not seeing it set /logged in, will put up the login page, otherwise will display the "You are Logged in (user name) I would set it up at both site and forum, and leave it to sessions to determine.
     
    ezprint2008, Feb 5, 2012 IP
  5. jaydenblair

    jaydenblair Active Member

    Messages:
    228
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #5
    jaydenblair, Feb 6, 2012 IP
  6. jaydenblair

    jaydenblair Active Member

    Messages:
    228
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #6
    If you can because i really want somthen done about this if you can merge them i can pay you or reward you some how if you want ( we will talk about it on chat) i just need it fixed on what ever needs doing
     
    jaydenblair, Feb 6, 2012 IP
  7. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #7
    If you can handle PHP, check out my LDAP plugin for MyBB. You can modify it to use your other database instead of an LDAP database. Using the same idea, you could probably make your other login check the MyBB database. Depending on how the other program (not MyBB) is written, the job is anywhere from pretty trivial to fairly easy.
     
    Rukbat, Feb 25, 2012 IP