AmateurCichlids, you are late...and honestly, I don't understand the question.AmateurCichlids wrote:What important thing are you referring to?
In my view, there's only one important thing for months.
AmateurCichlids, you are late...and honestly, I don't understand the question.AmateurCichlids wrote:What important thing are you referring to?
Code: Select all
<?php
define('IN_PHPBB', true);
$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();
$template->set_filenames(array(
'body' => 'chat_body.html',
));
page_footer();
?>
Code: Select all
<!-- INCLUDE overall_header.html -->
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="content">
<iframe src="http://skizm.homelinux.org/phpbb3/chat/index.php" frameborder="0" width="960" height="540" ></iframe>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- INCLUDE overall_footer.html -->
Hi again,easygo wrote:fimo wrote:Hello again Easygo,On that score am I not sure what you mean...sorry! The scroll bar on the rightfimo wrote:2)
How to make a right pane, at the moment when ever a user type something it will push down the
chat box instead of a windows scrol on the right side (as on your site
hand side should occur (by default) once the display limit is reached :/
TryLonestarSkizm wrote:Here is my chat_test.phpHere is my chat_body.html fileCode: Select all
<?php define('IN_PHPBB', true); $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(); $template->set_filenames(array( 'body' => 'chat_body.html', )); page_footer(); ?>
Code: Select all
<!-- INCLUDE overall_header.html --> <div class="panel"> <div class="inner"><span class="corners-top"><span></span></span> <div class="content"> <iframe src="http://skizm.homelinux.org/phpbb3/chat/index.php" frameborder="0" width="960" height="540" ></iframe> </div> <span class="corners-bottom"><span></span></span></div> </div> <!-- INCLUDE overall_footer.html -->
Code: Select all
<?php
/**
* @ignore
*/
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();
// Lets build a page ...
$template->assign_vars(array(
'U_CHAT' => append_sid("{$phpbb_root_path}chat/index.$phpEx"),
));
// Output page
page_header('AJAX Chat');
// Output page
page_header('AJAX Chat');
$template->set_filenames(array(
'body' => 'chatloader_body.html',
));
page_footer();
?>
Code: Select all
<!-- INCLUDE overall_header.html -->
<div class="panel">
<div class="inner">
<span class="corners-top"><span></span></span>
<div class="content">
<iframe src="{U_CHAT}" frameborder="0" width="960" height="540"></iframe>
</div>
<span class="corners-bottom"><span></span></span>
</div>
</div>
<!-- INCLUDE overall_footer.html -->
easygo wrote: Try
as well asCode: Select all
<?php /** * @ignore */ 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(); // Lets build a page ... $template->assign_vars(array( 'U_CHAT' => append_sid("{$phpbb_root_path}chat/index.$phpEx"), )); // Output page page_header('AJAX Chat'); // Output page page_header('AJAX Chat'); $template->set_filenames(array( 'body' => 'chatloader_body.html', )); page_footer(); ?>
instead of yours and then let's hope it does the trick.Code: Select all
<!-- INCLUDE overall_header.html --> <div class="panel"> <div class="inner"> <span class="corners-top"><span></span></span> <div class="content"> <iframe src="{U_CHAT}" frameborder="0" width="960" height="540"></iframe> </div> <span class="corners-bottom"><span></span></span> </div> </div> <!-- INCLUDE overall_footer.html -->
It seemed to work on my test board, as far as I've seen. So what about your chat_test.php?LonestarSkizm wrote:easygo wrote: Try
as well asCode: Select all
<?php /** * @ignore */ 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(); // Lets build a page ... $template->assign_vars(array( 'U_CHAT' => append_sid("{$phpbb_root_path}chat/index.$phpEx"), )); // Output page page_header('AJAX Chat'); // Output page page_header('AJAX Chat'); $template->set_filenames(array( 'body' => 'chatloader_body.html', )); page_footer(); ?>
instead of yours and then let's hope it does the trick.Code: Select all
<!-- INCLUDE overall_header.html --> <div class="panel"> <div class="inner"> <span class="corners-top"><span></span></span> <div class="content"> <iframe src="{U_CHAT}" frameborder="0" width="960" height="540"></iframe> </div> <span class="corners-bottom"><span></span></span> </div> </div> <!-- INCLUDE overall_footer.html -->
Ok, I've tried that code but still get the same output and I've tried FF3, IE6,and IE7 with no luck.
Hmmm, I'm wondering if maybe my web server is configured wrong or some other phpbb file that's been modded is doing this???
<EDIT: For spelling and grammar>
easygo wrote:
It seemed to work on my test board, as far as I've seen. So what about your chat_test.php?
There's just some javascript and style sheet behind the test link you provided here.
Means no header, no footer...no valid xhtml. How could it be run this way
Also note that iframe is deprecated in xhtml 1.0 strict as well as no longer supported in xhtml 1.1
Yeah, tidying up is always a good idea.LonestarSkizm wrote:Now I get to go through all my templates looking for code I no longer need.