The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
guys you both receive a pm in your board and check source code of the page where this code is displayed. Check how is it rendered in the source code. You probably have file name or URL problem. Dont forget to have sound files in this format:
sound1.wav sound2.wav etc. and caps is important in file names! Also is the directory structure.. |
#12
|
||||
|
||||
You da man...
I thought there was something missing there... It was searching for sound1wav because your line of code was missing a simple . lol should be: PHP Code:
|
#13
|
||||
|
||||
You can also add the function to the global file then call it from the template to call the sound from any page.. which is preferable.
|
#14
|
||||
|
||||
Quote:
|
#15
|
||||
|
||||
Quote:
Make sure this code is NOT in index.php PHP Code:
PHP Code:
PHP Code:
PHP Code:
then open your header template and place $sound anywhere you see fit. That should do it. |
#16
|
||||
|
||||
I have the blinking PM's in header mod installed too so I'm not sure if all that code above is needed but it should still do the trick.
|
#17
|
||||
|
||||
Whoa! You've totally lost me on this. I have no sound wav files at all. All I needed to do is get the sound code that Logician wrote to play on new messages. Where do I get the sound wav files.
|
#18
|
||||
|
||||
Quote:
The hack is for playing a random sound file when you have a PM and it produces a file name like sound1.wav, sound2.wav etc. So you have to have these files in your server.. :knockedout: I just gave you the code, I don't use the hack myself. So I hope 350Chevy will help you with wav files.. |
#19
|
||||
|
||||
You can find lots of free wav files here:
http://www.eventsounds.com/ or here: http://www.top50wavsites.com/ |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|