KentCurtis Posted August 17, 2007 Share Posted August 17, 2007 Hello all, I'm afraid this topic has been beaten to death time and time again, and I am sorry, but I still haven't found exactly what I am looking for as far as integration goes. I am looking to have a portion of my site a members only area, and the only way to access this area is if you have registered with my phpbb forum. I want users to be able to login via a form on my site, and if they login successfully be able to go to the forums AND my portion of the site that is members only. Can someone show me how this is done? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
TomBullock Posted September 2, 2007 Share Posted September 2, 2007 Well as far as the form goes here is the code: phpBB 2 Asuming you forum path is /forum/ <form method="post" action="./forum/login.php"> <table class="tablebg" width="100%" cellspacing="1" id="table1"> <tr> <td class="cat" height="39"><h4> </h4></td> </tr> <tr> <td class="row1" align="center" height="164"><font size="1">Username</font><font face="Trebuchet MS"><span class="genmed"><font size="1">:</font></span><font size="1"> </font> <font size="1" face="Trebuchet MS" color="#FFFFFF"> <input class="post" type="text" name="username" size="10" /></font><font size="1"> </font></font><font size="1">Password</font><font size="1" face="Trebuchet MS"><span class="genmed">:</span> </font><font face="Trebuchet MS"> <font size="1" face="Trebuchet MS" color="#FFFFFF"> <input class="post" type="password" name="password" size="10" /></font><font size="1"> </font></font><font size="1" face="Trebuchet MS" color="#FFFFFF"> <input type="submit" class="btnmain" name="login" value="Login" /></font><font face="Trebuchet MS" size="1"> </font> </td> </tr> </table> </form> phpBB 3 Asuming your forum path is /forum/ <form method="post" action="./forum/ucp.php"> <table class="tablebg" width="100%" cellspacing="1" id="table1"> <tr> <td class="cat" height="39"><h4> </h4></td> </tr> <tr> <td class="row1" align="center" height="164"><font size="1">Username</font><font face="Trebuchet MS"><span class="genmed"><font size="1">:</font></span><font size="1"> </font> <font size="1" face="Trebuchet MS" color="#FFFFFF"> <input class="post" type="text" name="username" size="10" /></font><font size="1"> </font></font><font size="1">Password</font><font size="1" face="Trebuchet MS"><span class="genmed">:</span> </font><font face="Trebuchet MS"> <font size="1" face="Trebuchet MS" color="#FFFFFF"> <input class="post" type="password" name="password" size="10" /></font><font size="1"> </font></font><font size="1" face="Trebuchet MS" color="#FFFFFF"> <input type="submit" class="btnmain" name="login" value="Login" /></font><font face="Trebuchet MS" size="1"> </font> </td> </tr> </table> </form> If your forum path is not /forum/ change the line below to the relavant path. phpBB 2 <form method="post" action="./forum/login.php"> phpBB 3 <form method="post" action="./forum/ucp.php"> Not sure about the re-direction to your part of the forum though. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.