How to add Handyman Ajax Chat to Board3 Portal v2.0.2 Prosil

Forum rules
This forum is not for support requests.

Only post Modifications for Board3 Portal 2.0.x in this forum.
Locked
User avatar

Topic author
clight77
Active Member
Posts: 3
Joined: 4. April 2014 16:38
phpBB.com User: clight77

How to add Handyman Ajax Chat to Board3 Portal v2.0.2 Prosil

Post by clight77 »

How to add Handyman Ajax Chat to Board3 Portal v2.0.2 Prosilver
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
Locked

Return to “Modifications - In Development v2.0.x”