Documentation

Chat
in package

Configuration file: Config\Modules\Chat.

Table of Contents

$CHAT_ROWS_LIMIT  : mixed
Number of recent chat entries
$DEFAULT_SOUND_NOTIFICATION  : mixed
Default sound notification.
$dynamicAddingRooms  : mixed
Show add button in left panel favorites rooms.
$MAX_LENGTH_MESSAGE  : mixed
The maximum length of the message, If you want to increase the number of characters, you must also change it in the database (u_yf_chat_messages_crm, u_yf_chat_messages_group, u_yf_chat_messages_global, etc.,).
$REFRESH_MESSAGE_TIME  : mixed
What time to update the new message, number of milliseconds. Default: 2000
$REFRESH_ROOM_TIME  : mixed
What time to update the rooms, number of milliseconds. Default: 10000
$REFRESH_TIME_GLOBAL  : mixed
Refresh time for global timer.
$SHOW_NUMBER_OF_NEW_MESSAGES  : mixed
Show the number of new messages.
$userRoomPin  : mixed
True - user rooms can be pinned/unpinned, false - all user rooms are pinned.

Properties

$CHAT_ROWS_LIMIT

Number of recent chat entries

public static mixed $CHAT_ROWS_LIMIT = 20

$DEFAULT_SOUND_NOTIFICATION

Default sound notification.

public static mixed $DEFAULT_SOUND_NOTIFICATION = true

$dynamicAddingRooms

Show add button in left panel favorites rooms.

public static mixed $dynamicAddingRooms = true

$MAX_LENGTH_MESSAGE

The maximum length of the message, If you want to increase the number of characters, you must also change it in the database (u_yf_chat_messages_crm, u_yf_chat_messages_group, u_yf_chat_messages_global, etc.,).

public static mixed $MAX_LENGTH_MESSAGE = 2000

$REFRESH_MESSAGE_TIME

What time to update the new message, number of milliseconds. Default: 2000

public static mixed $REFRESH_MESSAGE_TIME = 2000

$REFRESH_ROOM_TIME

What time to update the rooms, number of milliseconds. Default: 10000

public static mixed $REFRESH_ROOM_TIME = 100000

$REFRESH_TIME_GLOBAL

Refresh time for global timer.

public static mixed $REFRESH_TIME_GLOBAL = 5000

$SHOW_NUMBER_OF_NEW_MESSAGES

Show the number of new messages.

public static mixed $SHOW_NUMBER_OF_NEW_MESSAGES = true

$userRoomPin

True - user rooms can be pinned/unpinned, false - all user rooms are pinned.

public static mixed $userRoomPin = true

        

Search results