The whole thing is still in my dev environment. I temporarily published it here:
http://opi.kicks-ass.net/phpBB3
Note that mChat is only visible for registerd users. If you don't recive your registration email, post it here, I will activate your user account manually.
My style can be downloaded
here.
Here are the instructions for install:
Install the Portal to your phpBB3. It should work with the prosilver style.
Then install the m9orange style. Copy the folder /styles/prosilver/template/portal to /styles/m9orange/template
Edit: /styles/m9orange/template/overall_header.html
Find:
Code: Select all
<div id="logodesc">
<table width="100%" cellspacing="0">
<tr>
<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
<td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
</tr>
</table>
</div>
Replace with:
Code: Select all
<div id="logodesc">
<table hight=177 width="100%" cellspacing="0">
<tr>
<td><a href="{U_INDEX}">{SITE_LOGO_IMG}<br /><div align="center"><h1>Forum</h1></div></a></td>
<td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
<td><a href="{U_PORTAL}">{SITE_LOGO_IMG}<br /><div align="center"><h1>Home</h1></div></a></td>
</tr>
</table>
</div>
You should now have basic functionality, within the portal.
Next install mChat. Copy the /styles/prosilver/template/mchat_body.html to /styles/m9orange/template/
Edit the files /styles/m9orange/template/editor.js and index_body.html as described in the install.xml.
Edit: /styles/m9orange/template/overall_header.html
Find:
Add before:
Code: Select all
<!-- IF S_MCHAT_ENABLE -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_core_mini.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<link rel="stylesheet" href="{ROOT_PATH}mchat/mchat_prosilver.css" type="text/css" />
<!-- ENDIF -->
Find:
Add after:
Code: Select all
<!-- IF S_MCHAT_ENABLE and U_MCHAT --> <a href="{U_MCHAT}" title="{L_MCHAT}">{L_MCHAT}</a><!-- ENDIF -->
Edit: /styles/m9orange/template/portal_body.html
Find:
Code: Select all
<!-- IF S_DISPLAY_ADVANCED_STAT -->
<!-- INCLUDE portal/block/statistics.html -->
<!-- ENDIF -->
Add after:
Code: Select all
<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
Edit: portal.php
Find:
Code: Select all
// output page
page_header($user->lang['PORTAL']);
Add befor:
Code: Select all
// BEGIN mChat Mod
if(!defined('MCHAT_INCLUDE') && $config['mchat_on_index'] && $config['mchat_enable'] && $auth->acl_get('u_mchat_view'))
{
define('MCHAT_INCLUDE', true);
$mchat_include_index = true;
include($phpbb_root_path.'mchat.'.$phpEx);
}
// END mChat Mod
You should now have added mChat to the right side menu. The width of the side menus can be configured via acp.
Hope I didn't forget anything