MyBB Community Forums

Full Version: Connecting MyBB Forum usernames/passwords to Ajax chat?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Try going into phpMyAdmin and manually dropping all the ajax_chat_ tables, then run install.php again.
dropping them? As in, delete them?

And those files would be located in the themes script management im guessing, yes?
Yes, go to cPanel and find phpMyAdmin - drop all the ajax_chat_ tables.

But, from your PM it sounds like you haven't edited the config file. Make sure you've edited the config file with your MyBB database details before running the installation script.

If you're still struggling PM me cPanel and FTP login details and I'll take a look. Smile
This is users.php in ajax chat 0.8.3 package
whether this section should be edited to retrieve user data from the database MyBB? how to edit it??
Thanks before..Smile

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

// List containing the registered chat users:
$users = array();

// Default guest user (don't delete this one):
$users[0] = array();
$users[0]['userRole'] = AJAX_CHAT_GUEST;
$users[0]['userName'] = null;
$users[0]['password'] = null;
$users[0]['channels'] = array(0);

// Sample admin user:
$users[1] = array();
$users[1]['userRole'] = AJAX_CHAT_ADMIN;
$users[1]['userName'] = 'admin';
$users[1]['password'] = 'admin';
$users[1]['channels'] = array(0,1);

// Sample moderator user:
$users[2] = array();
$users[2]['userRole'] = AJAX_CHAT_MODERATOR;
$users[2]['userName'] = 'moderator';
$users[2]['password'] = 'moderator';
$users[2]['channels'] = array(0,1);

// 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);
^ there is a separate ajax chat package for myBB
(2011-06-18, 03:15 PM)ranjani Wrote: [ -> ]^ there is a separate ajax chat package for myBB

i was try, and i found message error :

Query: DROP TABLE IF EXISTS ajax_chat_online; Error-Report: Error-Code: 
^ oh! it needs some fixing with care Sad check my message (PM)..
I have same problem. help!
I solved problem.
Pages: 1 2