The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Private Message Sound Notification Details »» | |||||||||||||||||||||||||
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. Show Your Support
|
Comments |
#62
|
||||
|
||||
Quote:
Double check your code. It works perfectly fine with the pop-up window. I have tested this on a few sites with zero hacks installed and on my main site with multiple hacks installed and the pop up message for new PM works perfectly fine. Make sure you're adding below pmpopup = $pmpopup, and not replacing it. Also make sure profile.php has the 'pmpopup' => INT. Code:
globalize($_POST, array('newstyleset' => INT, 'dst' => INT, 'showvbcode' => INT, 'pmpopup' => INT, 'pmsound' => INT, 'umaxposts' => INT, 'prunedays' => INT, 'timezoneoffset', 'startofweek' => INT, 'languageid' => INT, 'threadedmode' => INT, 'invisible' => INT, 'autosubscribe' => INT, 'options', 'modifyavatar')); |
#63
|
|||
|
|||
* Installed
However, how would I go about getting the sound to play on my home portal page. Working fine on the forums page but it would be nice to have it playing on both.. I'm running VbPortal 3.0.0 Beta 2 & Vbulletin 3.0.3 |
#64
|
||||
|
||||
I've never messed with vBPortal however it should be about the same as vBAdvanced. If your vBPortal calls for the navbar then it should already have the neccessary code to play the sound. If it does not call for the navbar template then you could simply add
Code:
$sound Example: If you have your forum here: /home/www/forums. Your sound folder is here: /home/www/forums/sounds. You will have to copy that folder to /home/www so that you will also have a folder containing all the sounds called /home/www/sounds. That should do the trick. |
#65
|
|||
|
|||
Hey it worked thank you very much, took all of 2 minutes to do.
Me is happy thanks again..... |
#66
|
||||
|
||||
Glad I could help and I'm very happy that you enjoy it..
|
#67
|
||||
|
||||
Okay so heres the deal, everything istalled fine, but,
some people can hear it, and others hear nothing...i dont even hear it. none of the members i tested with have it disabled... i used the re-directing of the wav file from another server, cause my host doesnt allow sound files.. but the problem is (besides ME not hearing it) is that my member who did hear, it opened her windows media player and played the file...she said she got two pop ups, one for the notification of the PM and another that was a blank white page... any thoughts on these problems??? |
#68
|
||||
|
||||
Quote:
|
#69
|
||||
|
||||
Hi,
I am using this redirect code for the wav file, i say wav file cause i am only using one.. $sound = iif($bbuserinfo['pmunread'], '<embed src="http://www.lssix.com/forums/sounds/message'.$srand_snd.'.wav" autostart="true" loop="0" hidden="true"></embed>'); mine looks like this $sound = iif($bbuserinfo['pmunread'], '<embed src="http://www.washmeclean.com/downloads/sounds/message'.$srand_snd.'.wav" autostart="true" loop="0" hidden="true"></embed>'); any idea? i am contacting my host to see if i can get 1 wav file to be accepted, to try and solve this |
#70
|
||||
|
||||
only one file? That could be it also. When the page loads it maybe looking for the other 9 wav files to play and not playing anything because there's no wav file. But it will play once it finally randomly hits that one wav file..
Since you're only using one wav file, instead of using: $sound = iif($bbuserinfo['pmunread'], '<embed src="http://www.washmeclean.com/downloads/sounds/message'.$srand_snd.'.wav" autostart="true" loop="0" hidden="true"></embed>'); try using: $sound = iif($bbuserinfo['pmunread'], '<embed src="http://www.washmeclean.com/downloads/sounds/message1.wav" autostart="true" loop="0" hidden="true"></embed>'); or change message1.wav to the name of the wav file you're using(testing) and see what happens. |
#71
|
||||
|
||||
Also, are you sure the file is at http://www.washmeclean.com/downloads.../message1.wav? I could not find a folder on www.washmeclean.com called downloads/sounds?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|