Quote:
Today at 02:35 PM amykhar said this in Post #19
That hack works quite well when you are on the main page. I have modified it a bit to work on any pages.
Add a new template called head_sound
This is the contents of the new template:
Code:
<embed src="message.wav" autostart="true" hidden="true">
In global.php Find:
Code:
eval("\$headnewpm = \"".gettemplate('head_newpm')."\";");
Place above:
Code:
eval("\$headnewpm = \"".gettemplate('head_sound')."\";");
That should do it. I am going to put an addon that allows the member to select whether or not they want sounds to play.
Amy
|
Is this code supposed to be added to the main one in the first post or is this to replace it?