MyBB Community Forums

Full Version: Adding channels to Ajax Chat 0.8.7
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I installed the chat at /chat/ since all MyBB files are in the root of my database. Everything seems to work fine, when I visit the url at www.mysite.altervista/chat/, if I am logged on my forum, I automatically access the chat with the nickname I have on the forum. And that's fine. My problem is that no matter the changes I make in /chat/lib/data/channels.php, the only channel the chat interface shows me is the "Public" one, and its name is always Public even if I modify it to "Whatever".

<?php
/*
 * @package AJAX_Chat
 * @author Sebastian Tschan
 * @copyright (c) Sebastian Tschan
 * @license Modified MIT License
 * @link https://blueimp.net/ajax/
 */

// List containing the custom channels:
$channels = array();

// Sample channel list:
$channels[0] = 'Notpublic';
$channels[1] = 'Private';
$channels[2] = 'Something';
$channels[3] = 'Anything';
?>

Even though I modified the file like this, the only channel I see is "Public". How do I add other channels?


Apart from that, I have a question: is there a way to put the chat as a box on the forum? So that someone doesn't have to leave the forum in order to join the chat. If yes, how can I do that?

Thanks in advance.
Moved to Plugin Support.