Code: Select all
my $response= qx(usr/local/bin/php ../custom.php);
(Fixed managled quote)TeknoAXE wrote:When you say WORN, do you mean that you don't get to read the code when viewing the page source?AmigoJack wrote:Perl is very versatile, but sadly WORN (write once, read never = you're unable to read the code).
accesskey="e"
is within what you want, so search all files for that text and you'll find /styles/*/template/overall_header.html.{PRIVATE_MESSAGE_INFO}
and {U_SEARCH_SELF}
. Search all files case sensitive for PRIVATE_MESSAGE_INFO
and you'll find /includes/functions.php.$l_privmsgs_text
, so search for that one in the same file topwards. That will lead you to lines 4485 ff.$user
object is instantiated by including /common.php and then calling $user-> session_begin()
- just like Add a New Custom Page to phpBB tells you.page_header()
yourself (which will also work in the future once you update your board).Code: Select all
<?php
$template->set_filenames(array(
'body' => 'MenuBar.html',
));
make_jumpbox(append_sid("{$phpbb_root_path}Home_3.$phpEx"));
include "MenuBar.html";
?>
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();
page_header('Title Here');
$template->set_filenames(array(
'body' => 'yourpage_body.html',
));
make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx"));
page_footer();
?>
As I've said so before in the post you responded to, I've already done that, which is why the "news" and "user videos" sections of my website work. I've already figured that out. The part I'm trying to figure out is if I need to modify that append_sid commant to generate the html in the specific spot on my webpage that I want.Lumpy Burgertushie wrote:if you are going to use the phpbb variables then you have to call phpbb at the very top of your php page:
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(); page_header('Title Here'); $template->set_filenames(array( 'body' => 'yourpage_body.html', )); make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx")); page_footer(); ?>
include "MenuBar.html";