Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Private Message Sound Notification Details »»
Private Message Sound Notification
Version: 1.00, by 350Chevy 350Chevy is offline
Developer Last Online: Sep 2009 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 05-26-2004 Last Update: Never Installs: 69
 
No support by the author.

Private Message Sound Notification plays a random .wav file whenever your users recieve a Private Message. I have included 10 .wav files in the zip that you can use or you can find and replace the .wav files with any file(s) of your choosing.

This is installed at: http://www.lssix.com (You will have to register and just PM yourself to test.)

- This used to be installed on my site running vB2 and was originally requested by myself and written by EvilLS1.

DATABASE QUERY (1)

FILE MODIFICATIONS (2)
  • global.php
  • profile.php

TEMPLATE MODIFICATIONS (2)
  • navbar
  • modifyoptions

ADD PHRASE (1)

FEATURES:
  • Plays ten(10) random .wav files when a user recieves a PM (you can change this to any number)
  • User CP option to allow your users to turn the sounds on/off
  • Plays the .wav file from any page on your forum as the code is located in the navbar template
  • Sounds are ON by default
  • Sounds do NOT play when you enter the User CP or when entering the Private Messages. Thanks to EvilLS1!
  • Sounds do NOT play if the member is a part of a special usergroup who does not have access to read PMs. Thanks to Onkel_Tom!

* Last Updated 06/20/2004

For more sounds click here - Thanks to colicab-d for providing a few more sounds.

Show Your Support

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

Comments
  #12  
Old 05-28-2004, 01:10 AM
MaxScript MaxScript is offline
 
Join Date: Sep 2003
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there an AOL sounds package ?
Reply With Quote
  #13  
Old 05-28-2004, 01:40 AM
Revenge Revenge is offline
 
Join Date: Nov 2001
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm, plays also sound when I go in the Usercp and click any link... every time a new page is loaded...???
Reply With Quote
  #14  
Old 05-28-2004, 01:57 AM
mharmon mharmon is offline
 
Join Date: Feb 2003
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great hack but I agree with the above comment... Is there anyway to make this so it will play ONCE per session? You have to listen to it 3 times before you actually read your message.
Reply With Quote
  #15  
Old 05-28-2004, 03:09 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did this so it played on every page no matter what page your users were viewing.

You can take the $sound out of the navbar template and just place it in the FORUMHOME template anywhere you wish. If you do that it will only play the wav file when they're on the Forum's home page. Since it's a random sound I don't think users mind hearing a different sound two times more before reading thier message. And with the option to turn it off they can disable it if choosen.

Adding the option not to play a sound when entering the private messages would require much more hacking and not really worth it.
Reply With Quote
  #16  
Old 05-28-2004, 03:11 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MaxScript
is there an AOL sounds package ?

What are you looking for?

Here you can find some AOL "YOU GOT MAIL" type message .wav files.

http://www.emailgifsandsounds.com/index-eng.html
Reply With Quote
  #17  
Old 05-28-2004, 03:13 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've also noticed about 3 or 4 of you that posted haven't clicked the "installed" link. Please click it if you plan to keep it.

As for the sound being played after you enter the Private Message panel I'll look into changing that. Pretty tired now though and the weekend ahead I doubt I'll be able to get to it until Monday (if I can even do it at all.. lol)
Reply With Quote
  #18  
Old 05-28-2004, 03:33 AM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 350Chevy
Adding the option not to play a sound when entering the private messages would require much more hacking and not really worth it.
You could use a conditional in the navbar template like this:

Code:
<if condition="THIS_SCRIPT!='private'">	
	$sound
</if>
If ya also want to stop the sound when viewing the usercp use this:
Code:
<if condition="THIS_SCRIPT!='private' and THIS_SCRIPT!='usercp'">	
	$sound
</if>
Gotta love template conditionals.
Reply With Quote
  #19  
Old 05-28-2004, 12:37 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh yeah.. never thought of that. Too tired lastnight. Thnx Evil.

First post updated.
Reply With Quote
  #20  
Old 05-28-2004, 01:49 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.

Thanks M8
Reply With Quote
  #21  
Old 05-28-2004, 01:57 PM
Revenge Revenge is offline
 
Join Date: Nov 2001
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perhaps there is an easy way, that the sound only plays once, so if the user does not read the mail it is still playing until he reads it?
Reply With Quote
Reply

Thread Tools

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:12 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.11294 seconds
  • Memory Usage 2,303KB
  • 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
  • (2)bbcode_code
  • (2)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
  • (3)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