🚀 Install Live Chat Configuration

📊 Trạng thái hiện tại:

Config KeyTrạng tháiGiá trị hiện tại
admin_live_chat_url❌ Chưa cóChưa cài đặt
max_messages_per_session❌ Chưa cóChưa cài đặt
auto_greeting_enabled❌ Chưa cóChưa cài đặt
live_chat_enabled❌ Chưa cóChưa cài đặt
live_chat_access_key❌ Chưa cóChưa cài đặt

🔧 Đang cài đặt config thiếu...

✅ Đã thêm: admin_live_chat_url = admin_live_chat.php
✅ Đã thêm: max_messages_per_session = 50
✅ Đã thêm: auto_greeting_enabled = 1
✅ Đã thêm: live_chat_enabled = 1
✅ Đã thêm: live_chat_access_key = DTD2026
🎉 HOÀN THÀNH!
Đã cài đặt thành công 5 config cho Live Chat.

✅ Kết quả cuối cùng:

Config KeyValueDescriptionCreated At
admin_live_chat_urladmin_live_chat.phpURL của admin live chat endpoint2026-04-23 19:14:53
auto_greeting_enabled1Bật/tắt lời chào AI tự động (1=on, 0=off)2026-04-23 19:14:53
live_chat_access_key***2026 (ẩn bảo mật)Mã truy cập Live Chat (Access Key)2026-04-23 19:14:53
live_chat_enabled1Bật/tắt Live Chat (1=on, 0=off)2026-04-23 19:14:53
max_messages_per_session50Số tin nhắn tối đa giữ lại2026-04-23 19:14:53

🔑 Hướng dẫn thay đổi Access Key:

⚠️ LƯU Ý: Để thay đổi mã truy cập Live Chat, chạy SQL sau trong phpMyAdmin:

UPDATE system_config
SET config_value = 'YOUR_NEW_KEY'
WHERE config_key = 'live_chat_access_key';

Thay YOUR_NEW_KEY bằng mã truy cập mới của bạn.
← Quay lại Dashboard