You have forgot to include the var $chat_header into the page_overall
Here is my fix for phpbb:
in your chatroom.php you must overwrite:
- Code: Select all
$page_title = $lang['Chat_Room'];
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
with this one:
- Code: Select all
$page_title = $lang['Chat_Room'];
$template->assign_vars(array(
'CHATROOM' => $chat_header));
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
then you open your overall_header.tpl and insert into the top header this
- Code: Select all
{CHATROOM}
.
That will include the JS-routines in the header!
Good luck!
Thx anyway for the help and keep up the good work! Love this piece of code.