Actually, that little piece of code has no effect on the phpbb3 code. I just put it there as a placeholder for what I want. Also, showing the entire webpage code would be a little tedious because I've broken the site up into little parts in much the same way phpBB3 breaks up their board...just not as complicated.Lumpy Burgertushie wrote:the jumpbox part looks ok , however, this part is not:
include "MenuBar.html";
also, are you saying that the code I posted above is at the very top of this Home3.php file?
it would help if we could see the whole file.
robert
So yes, most pages on my site has the code you posted at the very top, along with other things I need, such as a nifty piece of code that parses a csv file that builds the rest of the site.
I'm thinking though, that it would be just easier if I could extract the information from the code you posted:
Code: Select all
<?php
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);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();