Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kpeatt

    (@kpeatt)

    Well, I’ve got the registrations integrated now. When you sign up for WordPress it automatically creates a user with the same information in PHPBB. Now I just have to fix the “Change password” code so when you change it in one program it automatically changes it in the other. That shouldn’t be too difficult.

    Thread Starter kpeatt

    (@kpeatt)

    I wish it was as simple as a search. Unfortunately, it’s not. I’ve done about 2 days worth of searching to see if anyone has come up with an easy method to do this. WPHPBB is a solution that will not work for me. I know how to bridge the logins. While this has been discussed before on the wordpress support forums, there haven’t actually been any responses that don’t point to a simple login bridge or some bastardization of wordpress’s comment system.

    There’s got to be a solution for this that doesn’t involve major hacks.

    Here’s what I’ve been trying to do:

    $query2 = “INSERT INTO phpbb_users (username, user_email, user_password) VALUES (‘$user_login’, ‘#user_email’, MD5(‘$password’) “;
    mysql_pconnect(“db.com”,”username”,”password”)
    or die(“Unable to connect to SQL server”);
    mysql_select_db(“cnoisewp”) or die(“Unable to select database”);
    mysql_query($query2) or die(“Insert Failed!”);

    Beneath wordpress’s query to its own database. My understanding is that this will submit the variables that have been defined by wordpress’s form into phpbb’s database thereby creating a user. However, I always get an “Insert failed!” error. I’m going to try posting my problems on both Sitepoint and PHPBB’s forum to see if they can help me out.

    I’ve possibly been going about this backwards – Maybe I should submit PHPBB’s form data to wp’s user table.

    To be continued..

Viewing 2 replies - 1 through 2 (of 2 total)