OK – after all day googling .. I have a solution and I wanted to post it here for everyone so they don’t have to endure the pain and headscratching that I went through 🙂
Here’s the scenario, I have three login tables:
1. Proprietary login table (username, password)
2. WordPress – wp_users
3. PHPBB – phpbb_users
(this assumes that the username and password are all the same across the three tables)
STEP ONE
—
I created a login script for my login table, and upon a successful login I added this:
<iframe src="http://www.mywebsite.com/blogger/wp-login.php?log=myuser&pwd=mypass&redirect_to=/blogger/" frameborder=0 width=1 height=1></iframe>
<iframe src="http://www.mywebsite.com/forum/login.php?login=1&username=myuser&password=mypass" frameborder=0 width=1 height=1></iframe>
STEP TWO
Modify WordPress’s wp-login.php
– In the area the processes the login -> change $_POST to $_REQUEST
Modify PHPBB’s login.php
– Change $HTTP_POST_VARS to $_REQUEST
This seemed to do the trick for me .. I hope it can help some others too.