Addon Version: 1.0.3
Addon Author: Marc Alexander
Addon Description:
Adds an mChat window to your portal page.
Addon Requirements: Board3 Portal 1.0.5 and newer and mChat 1.3.4 by RMcGirr83
Instructions:
Open portal/block/additional_blocks.php
Find:
Code: Select all
?>
Code: Select all
// mChat Block for Board3 Portal 1.0.5 and 1.0.6
if($load_center)
{
if(!defined('MCHAT_INCLUDE'))
{
define('MCHAT_INCLUDE', true);
}
if(!function_exists('mchat_cache') && !empty($config['mchat_enable']) && $auth->acl_get('u_mchat_view'))
{
$mchat_include_index = true;
include($phpbb_root_path . 'mchat.' . $phpEx);
$template->assign_var('S_MCHAT_PORTAL', true);
}
}
// mChat Block END
Open styles/prosilver/template/portal/portal_center.html
Find:
Code: Select all
<!-- INCLUDE portal/block/additional_blocks_center.html -->
Code: Select all
<!-- IF S_MCHAT_PORTAL --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
Portalview Changes:
Open portal/includes/portalview.php
Find:
Code: Select all
// load blocks in the left column
Code: Select all
$load_center = false; // we don't show the center column