أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .

Ajax chat Installation Problem ..plz help me


مشاهدة المشاركة في الموضوع بالعرض العادي
look/images/icons/i1.gif Ajax chat Installation Problem ..plz help me
  13-09-2012 02:31 صباحاً  
zeeshan512
معلومات الكاتب
اقتبـاس ،، Please put problem in the same topic of MOD

Sorry for that
Thanks Bro for reply
i do paste my config setting with original file
this is original config file
CODE
<?php
/*
* @package AJAX_Chat
* @author Sebastian Tschan
* @copyright (c) Sebastian Tschan
* @license GNU Affero General Public License
* @link https://blueimp.net/ajax/
*/

// Define AJAX Chat user roles:
define(&#39;AJAX_CHAT_CHATBOT&#39;,	   4);
define(&#39;AJAX_CHAT_ADMIN&#39;,	   3);
define(&#39;AJAX_CHAT_MODERATOR&#39;,    2);
define(&#39;AJAX_CHAT_USER&#39;,	   1);
define(&#39;AJAX_CHAT_GUEST&#39;,	   0);
//error_reporting(0);
// AJAX Chat config parameters:
$config = array();

// Database connection values:
include(&#39;engine/config.php&#39;);
// Database connection values:
$config[&#39;dbConnection&#39;] = array();
// Database hostname:
$config[&#39;dbConnection&#39;][&#39;host&#39;] = $config[&#39;db&#39;][&#39;server&#39;];
// Database username:
$config[&#39;dbConnection&#39;][&#39;user&#39;] =
$config[&#39;db&#39;][&#39;username&#39;];
// Database password:
$config[&#39;dbConnection&#39;][&#39;pass&#39;] = $config[&#39;db&#39;][&#39;password&#39;];
// Database name:
$config[&#39;dbConnection&#39;][&#39;name&#39;] = $config[&#39;db&#39;][&#39;name&#39;];
// Database type:
$config[&#39;dbConnection&#39;][&#39;type&#39;] = null;
// Database link:
$config[&#39;dbConnection&#39;][&#39;link&#39;] = null;

// Database table names:
$config[&#39;dbTableNames&#39;] = array();
$config[&#39;dbTableNames&#39;][&#39;online&#39;]	   = &#39;ajax_chat_online&#39;;
$config[&#39;dbTableNames&#39;][&#39;messages&#39;]	   = &#39;ajax_chat_messages&#39;;
$config[&#39;dbTableNames&#39;][&#39;bans&#39;]		  = &#39;ajax_chat_bans&#39;;
$config[&#39;dbTableNames&#39;][&#39;invitations&#39;]    = &#39;ajax_chat_invitations&#39;;

// Available languages:
$config[&#39;langAvailable&#39;] = array(&#39;ar&#39;,&#39;bg&#39;,&#39;bp&#39;,&#39;ca&#39;,&#39;cy&#39;,&#39;cz&#39;,&#39;de&#39;,&#39;el&#39;,&#39;en&#39;,&#39;es&#39;,&#39;et&#39;,&#39;fi&#39;,&#39;fr&#39;,&#39;gl&#39;,&#39;he&#39;,&#39;hr&#39;,&#39;hu&#39;,&#39;in&#39;,&#39;it&#39;,&#39;ka&#39;,&#39;kr&#39;,&#39;ja&#39;,&#39;nl&#39;,&#39;no&#39;,&#39;pl&#39;,&#39;ro&#39;,&#39;ru&#39;,&#39;sk&#39;,&#39;sl&#39;,&#39;sr&#39;,&#39;sv&#39;,&#39;tr&#39;,&#39;uk&#39;,&#39;zh&#39;,&#39;zh-tw&#39;);
// Default language:
$config[&#39;langDefault&#39;] = &#39;ar&#39;;
// Language names:
$config[&#39;langNames&#39;] = array(&#39;ar&#39;=>&#39;عربي&#39;,&#39;bg&#39;=>&#39;Български&#39;,&#39;bp&#39;=>&#39;Português (Brasil)&#39;,&#39;ca&#39;=>&#39;Català&#39;,&#39;cy&#39;=>&#39;Cymraeg&#39;,&#39;cz&#39;=>&#39;Česky&#39;,&#39;de&#39;=>&#39;Deutsch&#39;,&#39;el&#39;=>&#39;Ελληνικα&#39;,&#39;en&#39;=>&#39;English&#39;,&#39;es&#39;=>&#39;Español&#39;,&#39;et&#39;=>&#39;Eesti&#39;,&#39;fi&#39;=>&#39;Suomi&#39;,&#39;fr&#39;=>&#39;Français&#39;,&#39;gl&#39;=>&#39;Galego&#39;,&#39;he&#39;=>&#39;עברית&#39;,&#39;hr&#39; => &#39;Hrvatski&#39;,&#39;hu&#39; => &#39;Magyar&#39;,&#39;in&#39;=>&#39;Bahasa Indonesia&#39;,&#39;it&#39;=>&#39;Italiano&#39;,&#39;ja&#39;=>&#39;日本語&#39;,&#39;ka&#39;=>&#39;ქართული&#39;,&#39;kr&#39;=>&#39;한글&#39;,&#39;nl&#39;=>&#39;Nederlands&#39;,&#39;no&#39;=>&#39;Norsk&#39;,&#39;pl&#39;=>&#39;Polski&#39;,&#39;ro&#39;=>&#39;România&#39;,&#39;ru&#39;=>&#39;Русский&#39;,&#39;sk&#39;=>&#39;Slovenčina&#39;,&#39;sl&#39;=>&#39;Slovensko&#39;,&#39;sr&#39;=>&#39;Srpski&#39;,&#39;sv&#39;=>&#39;Svenska&#39;,&#39;tr&#39;=>&#39;Türkçe&#39;,&#39;uk&#39;=>&#39;Українська&#39;,&#39;zh&#39;=>&#39;中文 (简体)&#39;, &#39;zh-tw&#39;=>&#39;中文 (繁體)&#39;);

// Available styles:
$config[&#39;styleAvailable&#39;] = array(&#39;pbboard&#39;,&#39;beige&#39;,&#39;black&#39;,&#39;grey&#39;,&#39;Oxygen&#39;,&#39;Lithium&#39;,&#39;Sulfur&#39;,&#39;Cobalt&#39;,&#39;Mercury&#39;,&#39;Radium&#39;,&#39;prosilver&#39;,&#39;subsilver2&#39;,&#39;subblack2&#39;,&#39;subSilver&#39;,&#39;Core&#39;,&#39;MyBB&#39;,&#39;vBulletin&#39;);
// Default style:
$config[&#39;styleDefault&#39;] = &#39;pbboard&#39;;

// The encoding used for the XHTML content:
$config[&#39;contentEncoding&#39;] = &#39;UTF-8&#39;;
// The encoding of the data source, like userNames and channelNames:
$config[&#39;sourceEncoding&#39;] = &#39;UTF-8&#39;;
// The content-type of the XHTML page (e.g. \"text/html\", will be set dependent on browser capabilities if set to null):
$config[&#39;contentType&#39;] = null;

// Session name used to identify the session cookie:
$config[&#39;sessionName&#39;] = &#39;ajax_chat&#39;;
// Prefix added to every session key:
$config[&#39;sessionKeyPrefix&#39;] = &#39;ajaxChat&#39;;
// The lifetime of the language, style and setting cookies in days:
$config[&#39;sessionCookieLifeTime&#39;] = 365;
// The path of the cookies, &#39;/&#39; allows to read the cookies from all directories:
$config[&#39;sessionCookiePath&#39;] = &#39;/&#39;;
// The domain of the cookies, defaults to the hostname of the server if set to null:
$config[&#39;sessionCookieDomain&#39;] = null;
// If enabled, cookies must be sent over secure (SSL/TLS encrypted) connections:
$config[&#39;sessionCookieSecure&#39;] = null;

// Default channelName used together with the defaultChannelID if no channel with this ID exists:
$config[&#39;defaultChannelName&#39;] = &#39;Public&#39;;
// ChannelID used when no channel is given:
$config[&#39;defaultChannelID&#39;] = 0;
// Defines an array of channelIDs (e.g. array(0, 1)) to limit the number of available channels, will be ignored if set to null:
$config[&#39;limitChannelList&#39;] = null;

// UserID plus this value are private channels (this is also the max userID and max channelID):
$config[&#39;privateChannelDiff&#39;] = 500000000;
// UserID plus this value are used for private messages:
$config[&#39;privateMessageDiff&#39;] = 1000000000;

// Enable/Disable private Channels:
$config[&#39;allowPrivateChannels&#39;] = true;
// Enable/Disable private Messages:
$config[&#39;allowPrivateMessages&#39;] = true;

// Private channels should be distinguished by either a prefix or a suffix or both (no whitespace):
$config[&#39;privateChannelPrefix&#39;] = &#39;[&#39;;
// Private channels should be distinguished by either a prefix or a suffix or both (no whitespace):
$config[&#39;privateChannelSuffix&#39;] = &#39;]&#39;;

// If enabled, users will be logged in automatically as guest users (if allowed), if not authenticated:
$config[&#39;forceAutoLogin&#39;] = false;

// Defines if login/logout and channel enter/leave are displayed:
$config[&#39;showChannelMessages&#39;] = true;

// If enabled, the chat will only be accessible for the admin:
$config[&#39;chatClosed&#39;] = false;
// Defines the timezone offset in seconds (-12*60*60 to 12*60*60) - if null, the server timezone is used:
$config[&#39;timeZoneOffset&#39;] = null;
// Defines the hour of the day the chat is opened (0 - closingHour):
$config[&#39;openingHour&#39;] = 0;
// Defines the hour of the day the chat is closed (openingHour - 24):
$config[&#39;closingHour&#39;] = 24;
// Defines the weekdays the chat is opened (0=Sunday to 6=Saturday):
$config[&#39;openingWeekDays&#39;] = array(0,1,2,3,4,5,6);

// Enable/Disable guest logins:
$config[&#39;allowGuestLogins&#39;] = false;
// Enable/Disable write access for guest users - if disabled, guest users may not write messages:
$config[&#39;allowGuestWrite&#39;] = false;
// Allow/Disallow guest users to choose their own userName:
$config[&#39;allowGuestUserName&#39;] = false;
// Guest users should be distinguished by either a prefix or a suffix or both (no whitespace):
$config[&#39;guestUserPrefix&#39;] = &#39;(&#39;;
// Guest users should be distinguished by either a prefix or a suffix or both (no whitespace):
$config[&#39;guestUserSuffix&#39;] = &#39;)&#39;;
// Guest userIDs may not be lower than this value (and not higher than privateChannelDiff):
$config[&#39;minGuestUserID&#39;] = 400000000;

// Allow/Disallow users to change their userName (Nickname):
$config[&#39;allowNickChange&#39;] = false;
// Changed userNames should be distinguished by either a prefix or a suffix or both (no whitespace):
$config[&#39;changedNickPrefix&#39;] = &#39;(&#39;;
// Changed userNames should be distinguished by either a prefix or a suffix or both (no whitespace):
$config[&#39;changedNickSuffix&#39;] = &#39;)&#39;;

// Allow/Disallow registered users to delete their own messages:
$config[&#39;allowUserMessageDelete&#39;] = true;

// The userID used for ChatBot messages:
$config[&#39;chatBotID&#39;] = 2147483647;
// The userName used for ChatBot messages
$config[&#39;chatBotName&#39;] = &#39;ChatBot&#39;;

// Minutes until a user is declared inactive (last status update) - the minimum is 2 minutes:
$config[&#39;inactiveTimeout&#39;] = 2;
// Interval in minutes to check for inactive users:
$config[&#39;inactiveCheckInterval&#39;] = 5;

// Defines if messages are shown which have been sent before the user entered the channel:
$config[&#39;requestMessagesPriorChannelEnter&#39;] = true;
// Defines an array of channelIDs (e.g. array(0, 1)) for which the previous setting is always true (will be ignored if set to null):
$config[&#39;requestMessagesPriorChannelEnterList&#39;] = null;
// Max time difference in hours for messages to display on each request:
$config[&#39;requestMessagesTimeDiff&#39;] = 24;
// Max number of messages to display on each request:
$config[&#39;requestMessagesLimit&#39;] = 10;

// Max users in chat (does not affect moderators or admins):
$config[&#39;maxUsersLoggedIn&#39;] = 100;
// Max userName length:
$config[&#39;userNameMaxLength&#39;] = 16;
// Max messageText length:
$config[&#39;messageTextMaxLength&#39;] = 1040;
// Defines the max number of messages a user may send per minute:
$config[&#39;maxMessageRate&#39;] = 20;

// Defines the default time in minutes a user gets banned if kicked from a moderator without ban minutes parameter:
$config[&#39;defaultBanTime&#39;] = 5;

// Argument that is given to the handleLogout JavaScript method:
$config[&#39;logoutData&#39;] = &#39;./?logout=true&#39;;

// If true, checks if the user IP is the same when logged in:
$config[&#39;ipCheck&#39;] = false;

// Defines the max time difference in hours for logs when no period or search condition is given:
$config[&#39;logsRequestMessagesTimeDiff&#39;] = 1;
// Defines how many logs are returned on each logs request:
$config[&#39;logsRequestMessagesLimit&#39;] = 10;

// Defines the earliest year used for the logs selection:
$config[&#39;logsFirstYear&#39;] = 2007;

// Defines if old messages are purged from the database:
$config[&#39;logsPurgeLogs&#39;] = false;
// Max time difference in days for old messages before they are purged from the database:
$config[&#39;logsPurgeTimeDiff&#39;] = 365;

// Defines if registered users (including moderators) have access to the logs (admins are always granted access):
$config[&#39;logsUserAccess&#39;] = false;
// Defines a list of channels (e.g. array(0, 1)) to limit the logs access for registered users, includes all channels the user has access to if set to null:
$config[&#39;logsUserAccessChannelList&#39;] = null;

// Defines if the socket server is enabled:
$config[&#39;socketServerEnabled&#39;] = false;
// Defines the hostname of the socket server used to connect from client side (the server hostname is used if set to null):
$config[&#39;socketServerHost&#39;] = null;
// Defines the IP of the socket server used to connect from server side to broadcast update messages:
$config[&#39;socketServerIP&#39;] = &#39;127.0.0.1&#39;;
// Defines the port of the socket server:
$config[&#39;socketServerPort&#39;] = 1935;
// This ID can be used to distinguish between different chat installations using the same socket server:
$config[&#39;socketServerChatID&#39;] = 0;
?>


My config setting is

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

// Define AJAX Chat user roles:
define(&#39;AJAX_CHAT_CHATBOT&#39;,	   4);
define(&#39;AJAX_CHAT_ADMIN&#39;,	   3);
define(&#39;AJAX_CHAT_MODERATOR&#39;,    2);
define(&#39;AJAX_CHAT_USER&#39;,	   1);
define(&#39;AJAX_CHAT_GUEST&#39;,	   0);
//error_reporting(0);
// AJAX Chat config parameters:
$config = array();

// Database connection values:
include(&#39;engine/config.php&#39;);
// Database connection values:
$config[&#39;dbConnection&#39;] = array();
// Database hostname:
$config[&#39;dbConnection&#39;][&#39;host&#39;] = $config[&#39;db&#39;][&#39;localhost&#39;];
// Database username:
$config[&#39;dbConnection&#39;][&#39;user&#39;] =
$config[&#39;db&#39;][&#39;urdugrou_UGchat&#39;];
// Database password:
$config[&#39;dbConnection&#39;][&#39;pass&#39;] = $config[&#39;db&#39;][&#39;123456789&#39;];
// Database name:
$config[&#39;dbConnection&#39;][&#39;name&#39;] = $config[&#39;db&#39;][&#39;urdugrou_urduchat&#39;];
// Database type:
$config[&#39;dbConnection&#39;][&#39;type&#39;] = null;
// Database link:
$config[&#39;dbConnection&#39;][&#39;link&#39;] = null;

// Database table names:
$config[&#39;dbTableNames&#39;] = array();
$config[&#39;dbTableNames&#39;][&#39;online&#39;]	   = &#39;ajax_chat_online&#39;;
$config[&#39;dbTableNames&#39;][&#39;messages&#39;]	   = &#39;ajax_chat_messages&#39;;
$config[&#39;dbTableNames&#39;][&#39;bans&#39;]		  = &#39;ajax_chat_bans&#39;;
$config[&#39;dbTableNames&#39;][&#39;invitations&#39;]    = &#39;ajax_chat_invitations&#39;;

// Available languages:
$config[&#39;langAvailable&#39;] = array(&#39;ar&#39;,&#39;bg&#39;,&#39;bp&#39;,&#39;ca&#39;,&#39;cy&#39;,&#39;cz&#39;,&#39;de&#39;,&#39;el&#39;,&#39;en&#39;,&#39;es&#39;,&#39;et&#39;,&#39;fi&#39;,&#39;fr&#39;,&#39;gl&#39;,&#39;he&#39;,&#39;hr&#39;,&#39;hu&#39;,&#39;in&#39;,&#39;it&#39;,&#39;ka&#39;,&#39;kr&#39;,&#39;ja&#39;,&#39;nl&#39;,&#39;no&#39;,&#39;pl&#39;,&#39;ro&#39;,&#39;ru&#39;,&#39;sk&#39;,&#39;sl&#39;,&#39;sr&#39;,&#39;sv&#39;,&#39;tr&#39;,&#39;uk&#39;,&#39;zh&#39;,&#39;zh-tw&#39;);
// Default language:
$config[&#39;langDefault&#39;] = &#39;ar&#39;;
// Language names:
$config[&#39;langNames&#39;] = array(&#39;ar&#39;=>&#39;عربي&#39;,&#39;bg&#39;=>&#39;Български&#39;,&#39;bp&#39;=>&#39;Português (Brasil)&#39;,&#39;ca&#39;=>&#39;Català&#39;,&#39;cy&#39;=>&#39;Cymraeg&#39;,&#39;cz&#39;=>&#39;Česky&#39;,&#39;de&#39;=>&#39;Deutsch&#39;,&#39;el&#39;=>&#39;Ελληνικα&#39;,&#39;en&#39;=>&#39;English&#39;,&#39;es&#39;=>&#39;Español&#39;,&#39;et&#39;=>&#39;Eesti&#39;,&#39;fi&#39;=>&#39;Suomi&#39;,&#39;fr&#39;=>&#39;Français&#39;,&#39;gl&#39;=>&#39;Galego&#39;,&#39;he&#39;=>&#39;עברית&#39;,&#39;hr&#39; => &#39;Hrvatski&#39;,&#39;hu&#39; => &#39;Magyar&#39;,&#39;in&#39;=>&#39;Bahasa Indonesia&#39;,&#39;it&#39;=>&#39;Italiano&#39;,&#39;ja&#39;=>&#39;日本語&#39;,&#39;ka&#39;=>&#39;ქართული&#39;,&#39;kr&#39;=>&#39;한글&#39;,&#39;nl&#39;=>&#39;Nederlands&#39;,&#39;no&#39;=>&#39;Norsk&#39;,&#39;pl&#39;=>&#39;Polski&#39;,&#39;ro&#39;=>&#39;România&#39;,&#39;ru&#39;=>&#39;Русский&#39;,&#39;sk&#39;=>&#39;Slovenčina&#39;,&#39;sl&#39;=>&#39;Slovensko&#39;,&#39;sr&#39;=>&#39;Srpski&#39;,&#39;sv&#39;=>&#39;Svenska&#39;,&#39;tr&#39;=>&#39;Türkçe&#39;,&#39;uk&#39;=>&#39;Українська&#39;,&#39;zh&#39;=>&#39;中文 (简体)&#39;, &#39;zh-tw&#39;=>&#39;中文 (繁體)&#39;);

// Available styles:
$config[&#39;styleAvailable&#39;] = array(&#39;pbboard&#39;,&#39;beige&#39;,&#39;black&#39;,&#39;grey&#39;,&#39;Oxygen&#39;,&#39;Lithium&#39;,&#39;Sulfur&#39;,&#39;Cobalt&#39;,&#39;Mercury&#39;,&#39;Radium&#39;,&#39;prosilver&#39;,&#39;subsilver2&#39;,&#39;subblack2&#39;,&#39;subSilver&#39;,&#39;Core&#39;,&#39;MyBB&#39;,&#39;vBulletin&#39;);
// Default style:
$config[&#39;styleDefault&#39;] = &#39;pbboard&#39;;

// The encoding used for the XHTML content:
$config[&#39;contentEncoding&#39;] = &#39;UTF-8&#39;;
// The encoding of the data source, like userNames and channelNames:
$config[&#39;sourceEncoding&#39;] = &#39;UTF-8&#39;;
// The content-type of the XHTML page (e.g. \"text/html\", will be set dependent on browser capabilities if set to null):
$config[&#39;contentType&#39;] = null;

// Session name used to identify the session cookie:
$config[&#39;sessionName&#39;] = &#39;ajax_chat&#39;;
// Prefix added to every session key:
$config[&#39;sessionKeyPrefix&#39;] = &#39;ajaxChat&#39;;
// The lifetime of the language, style and setting cookies in days:
$config[&#39;sessionCookieLifeTime&#39;] = 365;
// The path of the cookies, &#39;/&#39; allows to read the cookies from all directories:
$config[&#39;sessionCookiePath&#39;] = &#39;/&#39;;
// The domain of the cookies, defaults to the hostname of the server if set to null:
$config[&#39;sessionCookieDomain&#39;] = null;
// If enabled, cookies must be sent over secure (SSL/TLS encrypted) connections:
$config[&#39;sessionCookieSecure&#39;] = null;

// Default channelName used together with the defaultChannelID if no channel with this ID exists:
$config[&#39;defaultChannelName&#39;] = &#39;Public&#39;;
// ChannelID used when no channel is given:
$config[&#39;defaultChannelID&#39;] = 0;
// Defines an array of channelIDs (e.g. array(0, 1)) to limit the number of available channels, will be ignored if set to null:
$config[&#39;limitChannelList&#39;] = null;

// UserID plus this value are private channels (this is also the max userID and max channelID):
$config[&#39;privateChannelDiff&#39;] = 500000000;
// UserID plus this value are used for private messages:
$config[&#39;privateMessageDiff&#39;] = 1000000000;

// Enable/Disable private Channels:
$config[&#39;allowPrivateChannels&#39;] = true;
// Enable/Disable private Messages:
$config[&#39;allowPrivateMessages&#39;] = true;

// Private channels should be distinguished by either a prefix or a suffix or both (no whitespace):
$config[&#39;privateChannelPrefix&#39;] = &#39;[&#39;;
// Private channels should be distinguished by either a prefix or a suffix or both (no whitespace):
$config[&#39;privateChannelSuffix&#39;] = &#39;]&#39;;

// If enabled, users will be logged in automatically as guest users (if allowed), if not authenticated:
$config[&#39;forceAutoLogin&#39;] = false;

// Defines if login/logout and channel enter/leave are displayed:
$config[&#39;showChannelMessages&#39;] = true;

// If enabled, the chat will only be accessible for the admin:
$config[&#39;chatClosed&#39;] = false;
// Defines the timezone offset in seconds (-12*60*60 to 12*60*60) - if null, the server timezone is used:
$config[&#39;timeZoneOffset&#39;] = null;
// Defines the hour of the day the chat is opened (0 - closingHour):
$config[&#39;openingHour&#39;] = 0;
// Defines the hour of the day the chat is closed (openingHour - 24):
$config[&#39;closingHour&#39;] = 24;
// Defines the weekdays the chat is opened (0=Sunday to 6=Saturday):
$config[&#39;openingWeekDays&#39;] = array(0,1,2,3,4,5,6);

// Enable/Disable guest logins:
$config[&#39;allowGuestLogins&#39;] = false;
// Enable/Disable write access for guest users - if disabled, guest users may not write messages:
$config[&#39;allowGuestWrite&#39;] = false;
// Allow/Disallow guest users to choose their own userName:
$config[&#39;allowGuestUserName&#39;] = false;
// Guest users should be distinguished by either a prefix or a suffix or both (no whitespace):
$config[&#39;guestUserPrefix&#39;] = &#39;(&#39;;
// Guest users should be distinguished by either a prefix or a suffix or both (no whitespace):
$config[&#39;guestUserSuffix&#39;] = &#39;)&#39;;
// Guest userIDs may not be lower than this value (and not higher than privateChannelDiff):
$config[&#39;minGuestUserID&#39;] = 400000000;

// Allow/Disallow users to change their userName (Nickname):
$config[&#39;allowNickChange&#39;] = false;
// Changed userNames should be distinguished by either a prefix or a suffix or both (no whitespace):
$config[&#39;changedNickPrefix&#39;] = &#39;(&#39;;
// Changed userNames should be distinguished by either a prefix or a suffix or both (no whitespace):
$config[&#39;changedNickSuffix&#39;] = &#39;)&#39;;

// Allow/Disallow registered users to delete their own messages:
$config[&#39;allowUserMessageDelete&#39;] = true;

// The userID used for ChatBot messages:
$config[&#39;chatBotID&#39;] = 2147483647;
// The userName used for ChatBot messages
$config[&#39;chatBotName&#39;] = &#39;ChatBot&#39;;

// Minutes until a user is declared inactive (last status update) - the minimum is 2 minutes:
$config[&#39;inactiveTimeout&#39;] = 2;
// Interval in minutes to check for inactive users:
$config[&#39;inactiveCheckInterval&#39;] = 5;

// Defines if messages are shown which have been sent before the user entered the channel:
$config[&#39;requestMessagesPriorChannelEnter&#39;] = true;
// Defines an array of channelIDs (e.g. array(0, 1)) for which the previous setting is always true (will be ignored if set to null):
$config[&#39;requestMessagesPriorChannelEnterList&#39;] = null;
// Max time difference in hours for messages to display on each request:
$config[&#39;requestMessagesTimeDiff&#39;] = 24;
// Max number of messages to display on each request:
$config[&#39;requestMessagesLimit&#39;] = 10;

// Max users in chat (does not affect moderators or admins):
$config[&#39;maxUsersLoggedIn&#39;] = 100;
// Max userName length:
$config[&#39;userNameMaxLength&#39;] = 16;
// Max messageText length:
$config[&#39;messageTextMaxLength&#39;] = 1040;
// Defines the max number of messages a user may send per minute:
$config[&#39;maxMessageRate&#39;] = 20;

// Defines the default time in minutes a user gets banned if kicked from a moderator without ban minutes parameter:
$config[&#39;defaultBanTime&#39;] = 5;

// Argument that is given to the handleLogout JavaScript method:
$config[&#39;logoutData&#39;] = &#39;./?logout=true&#39;;

// If true, checks if the user IP is the same when logged in:
$config[&#39;ipCheck&#39;] = false;

// Defines the max time difference in hours for logs when no period or search condition is given:
$config[&#39;logsRequestMessagesTimeDiff&#39;] = 1;
// Defines how many logs are returned on each logs request:
$config[&#39;logsRequestMessagesLimit&#39;] = 10;

// Defines the earliest year used for the logs selection:
$config[&#39;logsFirstYear&#39;] = 2007;

// Defines if old messages are purged from the database:
$config[&#39;logsPurgeLogs&#39;] = false;
// Max time difference in days for old messages before they are purged from the database:
$config[&#39;logsPurgeTimeDiff&#39;] = 365;

// Defines if registered users (including moderators) have access to the logs (admins are always granted access):
$config[&#39;logsUserAccess&#39;] = false;
// Defines a list of channels (e.g. array(0, 1)) to limit the logs access for registered users, includes all channels the user has access to if set to null:
$config[&#39;logsUserAccessChannelList&#39;] = null;

// Defines if the socket server is enabled:
$config[&#39;socketServerEnabled&#39;] = false;
// Defines the hostname of the socket server used to connect from client side (the server hostname is used if set to null):
$config[&#39;socketServerHost&#39;] = null;
// Defines the IP of the socket server used to connect from server side to broadcast update messages:
$config[&#39;socketServerIP&#39;] = &#39;127.0.0.1&#39;;
// Defines the port of the socket server:
$config[&#39;socketServerPort&#39;] = 1935;
// This ID can be used to distinguish between different chat installations using the same socket server:
$config[&#39;socketServerChatID&#39;] = 0;
?>


my database information is

CODE

// Database hostname:
$config[&amp;#39;dbConnection&amp;#39;][&amp;#39;host&amp;#39;] = $config[&amp;#39;db&amp;#39;][&amp;#39;localhost&amp;#39;];
// Database username:
$config[&amp;#39;dbConnection&amp;#39;][&amp;#39;user&amp;#39;] =
$config[&amp;#39;db&amp;#39;][&amp;#39;urdugrou_UGchat&amp;#39;];
// Database password:
$config[&amp;#39;dbConnection&amp;#39;][&amp;#39;pass&amp;#39;] = $config[&amp;#39;db&amp;#39;][&amp;#39;123456789&amp;#39;];
// Database name:
$config[&amp;#39;dbConnection&amp;#39;][&amp;#39;name&amp;#39;] = $config[&amp;#39;db&amp;#39;][&amp;#39;urdugrou_urduchat&amp;#39;];


Where i do mistake..... plz tell me





تم تحرير المشاركة بواسطة :zeeshan512 بتاريخ:13-09-2012 02:42 صباحاً



الساعة الآن 08:09 AM