vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Play a sound when a user has a new PM. (https://vborg.vbsupport.ru/showthread.php?t=92524)

carrie31 09-27-2005 04:42 PM

thank you so much ! it's perfect !

lordnex 09-29-2005 08:16 AM

just a hint for those that are looking for sounds, there was a hack released for 3.0.x that did this exact thing and had 10 small wav files that did it. :D I don't remember which one but a quick search will show it and you can grab those 10 wav files quickly. Fantastic though that someone brought it to 3.5.

Amy I'm one of those lurker types but I have to say you're fantastic :D

Colejo 10-03-2005 04:25 AM

Thanks I installed it and used a sound file for Meg Ryan from the movie you've got mail.

Bubble #5 10-03-2005 10:52 PM

Has anyone installed this on 3.5 gold?

Colejo 10-09-2005 04:32 AM

Quote:

Originally Posted by Bubble #5
Has anyone installed this on 3.5 gold?

Yes.

Carl Anderson 10-09-2005 04:40 AM

Is this going to play just one time or every time a page is refreshed...?

I don't want to bother users and for it to get anoying...

Colejo 10-09-2005 04:49 AM

Quote:

Originally Posted by Carl Anderson
Is this going to play just one time or every time a page is refreshed...?

I don't want to bother users and for it to get anoying...

Mine plays whenever I refresh the page or go to a new page if I haven't checked the PM. But I did set it so that users have the option to turn it off.

Carl Anderson 10-09-2005 02:36 PM

Quote:

Originally Posted by Colejo
Mine plays whenever I refresh the page or go to a new page if I haven't checked the PM. But I did set it so that users have the option to turn it off.

Its nice to be able to turn it off but I think I will pass on installing this. Hope someone or the author of this figures out a way to get it to play just when a new PM for the user is in their box.

ggiersdorf 10-13-2005 09:12 PM

ok Guess Im dumb? I followe the instructions and nothign happens

I went into my style, and opened my navbar template (navbar breadcrumb section)
and added this

<!--- New Mail Wav -->
<if condition="$vbulletin->userinfo[pmunread]>0">
<script>
function EvalSound(soundobj) {
var thissound=document.getElementById(soundobj);
thissound.Play();
}
</script>

<embed src="/forums/message.wav" autostart=true hidden=true id="sound1"
enablejavascript="true">
</if>

I than copied my message.wav file to my websites root and forum directory and It doesnt do anything for me..

Im using VB 3.5 Gold..

Any help!?

I also sent myself a number of new emails for testing..

amykhar 10-13-2005 09:23 PM

It's not for emails. It's for private messages. Also, if you are testing it with private messages, what browser are you using?


All times are GMT. The time now is 08:45 AM.

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.01236 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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