Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../ajaxchat
File: users.php
<?php
[0] Fix | Delete
/*
[1] Fix | Delete
* @package AJAX_Chat
[2] Fix | Delete
* @author Sebastian Tschan
[3] Fix | Delete
* @copyright (c) Sebastian Tschan
[4] Fix | Delete
* @license Modified MIT License
[5] Fix | Delete
* @link https://blueimp.net/ajax/
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
// List containing the registered chat users:
[9] Fix | Delete
$users = array();
[10] Fix | Delete
[11] Fix | Delete
// Default guest user (don't delete this one):
[12] Fix | Delete
$users[0] = array();
[13] Fix | Delete
$users[0]['userRole'] = AJAX_CHAT_GUEST;
[14] Fix | Delete
$users[0]['userName'] = null;
[15] Fix | Delete
$users[0]['password'] = null;
[16] Fix | Delete
$users[0]['channels'] = array(0);
[17] Fix | Delete
[18] Fix | Delete
// Sample admin user:
[19] Fix | Delete
$users[1] = array();
[20] Fix | Delete
$users[1]['userRole'] = AJAX_CHAT_ADMIN;
[21] Fix | Delete
$users[1]['userName'] = '[[admin_username]]';
[22] Fix | Delete
$users[1]['password'] = '[[admin_pass]]';
[23] Fix | Delete
$users[1]['channels'] = array(0,1);
[24] Fix | Delete
[25] Fix | Delete
// Sample moderator user:
[26] Fix | Delete
$users[2] = array();
[27] Fix | Delete
$users[2]['userRole'] = AJAX_CHAT_MODERATOR;
[28] Fix | Delete
$users[2]['userName'] = 'moderator';
[29] Fix | Delete
$users[2]['password'] = '[[admin_pass]]';
[30] Fix | Delete
$users[2]['channels'] = array(0,1);
[31] Fix | Delete
[32] Fix | Delete
// Sample registered user:
[33] Fix | Delete
$users[3] = array();
[34] Fix | Delete
$users[3]['userRole'] = AJAX_CHAT_USER;
[35] Fix | Delete
$users[3]['userName'] = 'user';
[36] Fix | Delete
$users[3]['password'] = '[[admin_pass]]';
[37] Fix | Delete
$users[3]['channels'] = array(0,1);
[38] Fix | Delete
?>
[39] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function