View Full Version : Sound notification
karim004
15 Apr 2008, 02:53
a audible alert [ You've got mail ] will let you know that you have recieved a PM. also Until you open a pm, you are notified each time by a sound that plays once when you load a page.
open template navbar and find :
<if condition="$show['notifications']">
add after
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="0" height="0" id="gotmail" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Soundnotification.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="Soundnotification.swf" quality="high" bgcolor="#ffffff" width="1" height="1" name="gotmail" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
right click and save this file Audible Alert (http://www.momsasone.com/Soundnotification.swf)
upload where you want just change the red text {{{ Soundnotification.swf }} with the full link
SwollenCranium
15 Apr 2008, 03:01
"also does not stop"
Wow ... .no thanks.
lmao :) nice but yea not stop
youradhere4222
15 Apr 2008, 04:40
I'd definitely install if you made it so that it only made a sound once if they were on and all of a sudden received a private message.
Also, a *ding* would be much more pleasant than the traditional 'AOL welcome'.
Magnumutz
15 Apr 2008, 08:31
Can the flash be modified to say "You've got mail" only once per page load? And this, only after the page finished loading...?
J98680B2423E
15 Apr 2008, 22:57
Installed, works fine. Audio playing only once, when the page is loading (and on page change).
Thanks karim004
karim004
15 Apr 2008, 23:30
Can the flash be modified to say "You've got mail" only once per page load? And this, only after the page finished loading...?
Magnumutz the sound plays once when you load a page.untill you read your pm
chrisdaman77
16 Apr 2008, 00:47
Dang you beat me to it. I had this on my board for a while now and was going to put it out this weekend. Although mine only runs one line of code but then again I am simple minded :rolleyes: Nice job.
Magnumutz
16 Apr 2008, 09:16
Magnumutz the sound plays once when you load a page.untill you read your pm
Ohhh, i thought that it would play like a loop... until you read it :p
Thanks for clearing that out.
Installed :D
where to look for this ?
open template navbar and find :
<if condition="$show['notifications']">
thank
karim004
18 Apr 2008, 13:10
where to look for this ?
open template navbar and find :
<if condition="$show['notifications']">
thank
go to template navbar and Search in Template : welcome
and check the 5 th ln
<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['notifications']">
princeedward
25 Apr 2008, 10:36
i don't know but i guess this mod is not workin' to vB3.6.8 PL2...or is it?...tried to find this to my navbar...but nothing to found...
<if condition="$show['notifications']">
so i add the code below here....
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
it work or say...even if i don't have a pm messages to read...it played the swf sound to every page refresh...
please advice for any help...
thanks and best regards...
;)
MR.BOSS
25 Apr 2008, 10:56
i dont have this <if condition="$show['notifications']"> in vb 3.7 rc4
princeedward
30 Apr 2008, 08:34
i don't know but i guess this mod is not workin' to vB3.6.8 PL2...or is it?...tried to find this to my navbar...but nothing to found...
<if condition="$show['notifications']">
so i add the code below here....
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
it work or say...even if i don't have a pm messages to read...it played the swf sound to every page refresh...
please advice for any help...
thanks and best regards...
;)BUMP!!!
Keyser Söze
07 May 2008, 19:38
i would definatly go for this if it played just once per new PM
MiahBeSmokin420
09 May 2008, 03:39
if you want something more fun for a sound
you should use this
http://StillFallinEntertainment.com/vB-Forums/MailMofo.mp3
Take it as you wish it will always be there but do not link to my file or i will just rename it and wont tell yall what the file name is.
So take the file if you want but let me catch one person accually linking it from my site meaning that you did not host it on your server and you are just adding my link to your player then yes i will remove it
and i do watch my file stats very closely so just download it and save it on your server.
Enjoy
Nice Idea By The way
Also if you are going to use the mp3 instead of the flash you will need a different code
that code is:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
MiahBeSmokin420
09 May 2008, 03:42
BUMP!!!
your problem is because the notification crap was not added until vb 3.7.0 and up
anything less then 3.7.0 will not have the notifications so there for you would not be able to use this
but i could be wrong cause i updated from 3.6.7 to 3.7.0
but i really don't think that the notifications are in there i think its only a 3.7.0 and up thing
DiesellMinded
09 May 2008, 06:24
Also if you are going to use the mp3 instead of the flash you will need a different code
that code is:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
[/QUOTE]
Works in FF but not IE
MiahBeSmokin420
09 May 2008, 07:48
well ie sucks anyways
but yes it dose work with IE7 i have tested it cause thats the only player that will work with both and have a visulizer (if enabled)
you are probally just missing the windows media player plugins for IE
but anyways who cares about IE ?? Its horriable and should have never been invented
i tell all my members that use IE to get FF
and i even have a message displayed to members who use IE to get FF and give them a dl link lol and its from google adsence
trust me i have been making websites for a few years now with html xhtml and all that crap and vb
personly i can code a site perfectly and look at it in FF and it looks the way its suposed to
but then if you look at it in IE its just jacked up
but anyways back on subject try finding plugins for WMP for IE that should make it work for you
DiesellMinded
09 May 2008, 15:56
Im with you bro on FF i tell my members all the time , sadly my Analytics says i have double the members using IE than FF so i have to find a happy medium .
And this sound plays needs to only play on forum home as it triggers on everypage
Thread, then again on inbox , then again on the message
it keeps playing 3 times at leaset as the notification doesnt go away when your click on notifications in the nav bar you have to listen to it untill you read all your messages ect..
BLAHHHHHHH !
Find a code that works on IE and FF out the box and only plays once on initial notification and im there dude
MiahBeSmokin420
09 May 2008, 20:34
Im with you bro on FF i tell my members all the time , sadly my Analytics says i have double the members using IE than FF so i have to find a happy medium .
And this sound plays needs to only play on forum home as it triggers on everypage
Thread, then again on inbox , then again on the message
it keeps playing 3 times at leaset as the notification doesnt go away when your click on notifications in the nav bar you have to listen to it untill you read all your messages ect..
BLAHHHHHHH !
Find a code that works on IE and FF out the box and only plays once on initial notification and im there dude
well here is what you need to make it only play on the forum home page
put before the code
<if condition="THIS_SCRIPT === 'index''">
put after the code
</if>
if you want it to play on vb advanced portal as well then use this before the code
<if condition="THIS_SCRIPT === 'index' OR THIS_SCRIPT === 'adv_index'">
but as i said it should work with IE and FF
as i have test it on both and it works
so you probaly just need a windows media player plugin for it to work on IE
most people have that plugin so idk what else to say
thats the only media player that i have found to work on both IE and FF
so thats all i can help you with im sorry
Keyser Söze
13 May 2008, 19:24
yea but question is will that make it only play once
right now, u get a PM the PM popup only comes one time per new PM
I am NEW here - but im keen to test this out - and I require your assistance:
I am unsure of where to place the file within the directory structure on the server
{{{ Soundnotification.swf }} with the full link
can you give me an example of 'the full link' (is it a path to the file? ) and location for the actual swf file.
Thank you
joopster
15 May 2008, 18:11
i have 3.7 and no instance of the notifications when doing a search. anywhere else to add?
i tr whet karim varsion and is works perfectly on vb 3.7.0
no change nead to code
thanks again
joopster
16 May 2008, 15:04
I have 3.7 and not even in the default template do I have that phrase.
ShadowOne
16 May 2008, 15:37
Okay i have a fix for everyone :D...
add this
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
right before this
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
then add this
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
after this
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
then add the music code shown.....directly after
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
Note...this will also make the private message part go away if there are no PM's and it will make the sound on every REFRESH until PM is read...:D
ShadowOne
17 May 2008, 16:08
did that work for everybody?
can you give me an example of 'the full link' (is it a path to the file? ) and location for the actual swf file.
Thank you
http://www.vbulletin.org/forum/images/misc/progress.gif
karim004
19 May 2008, 22:12
I am NEW here - but im keen to test this out - and I require your assistance:
I am unsure of where to place the file within the directory structure on the server
can you give me an example of 'the full link' (is it a path to the file? ) and location for the actual swf file.
Thank you
ok here is a easy example if your forum : www.t2l.com/forum / upload the swf file in your forum folder
so the full link = http://www.t2l.com/forum/Soundnotification.swf
revmitchell
22 May 2008, 06:07
I installed this and the sound works but I get this above the navbar:
You last visited: 7 Hours Ago at 05:28 PM object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="0" height="0" id="gotmail" align="middle">
What is the problem
revmitchell
25 May 2008, 21:25
Bump
Installed
Someone has the message for pm in Spanish
Thank you advanced
karim004
10 Jun 2008, 12:26
I installed this and the sound works but I get this above the navbar:
What is the problem
a missing tag for object ! maybe you forgot a <
PGAmerica
14 Sep 2008, 20:51
I would use this in a heartbeat if there was an option for the user to turn it off.
abouahmed
19 Sep 2008, 00:18
thanks karim
Installed, works fine.
tecnozul
16 Oct 2008, 05:48
is excelent, thanks :)
Yonatan
26 Oct 2008, 14:49
Very nice mod.
please make option on USERCP to disable that voice(not everyone like that) :)
Thanks
Nice, installed than uninstaled
Reason:
User need to hear that sound atleast 3 times to shut it down, one time is ok but 3...
Also as some of you guys mentioned...USERCP to disable that option, I dont want to force some of my users to this ...
Change this and I will be happy to install it again, also to let all of my friends know about this hack (Vb friends)
GSeybold
15 Nov 2008, 12:13
can't find in my default 3.72 template
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.