vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Integration with vBulletin - Sound notification (https://vborg.vbsupport.ru/showthread.php?t=176171)

karim004 04-14-2008 10:00 PM

Sound notification
 
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 :
Quote:

<if condition="$show['notifications']">
add after
Quote:

<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
upload where you want just change the red text {{{ Soundnotification.swf }} with the full link

SwollenCranium 04-15-2008 01:01 AM

"also does not stop"

Wow ... .no thanks.

Rickeo 04-15-2008 01:19 AM

lmao :) nice but yea not stop

youradhere4222 04-15-2008 02:40 AM

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 04-15-2008 06:31 AM

Can the flash be modified to say "You've got mail" only once per page load? And this, only after the page finished loading...?

Jasem 04-15-2008 07:28 PM

Thank you very much, :)

J98680Bxxxxx 04-15-2008 08:57 PM

Installed, works fine. Audio playing only once, when the page is loading (and on page change).

Thanks karim004

karim004 04-15-2008 09:30 PM

Quote:

Originally Posted by Magnumutz (Post 1490983)
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 04-15-2008 10:47 PM

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 04-16-2008 07:16 AM

Quote:

Originally Posted by karim004 (Post 1491584)
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


All times are GMT. The time now is 05:39 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01194 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete