i install Ajax chat at my forum, after installation i create one account at my forum (some thing like visitor account), and then i login at my forum, after that i go at chat link at which link i install Ajax chat script i was thinking once i logedin at forum with created user and login credentials after that i can post message in chat, but when i move at chat link there i see it is showing me login box, i am confused, at almost all sites, once we create account and then login at that site, then we can do there messaging, not seperate login required for chat, totally unlogical
i have check these files
chat/lib/data/users.php
$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);
i can login with these static credentials for ajax chat, but i want newly registered person can chat with each other from forum created login credentials, no seperate login
in user.php table i am seeing static username and password,
i have created these tables as told in documentation
ajax_chat_online
ajax_chat_messages
ajax_chat_bans
ajax_chat_invitations
i am confused when new users creates accounts at my forum, then how they can chat with each others', newly created users through forum not going in users.php file, newly created users just going in forum db table
1) in users.php i need to add registered users manually, that's totally unlogical solution
2)
i am using same database for my forum and for chat i just imported above 4 tables in same database
when new users register at my forum those are going in this table "phpbb_users" can ajax chat picks users from my forum what's newly registerd
i read ajax chat is for phpbb then this script should pick new registered users from phpbb_users table of phpbb forum
but i test it what account i create for phpbb forum, after that login at phpbb forum after that i open chat link, but its not allowing me to chat its again asking for username and password,
if we create seperate user table for chat users, that's also looking unlogical
i want once we login at forum, after that once i go at chat link, then chat must started not i want to login again for chat,