The Arcive of vBulletin Modifications Site. |
|
Play Sound When Private Message Received - the Amy Way Details »»
|
|||||||||||||||||||||||||||
|
Play Sound When Private Message Received - the Amy Way
Developer Last Online: Nov 2013
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 Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Excellent work there, young lady. Let me be the first to (c)lick the install button.
|
|
#3
|
|||
|
|||
|
You see, Amy? Now who's flirting with you?
![]() Nice
|
|
#4
|
||||
|
||||
|
Yeah, but I'm old and harmless. I can't even handle what I have at home let alone anything else.
|
|
#5
|
||||
|
||||
|
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>
<td bgcolor="{firstaltcolor}"><normalfont><b>Pop up a box when you receive a Private Message?</b></normalfont><br>
<smallfont>This will pop up a small warning box when you receive a Private Message asking whether you want to view the message.</smallfont></td>
<td bgcolor="{firstaltcolor}"><normalfont>
<input type="radio" name="pmpopup" $pmpopupchecked value="yes"> yes
<input type="radio" name="pmpopup" $pmpopupnotchecked value="no"> no
</normalfont></td>
</tr>
Add after: Code:
<tr>
<td bgcolor="{firstaltcolor}"><normalfont><b>Play a sound when you receive a Private Message?</b></normalfont><br>
<smallfont>This will play up a sound when you receive a Private Message.</smallfont></td>
<td bgcolor="{firstaltcolor}"><normalfont>
<input type="radio" name="pmsound" $pmsoundchecked value="yes"> yes
<input type="radio" name="pmsound" $pmsoundnotchecked value="no"> no
</normalfont></td>
</tr>
|
|
#6
|
||||
|
||||
|
See what happens when you guys flirt? I get distracted and make mistakes
![]() Amy |
|
#7
|
||||
|
||||
|
Sweet hack.
*installed. |
|
#8
|
|||
|
|||
|
Amy.. I cannot get this to work...
No sound.. nothing |
|
#9
|
|||
|
|||
|
I checked my files.
and it looks like I did everything correctly.. and yes I checked recieve sound pm in modify options |
|
#10
|
||||
|
||||
|
Quote:
In youre header template, you need to put : Code:
$headsound Off to update the documentation. Amy |
![]() |
|
|