![]() |
Private Message Sound Notification
Private Message Sound Notification plays a random .wav file whenever your users recieve a Private Message. I have included 10 .wav files in the zip that you can use or you can find and replace the .wav files with any file(s) of your choosing.
This is installed at: http://www.lssix.com (You will have to register and just PM yourself to test.) - This used to be installed on my site running vB2 and was originally requested by myself and written by EvilLS1. DATABASE QUERY (1) FILE MODIFICATIONS (2)
TEMPLATE MODIFICATIONS (2)
ADD PHRASE (1) FEATURES:
* Last Updated 06/20/2004 For more sounds click here - Thanks to colicab-d for providing a few more sounds. :) |
I'll add this one 350. Thanks! :)
|
*installed* :)
|
Installing and clicking! ;)
|
Nice Hack!
*installed and klicked* :D |
Installing now! Thanks...nice one...
|
Didn't realise anyone else would want this, I wasn't even going to release it because I didn't want to waste anyone's time. Thank EvilLS1 for talking me into it. https://vborg.vbsupport.ru/external/2004/05/1.gif
Glad everyone likes it. :) |
I love this hack! Installed in about 5 minutes without a hitch... Totally cool bro..
Thanks |
Quote:
|
Great hack heres some new sounds :)
Classic Beep Txt Messge |
is there an AOL sounds package ?
|
Hm, plays also sound when I go in the Usercp and click any link... every time a new page is loaded...???
|
This is a great hack but I agree with the above comment... Is there anyway to make this so it will play ONCE per session? You have to listen to it 3 times before you actually read your message.
|
I did this so it played on every page no matter what page your users were viewing.
You can take the $sound out of the navbar template and just place it in the FORUMHOME template anywhere you wish. If you do that it will only play the wav file when they're on the Forum's home page. Since it's a random sound I don't think users mind hearing a different sound two times more before reading thier message. And with the option to turn it off they can disable it if choosen. Adding the option not to play a sound when entering the private messages would require much more hacking and not really worth it. ;) |
Quote:
What are you looking for? Here you can find some AOL "YOU GOT MAIL" type message .wav files. :) http://www.emailgifsandsounds.com/index-eng.html |
I've also noticed about 3 or 4 of you that posted haven't clicked the "installed" link. :) Please click it if you plan to keep it.
As for the sound being played after you enter the Private Message panel I'll look into changing that. Pretty tired now though and the weekend ahead I doubt I'll be able to get to it until Monday (if I can even do it at all.. lol) |
Quote:
Code:
<if condition="THIS_SCRIPT!='private'"> Code:
<if condition="THIS_SCRIPT!='private' and THIS_SCRIPT!='usercp'"> |
Oh yeah.. never thought of that. Too tired lastnight. Thnx Evil. :)
First post updated. :) |
Installed.
Thanks M8 :) |
Perhaps there is an easy way, that the sound only plays once, so if the user does not read the mail it is still playing until he reads it?
|
This is a good thing. At lease by playing the sound all the time, it makes them clear there inbox.
Quote:
|
Are you asking if you can make the sound play over and over?
Or are you asking that the sound only be played once? I'm not sure I understand the question but both of those are easily possible. :) |
Works perfect for me, thanks
|
valuable one!
|
>only be played once
Me and my english :D the last one... only one time to play. Perhaps in the moment the popup box popups :D |
i agree, it should only play once really, any more than that and it would get disabled, which means no point in installing. great hack. if it does only play once until you read it, then rock on, ill install and click the button. keep up the great work. like your site btw
|
I'm not sure whats going on, but I get this error every time I try change the PM sound option in the usercp:
Invalid SQL: UPDATE user SET showvbcode = 2, pmpopup = 1, pmsound = , maxposts = -1, daysprune = 0, timezoneoffset = '0', startofweek = 1, languageid = 0, threadedmode = 0, autosubscribe = 1, options = 35159 WHERE userid = 2 The only thing I think I did different was run the initial SQL query from the admincp rather than from phpMyAdmin like I ususally do... If I look there is nothing in the pmsound table for any user.. The sound itself works fine though. |
Hi chevy,
Do you know the code to only make it play once full stop, once I have that, id gladly install it. Thanks |
Sorry guys, been really busy with work and at home,
Revenge and alfaowner try putting this code in global.php: Code:
if ($bbuserinfo['pmpopup'] == 2 AND $bbuserinfo['pmsound'] == 0) Code:
if ($bbuserinfo['pmsound'] == 0) Glad you liked my site alfaowner. :) gopherhockey, if you're still having that problem check the lines of code in global.php and profile.php very closly. More then likely something is botched up in there. I've installed this on 3 test boards and my own without a hitch. Are you running any other hacks that could conflict with this one? Thanks to everyone who likes it. :) |
this hack c :surprised: :surprised: l
one question before i install this how can i use this hack with the option to play the wav files on a seperate server. (my host doesnt allow sound files) :ermm: |
Quote:
Hrmmm... Server doesn't allow sound files? How strange! :) in global.php edit this line to point to your sound files find: Code:
$sound = iif($bbuserinfo['pmunread'], '<embed src="sounds/message'.$srand_snd.'.wav" autostart="true" loop="0" hidden="true"></embed>'); Code:
$sound = iif($bbuserinfo['pmunread'], '<embed src="http://www.lssix.com/forums/sounds/message'.$srand_snd.'.wav" autostart="true" loop="0" hidden="true"></embed>'); if you wish to place the sounds elsewhere make sure you have the wav files installed on the other server all named messagexx.wav (xx denotes the number 1-10) and point it to that server and folder name. I haven't tested the above but don't see why it wouldn't work. |
Sweet addition.
/me clicks install. Question, how many queries does it add? My guess would be one? Thanks again for a cool hack. |
where do i set it to use more sounds?
Edit: is anyone having problems in Mozilla?? And the pop up box is not popping up. |
Quote:
I never tested, it shouldn't add any queries until a PM is sent. If anything then yes, one query. Quote:
Code:
srand(make_seed()); $srand_snd = rand (1,10); Quote:
|
Quote:
Thank you sir, other than popups not popping up, it works great. Nice Job. :) I'll see if I messed something up. ;) |
nice hack, thanks !
clicked install |
Very cool hack I get errors as well but yes I do have other hacks as well installed so my members will live.
|
Works well .. took 10mins to install ..
Thanks for that. |
Quote:
|
some members are reporting that they dont hear any thing
what could be the problem? |
All times are GMT. The time now is 07:44 PM. |
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:
|