phpBB

Step 1:
Visit CometChat Administration Panel->Click on Add CometChat tab and fill the following details:

a) Site URL: Enter your domain name without http

b) Platform: Select ‘phpBB’ from the drop-down

Click on ‘Save’ button.

boonexadmin

Step 2:
a) Add the following code to includes->functions.php inside the page_header() function:

'CC_AVATAR'						=> $user->data['user_avatar'],
'CC_USERID'						=> $user->data['user_id'],

phpBBfunctions

b) Add the following code to styles-> <active_style_name> -> template->overall_header.html before </head> tag:

<script>
var chat_name = "{S_USERNAME}";
var chat_id = "{CC_USERID}";
var chat_avatar = '{CC_AVATAR}';
var chat_link = "{BOARD_URL}memberlist.php?mode=viewprofile&u={CC_USERID}";
</script>

c) Purge the cache from the phpBB administration panel

phpBBpurge

Step 3:
a) To add CometChat as a floating bar to your site, visit “Add CometChat” tab in CometChat Administration Panel and copy the HTML code displayed in the section “Add CometChat as a floating bar to your phpBB forum” and paste them to the location mentioned.

boonexembed

b) To embed CometChat to your site, visit “Add CometChat” tab in CometChat Administration Panel and copy the HTML code displayed in the section “Embed CometChat in your site page” and paste them to the location mentioned.

boonexembed

Not finding what you need?

The CometChat team is here to help!