

$user->session_begin();$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
include($phpbb_root_path . 'common.' . $phpEx);

define('IN_PHPBB', true);
$phpbb_root_path = './forums/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();







$template->set_custom_template and then you have to put your HTML files in that directory and call the template file via $template->set_filenames in your PHP controller. The first post in this topic does contain details as to how to do that.



$template->assign_var('NEWEST_USER', $newest_user); $template->assign_vars(array(
'NEWEST_USER' => $newest_user,
)); 

[phpBB Debug] PHP Notice: in file .........includes/website_class.php on line 129: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file .........includes/website_class.php on line 131: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file .........includes/website_class.php on line 132: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file .........includes/website_class.php on line 133: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)


Return to Tutorials and How-Tos
Users browsing this forum: MSNbot Media and 4 guests