You can disable both Private Messages and Private Channels in the lib directory by editing the config.php file.
Set $config['allowPrivateChannels'] = false;
Set $config['allowPrivateMessages'] = false;
--
You received this message because you are subscribed to the Google Groups "AJAX-chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ajax-chat+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ajax-chat+unsubscribe@googlegroups.com.
function isAllowedToCreatePrivateChannel() { if($this->getConfig('allowPrivateChannels')) { switch($this->getUserRole()) { case AJAX_CHAT_USER: return true; case AJAX_CHAT_MODERATOR: return true; case AJAX_CHAT_ADMIN: return true; default: return false; } } return false; }
// Sample registered user:$users[3] = array();$users[3]['userRole'] = AJAX_CHAT_USER;$users[3]['userName'] = 'user';$users[3]['password'] = 'user';$users[3]['channels'] = array(0,1);
To unsubscribe from this group and stop receiving emails from it, send an email to ajax-chat+...@googlegroups.com.