How can I disable the full chat bar and change it to display a small clickable bubble icon that activates the chatbar?

To change the default display setting of the chat bar to a small clickable bubble icon or to start CometChat in hidden mode:

Add the following code at the end in the file /cometchat/js/extra.js


jqcc(document).ready(function () {  
   if(jqcc.cookie('cc_hidebar')==null){
       jqcc('#cometchat_hide').click();
   }
});

Note: Whenever you make a change in CometChat files manually, delete all the files in the /cometchat/cache/ directory and clear your browser cache.

This feature is currently available only in the Standard theme

Not finding what you need?

The CometChat team is here to help!