User Integration with Cbox Chat

I'm attempting to integrate my user database with my Cbox Chat application (, to generate new cbox registered users as they sign into my website. The concrete5 HTML block works flawlessly with their inline cbox HTML code.
<!-- BEGIN CBOX - - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="500" height="133" src="" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform7-XXXXXX" style="border:#DBE2ED 1px solid;border-bottom:0px" id="cboxform7-XXXXXX"></iframe></div>
<div><iframe frameborder="0" width="500" height="867" src="" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain7-XXXXXX" style="border:#DBE2ED 1px solid;" id="cboxmain7-XXXXXX"></iframe></div>
<!-- END CBOX -->

Where I have omitted the the box id and tag with XXXXXX

I proceed to enable the cbox user integration option within my cbox account, and add the segment of integration code to the HTML block, after, $amp;sec=form [code inserted here] "

where I have omitted my private key with XXXXXXXXXXXXX and assume the variable $username grabs the username of the individual logged into my site, and adds it to my registered cbox users.

If anyone has experience integrating concrete5 users with cbox, your advice would be gratefully received because their is virtually no guides out their on the web. Thank you!

View Replies:
Byakuya replied on at Permalink Reply
Sorry, can't help you here, hoping a bump will help us out.

I have run into the exact same issue. I have the PHP database variables but cannot get the Chatbox to accept an input for username.

The database is structured this way:

<table name="Users">
    <field name="uID" type="I" size="10">
    <field name="uName" type="C" size="64">

And Cbox requires that you add this bit of code to their HTML:


I cannot figure out the variable call to replace "$username" in order to make it work. I've tried:


I've also tried all those with both double quotes and `

No matter what I use, when I try to post in the Cbox it tells me that I don't have privileges to do so.

I'm fairly new to PHP but I'm experienced with many other languages so I should be able to understand anything that you suggest.