Code: Select all
define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); include($phpbb_root_path . 'includes/functions_display.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); $user->setup();
What "code barn" ??? Please share the link to the post that helped you....denvy wrote:Excellent!! After 12 hours of searching, hit the jackpot. One post talking about why phpBB wouldn't co-operate when trying to connect externally. As soon as I added the code bam, everything's working along with several other functions such as checking for user too etc.