Frug / AJAX-Chat

A fully customizable web chat implemented in JavaScript, PHP and MySQL which integrates nicely with common forum systems like phpBB, MyBB, FluxBB, SMF and vBulletin. A Flash and Ruby based socket connection can be used to boost performance.
http://frug.github.io/AJAX-Chat/
545 stars 301 forks source link

Disable Public Channel #261

Open brainssolutions opened 7 years ago

brainssolutions commented 7 years ago

Hi, I implemented the source code with a script in Ajax/php for channels and users.

Now I want to know how to delete the public default channel, also because in the configuration file is invoked the default channel.

Thanks

Rederix commented 6 years ago

The Public channel can write two files 1) ./lib/data/channels.php 2) ./lib/config.php In file Config.php is setting Default Room name. // Default channelName used together with the defaultChannelID if no channel with this ID exists: $config['defaultChannelName'] = 'Public'; <- Rewrite ...