- Compatible XF Versions
- 2.2
- Visible Branding
- No
In your PAGE_CONTAINER template look for:
And add below:
If you want only 1 sound for both put this code instead:
PS: You can change the sound links at your convenience.
You can also add an .mp3 link like on the chatBox.
HTML:
<body data-template="{$template}">
HTML:
<xf:if is="{$xf.visitor.conversations_unread}">
<audio src="http://s1download-universal-soundbank.com/mp3/sounds/9756.mp3" autoplay></audio>
</xf:if>
<xf:if is="{$xf.visitor.alerts_unread}">
<audio src="http://s1download-universal-soundbank.com/mp3/sounds/newemail.mp3" autoplay></audio>
</xf:if>
HTML:
<xf:if is="{$xf.visitor.conversations_unread} OR {$xf.visitor.alerts_unread}">
<audio src="http://s1download-universal-soundbank.com/mp3/sounds/9756.mp3" autoplay></audio>
</xf:if>
You can also add an .mp3 link like on the chatBox.