Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

AJAX Chat Channels

darkalchemy edited this page Nov 20, 2019 · 7 revisions

It is not recommended to remove, reorder, rename or repurpose any of the channels. The channels are referred to by their ID not by their name and are reference throughout the code for special actions.

Default Id's => Channel

    0 => $this->_siteConfig['site']['name'],
    1 => 'Support',
    2 => 'Announce',
    3 => 'News',
    4 => 'Git',
    5 => 'Staff',
    6 => 'Sysop',

Instead, you should add new channels, beginning at 7 => Name. Then add or remove access to any channels as desired.

To add channels, simply add them to the array staff panel -> site settings -> ajaxchat.

To add or remove access, simply add or remove the channel ids from the desired user class staff panel -> site settings -> ajaxchat.