![]() |
Play Sound When Private Message Received - the Amy Way
This hack is based off of one by EvilLS1 who also kindly contributed the wav file.
His hack plays a sound when the user visits the forumhome page if they have a new PM. My version plays the sound on any page much the same as the PM popup works. In addition, my version has a usercp option for members to turn off sounds if they wish. It's a rather easy hack to install. Amy |
Excellent work there, young lady. Let me be the first to (c)lick the install button. ;)
|
You see, Amy? Now who's flirting with you? :p
Nice :) |
Yeah, but I'm old and harmless. I can't even handle what I have at home let alone anything else. ;)
|
I left out two steps in the documentation earlier. The zip is updated, but if you already installed, here is the rest:
Run this query: ALTER TABLE `user` ADD `pmsound` TINYINT DEFAULT '1' NOT NULL; In the modifyoptions template Find: Code:
<tr> Add after: Code:
<tr> |
See what happens when you guys flirt? I get distracted and make mistakes :D
Amy |
Sweet hack.
*installed. |
Amy.. I cannot get this to work...
No sound.. nothing |
I checked my files.
and it looks like I did everything correctly.. and yes I checked recieve sound pm in modify options |
Quote:
In youre header template, you need to put : Code:
$headsound Off to update the documentation. Amy |
All times are GMT. The time now is 05:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|