Quote:
Originally Posted by will_lean
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:
|
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>');
change to example:
Code:
$sound = iif($bbuserinfo['pmunread'], '<embed src="http://www.lssix.com/forums/sounds/message'.$srand_snd.'.wav" autostart="true" loop="0" hidden="true"></embed>');
the above example should pull the sounds from my server..
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.