I’ve been working off this tutorial http://www.phpbbhacks.com/forums/viewtopic.php?t=4968 in order to make my website’s login be integrated with the phpBB login that I use on my forum. However, I cannot get further than the piece of code I put into the header of my index.php file:
[php]
define(‘IN_PHPBB’, true);
$site_root_path = ‘/home/teenbite/public_html/’; //<-- Modify
$phpbb_root_path2 = ‘forum/’; //<-- Modify
$phpbb_root_path = $site_root_path . $phpbb_root_path2;
include($phpbb_root_path . ‘extension.inc’);
include($phpbb_root_path . ‘common.php’);
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);[/php]
It simply exits the rest of the page.