How to add Handyman Ajax Chat to Board3 Portal v2.0.2 Prosil
Posted: 4. April 2014 16:44
How to add Handyman Ajax Chat to Board3 Portal v2.0.2 Prosilver
Refresh your template in ACP
That's it.
I had to edit this post as I forgot to include fixing portal.php.....SORRY
Open:root/portal.php
FIND:
$user->setup('mods/portal');
ADD Below:
//-- mod : AJAX Chat ----------------------------------------------------
//-- add
include($phpbb_root_path . 'shout.' . $phpEx);
//-- fin mod : AJAX Chat -----------------------------------------------
NEXT:
Open
styles/templates/portal/blocks/custom_block.html
*********Delete everything on the page*********
Add to top of page:
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<div class="panel bg1" style="margin-bottom: 0px">
<div class="inner"><span class="portal-corners-top-inner"></span>
Open your styles/templates/chat_body.html
copy and/paste that code into this section,ALL OF IT.
ADD at end:
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
Save and update the files to thier root locations.
Next:
Go to ACP/Mods and Portal/Portal Modules
In the center column click Add Module
Select Custom Block and submit it.
After that go back to Portal Modules select your new Module and click on the Green Edit icon and in Module Name,change that to lets
say (Chat Box),and then move down to Custom Block Code and add this line: <!-- INCLUDE chat_body.html -->
click Submit.
Refresh your template in ACP
That's it.
I had to edit this post as I forgot to include fixing portal.php.....SORRY