Help & Support
Our help database contains answers to most of the common questions regarding our products.
If you are unable to locate a satisfactory answer for your query by searching here, please contact us.
I lost my Cbox embed code. Where can I get it?
Your Cbox embed code is available at your control panel. You need this code to install your Cbox on your website.
Also on that page is your Quick Link — a URL which you can use to access your Cbox directly in your browser or on your mobile device.
How do I put my Cbox on my website?
Once you have created your Cbox account, go to the Publish page of your control panel. The code and steps for embedding your Cbox are provided there for a number of common platforms.
If you install your Cbox and all you see is code, or nothing at all, your web host may be removing or otherwise interfering with the HTML iframe tags that Cbox uses. Your Cbox code needs to be pasted into an area of your site that accepts HTML without modification. This may mean switching your editor from "rich text" or "WYSIWYG" mode into HTML-editing or "raw" mode, or you may need to open your template files in a plain-text editor like Notepad.
Remember that you always have the option of posting or sharing your Cbox Quick Link — this gives visitors direct access to your Cbox in a full-screen layout, so it's perfect as a mobile option or for stand-alone use.
How do change my Cbox's style to go with my site's design?
Go to the Theme editor in your control panel. There you can specify the fonts and colours of your Cbox, using a point-and-click editor. You can always reset your theme to one of the preset defaults there, if you would like to start again.
If you have a Premium or Pro Cbox you can edit CSS, which gives you complete control over presentation.
How do I delete messages?
If you have a Premium or Pro Cbox, you can create a moderator name for yourself at your Users page, and then log in on your Cbox using the "profile" link. You will see a delete icon [x] next to each message in your Cbox, and you will not have to log in at your control panel at all to delete messages.
Alternatively, visit your Messages page to delete messages individually or in bulk. Deleted messages are removed from your public Cbox history, but are preserved in your Archives.
Can I make my Cbox transparent?
Yes. In the Theme editor, simply delete the colour codes for the main and form background ("BG") elements. This will make the Cbox transparent, allowing whatever is behind the Cbox to show through.
Note that any pop-ups generated by a transparent Cbox will have the default background colour — usually white. If your font colour is light, it may be invisible in popups. You can fix this by editing the CSS to introduce a background-color rule for popups.
I banned someone and they are still able to post. What can I do?
The user's IP address is probably changing. Cbox has a feature that allows you to strengthen bans so that certain kinds of changing (dynamic) IPs are blocked by a single ban. Cbox Pro has additional features that can pre-emptively ban users of proxies.
Go to your bans page, and select the ban(s) that are not effective. Then click the "Strengthen" button in the top-right. This will "widen the net" on the selected bans. You can click Strengthen again to widen the net even further.
Note that strengthened bans are more likely to affect other people, especially other customers of the same ISP, because they constitute a range of IP addresses. A doubly-strengthened ban covers about 65 000 IP addresses.
If you have a paid Cbox, you have access control features you should enable, including the option to require users to register their names before posting. You can also control whether your users are able to register their own names. You can disable this second option to take control over registration; simply deleting a registered user will then prevent that person from posting, regardless of IP, because they cannot register a new name.
With a Pro Cbox, you can enable "Auto-ban proxies" at your Settings page. Your Cbox will detect proxies, VPNs and Tor exit nodes and will automatically and temporarily ban users who attempt to post from behind such services.
Private messaging
Cbox supports private messaging to and from mod and admin users. You can enable PM for your Cbox at your Settings page.
You can also type out the PM command: enter //pm username message...
, where username is the name of the person you want to send your message to. This method works if the username conforms to Cbox "strict name" or "ASCII name" policy, i.e. comprises alphanumeric characters only and includes no spaces. Otherwise, you will have to refer to the user by ID.
By default, ordinary users cannot send PMs to other ordinary users. One of the two participants in any private conversation must be a mod or admin.
Opting in and out
Registered users can opt in to sending and receiving private messages from other registered (non-mod) users, by entering //pm on
. The command //pm off
revokes this availability.
Errors on sending
Private messages can fail to send for a number of reasons. If you get an error, it will likely either be due to the target user not being online (see below) or due to policy regarding who can send and receive private messages (see above). If the target user is not online, you may need to wait just a few seconds before retrying. Refer to the onliners list to confirm whether Cbox recognizes the user as present.
Message delivery
Private messages are sent via the streaming interfaces. The target user must be viewing and connected. Users on old browsers or restricted networks may not be able to receive PMs. When your message has been accepted by our servers for relaying, you will see an indicator (by default, a tick symbol). When the message has been received by the target user, the indicator will change (double-tick symbol). If that doesn't happen, your message probably wasn't received. Note that Cbox does not know that a message has been read, only that it has been delivered.
Persistence
Cbox does not store private messages for future delivery. New messages are relayed only if the user has an active connection. If the user has gone offline or is otherwise unable to receive your message, it will not be sent again, and nor will it be seen by that user when he reconnects. If you do not see the two-tick "received" indicator within a few seconds of sending a message, you will need to re-send your message later.
How do I change my Cbox's size?
You can change your Cbox's size on the Layout page of your control panel. Simply change the values for width and height, and then save your changes. You will then be informed that your code has been updated — go to your Publish page to get your new code, to reinstall your Cbox on your website.
If the message input area in your Cbox looks wrong, or cut off, you may need to increase the "Form height" setting, also at your Layout page.
Your Cbox does not in fact have to be a fixed size. You can edit your embed code directly to introduce relative widths and heights.
How do I create a Cbox?
Creating a Cbox is quick, easy, and free. Simply visit this page, and fill in the form. Your Cbox will be created instantly, and you will be able to get started right away.
About CSS editing
Cbox provides a Theme editor that lets you adjust colours and font sizes. With a paid plan though, you get even more flexibility with our CSS editor.
Please note: Editing CSS is an advanced feature and requires some knowledge of the language. Improperly-formed CSS can make your Cbox unusable. You can find many useful CSS resources on the Web.
Some of the things you can do with custom CSS:
- Change colours and dimensions that aren't available in the theme editor.
- Add effects such as shadows, borders, and gradients.
- Change the layout of messages by adjusting positioning.
- Create custom classes for styling names and parts of messages, in conjunction with [class] boxcode and filtering.
Getting started
The class names and IDs that we use are relatively stable. However, while we always aim to minimize disruption, it is possible — due to new features or bugfixes, for example — that we have to change HTML in ways that require updating your CSS.
We recommend using your browser's built-in development tools to assist you in finding the names of elements and classes to edit. Generally, you can right-click on an element in your Cbox, and select "Inspect".
In the new version of Cbox, the CSS you enter in your editor is appended to the base CSS. This means you do not have to copy any classes or properties that you are not editing. For example, to make avatars round, simply use:
.pic { border-radius: 50%; }
Notice that the other properties, such as width and height, are not affected by this CSS. Any properties that are bound to the basic theme editor can still be edited that way. We strongly recommend this approach — rather than copying the base CSS and then editing it — for both performance and maintainability reasons.
More examples
By default a star icon appears after mod/admin names. You can change or remove that:
.msg.Adm .nme:after, .usr.Adm .nme:after, .msg.Mod .nme:after, .usr.Mod .nme:after { content: ''; }
You can use the :after
pseudo-element to add text as well. This puts a colon after each name:
.msg .nme:after { content: ':'; }
You can also change the colour of mod/admin text or messages to distinguish them:
.msg.Adm { background: #FFEB3B; color: #000; }
The following CSS will make the name and message run together without a line-break between them:
.msg .body { display: inline; }
Certain buttons in the UI can safely be removed using CSS. For example, to remove the "pop out" button:
#btnPop { display: none; }
You can use CSS to create a default profile picture:
.pic.Empty { background: url(https://cbox.im/i/zfqhv.c100.png) no-repeat center center; background-size: 100%; }
You can take advantage of CSS's cascading nature to target different rules at the same element in different contexts. For example, to show rounded avatars in the users list, but hide them completely in messages, you could use a pair of rules:
.msg .pic { display: none; } .usr .pic { border-radius: 50%; }
To change or remove the maximum height that Cbox restricts your emoticons to, you can use a rule like this:
.msg .emote { max-height: none; }
The following rule makes message background colours alternate:
.msg:nth-of-type(2n) { background: #03A9F4; }
With CSS you can influence browser functionality as well. The following CSS prevents users from being able to select text in messages:
.msg { user-select: none; }
Custom classes
You can define your own classes to be used in conjunction with filters. Filters support boxcode, so you can apply colour that way. But for more flexibility, there's a special [class] boxcode that lets you use any CSS you want.
For example, this CSS rule targets a class called cc_glow.
.cc_glow { text-shadow: 0px 0px 3px #E91E63; font-size: 120%; }
With the above CSS, the corresponding boxcode is [class=glow][/class].
So to use your CSS, you could add a filter rule like this:
hello:[class=glow]hello[/class]
With both the CSS and the filtering rule in place, simply typing hello in your Cbox should show glowing text.
You can also override existing boxcode rather than defining your own classes:
.msg .body s { text-decoration: none; opacity: 0.5; }
The above modifies the [s][/s] boxcode which would normally produce a strikethrough. Instead it will produce translucent text. The .msg .body
selectors are there to ensure only markup in messages is targeted.
Specificity
Sometimes you might find your edits don't appear to be overriding Cbox's base CSS. This can be due to CSS Specificity rules. You may need to add specificity by including more parts in your selectors. For example, to change the colour of the smilies/emoticons button, you can use:
form#frmMain button#btnSmilies { color: red; }
Notice that while the form#frmMain
part might seem redundant, it increases specificity sufficiently to override Cbox's base CSS. Alternatively, you can use the !important
rule to achieve the same outcome.
While !important can make customization easier, we don't recommend using it, as it increases the likelihood of unintended side-effects.
button#btnSmilies { color: red !important; }