Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Play a sound when a user has a new PM. Details »»
Play a sound when a user has a new PM.
Version: 1.00, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.0 Beta 4 Rating:
Released: 07-19-2005 Last Update: Never Installs: 47
Template Edits
 
No support by the author.

This is a simple template mod that will make a sound file play when your user has an unread private message.

No screen shots enclosed because I can't take a picture of a sound.

-------------
If you have firefox users, you may want to point them to this link if they are having issues:
http://www.eaforums.com/forums/showthread.php?t=40220
------------

Amy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 09-27-2005, 04:42 PM
carrie31 carrie31 is offline
 
Join Date: Aug 2005
Location: Singapore
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you so much ! it's perfect !
Reply With Quote
  #23  
Old 09-29-2005, 08:16 AM
lordnex lordnex is offline
 
Join Date: Apr 2004
Location: Windsor, Ontario
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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. 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
Reply With Quote
  #24  
Old 10-03-2005, 04:25 AM
Colejo Colejo is offline
 
Join Date: Jul 2005
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks I installed it and used a sound file for Meg Ryan from the movie you've got mail.
Reply With Quote
  #25  
Old 10-03-2005, 10:52 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone installed this on 3.5 gold?
Reply With Quote
  #26  
Old 10-09-2005, 04:32 AM
Colejo Colejo is offline
 
Join Date: Jul 2005
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bubble #5
Has anyone installed this on 3.5 gold?
Yes.
Reply With Quote
  #27  
Old 10-09-2005, 04:40 AM
Carl Anderson's Avatar
Carl Anderson Carl Anderson is offline
 
Join Date: Apr 2003
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #28  
Old 10-09-2005, 04:49 AM
Colejo Colejo is offline
 
Join Date: Jul 2005
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #29  
Old 10-09-2005, 02:36 PM
Carl Anderson's Avatar
Carl Anderson Carl Anderson is offline
 
Join Date: Apr 2003
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #30  
Old 10-13-2005, 09:12 PM
ggiersdorf ggiersdorf is offline
 
Join Date: Aug 2005
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #31  
Old 10-13-2005, 09:23 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:13 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10367 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete