Hi all

Is it possible to intergrate my website to my phpbb forum so that when users register with my site, they also get registered with my forum. If anyone knows how to or if they know any sites that tell you please could you post them here.

Thanks in advance
Cameron

I have integrated it once as below.
register.php is page where user register to the site.
and forum is a sub folder for phpbb placed at root.

<?
	/*======================================
		my register.php code goes here
	========================================*/
	
	//--- phpbb code start ------
	echo '<form  method="post"  style="display:none;" name="frmfrm" id="frmfrm" action="forum/ucp.php?mode=login"> 
	<label for="username">Username: </label> <input type="text" name="username" id="username" value="'.$_POST['username_login'].'" size="40" /><br /><br />
	<label for="password">Password: </label><input type="password" name="password" id="password" value="'.$_POST['password_login'].'" size="40" /><br /><br />
	<label for="autologin">Remember Me?: </label><input type="checkbox" name="autologin" id="autologin"  /><br /><br />
	<input type="hidden" value="Log In" name="login" />
	<input type="hidden" name="redirect" value="[B]../register.php[/B]" />
	</form>	
	<script language="javascript">document.frmfrm.submit();</script>';
?>

What above code do, it will goes to phpbb and user entry will be done for forum and it will be backed to page as shown in bold.

Try this and let me know your result.

I have integrated it once as below.
register.php is page where user register to the site.
and forum is a sub folder for phpbb placed at root.

<?
	/*======================================
		my register.php code goes here
	========================================*/
	
	//--- phpbb code start ------
	echo '<form  method="post"  style="display:none;" name="frmfrm" id="frmfrm" action="forum/ucp.php?mode=login"> 
	<label for="username">Username: </label> <input type="text" name="username" id="username" value="'.$_POST['username_login'].'" size="40" /><br /><br />
	<label for="password">Password: </label><input type="password" name="password" id="password" value="'.$_POST['password_login'].'" size="40" /><br /><br />
	<label for="autologin">Remember Me?: </label><input type="checkbox" name="autologin" id="autologin"  /><br /><br />
	<input type="hidden" value="Log In" name="login" />
	<input type="hidden" name="redirect" value="[B]../register.php[/B]" />
	</form>	
	<script language="javascript">document.frmfrm.submit();</script>';
?>

What above code do, it will goes to phpbb and user entry will be done for forum and it will be backed to page as shown in bold.

Try this and let me know your result.

Thanks, I will give it a try