- Compatible XF Versions 1.x
- 1.2, 1.3
- Additional Requirements
- TaigaChat Pro
Note: This mod will play the sound on each site you are displaying TaigaChat Pro at.
Note: Sounds will be loaded and buffered after the first message has been sent/received.
Note: Users can decide whether they want to hear the notification sound or not via custom user field choice.
1. Step: Download and Upload
Download the resource and upload the files inside the upload folder to your forum's root directory.
2. Step: Create the new custom user field
ACP > Users > Custom User Fields > +Create New Field
Field ID: SoundChat
Title: Alert sounds in the chat
Description: Enable / disable sound in chat
Display Location: Preferences
Options for Choice Fields:
Field Type: Radio Buttons
Possible Choices: yes, no
[x] Field is required
[x] Show during registration
[x] User editable
3. Step: Copy and Rename taigachat.js
COPY THE FILE: taigachat.js
(It's inside yourdomain/js/dark/taigachat.js)
AND RENAME IT TO: taigachatSound.js
4. Step: Edit taigachatSound.js
OPEN YOUR NEW FILE: taigachatSound.js
5. Step: Edit the templates dark_taigachat_chatbox and dark_taigachat_popup
ACP > Appearance > Template > dark_taigachat_chatbox
ACP > Appearance > Template > dark_taigachat_popup
Done! Go to your Account Settings --> Preferences and enable alert sounds in chat. Then try sending something in your Taigachat Pro. You should hear a sound now!