Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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
  #42  
Old 06-10-2004, 01:16 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by monstergamer
some members are reporting that they dont hear any thing
what could be the problem?

Just some not all? Could be the type of browser they're using. Could be their volume control. Could be a number of other things. As long as you're using IE, Netscape, Mozilla and you yourself hear the sound when you receive a PM then you know you installed it correct. It's a user error on their end.
Reply With Quote
  #43  
Old 06-11-2004, 03:37 AM
iceman11111 iceman11111 is offline
 
Join Date: Feb 2003
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good stuff!

I love it!
Reply With Quote
  #44  
Old 06-12-2004, 08:04 PM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 3.0.1:

Invalid SQL:
UPDATE user SET
styleid = 22,
showvbcode = 1,
pmpopup = 1,
pmsound = 0,
maxposts = -1,
daysprune = -1,
timezoneoffset = '-5',
startofweek = 1,
languageid = 0,
threadedmode = 0,
autosubscribe = -1,
options = 8055
WHERE userid = 241

mysql error: Unknown column 'pmsound' in 'field list'

mysql error number: 1054

Date: Saturday 12th of June 2004 11:30:58 AM
Script: http://www.giftedsouls.com/gs/profile.php
Referer: http://www.giftedsouls.com/gs/profil...do=editoptions
Reply With Quote
  #45  
Old 06-13-2004, 05:17 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Flow Fusion
Database error in vBulletin 3.0.1:

Invalid SQL:
UPDATE user SET
styleid = 22,
showvbcode = 1,
pmpopup = 1,
pmsound = 0,
maxposts = -1,
daysprune = -1,
timezoneoffset = '-5',
startofweek = 1,
languageid = 0,
threadedmode = 0,
autosubscribe = -1,
options = 8055
WHERE userid = 241

mysql error: Unknown column 'pmsound' in 'field list'

mysql error number: 1054

Date: Saturday 12th of June 2004 11:30:58 AM
Script: http://www.giftedsouls.com/gs/profile.php
Referer: http://www.giftedsouls.com/gs/profil...do=editoptions
did you add the query?

Code:
ALTER TABLE user ADD pmsound varchar(7) NOT NULL
Reply With Quote
  #46  
Old 06-13-2004, 06:32 PM
zahco zahco is offline
 
Join Date: Aug 2003
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot
350Chevy
For this nice hack
and also i thank
colicab-d
For the Ziped sound files

Best regards
zahco
Reply With Quote
  #47  
Old 06-13-2004, 07:39 PM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah that did it thanks alot this makes today a good day.
Reply With Quote
  #48  
Old 06-13-2004, 09:24 PM
dreamhost's Avatar
dreamhost dreamhost is offline
 
Join Date: Jun 2002
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not sure why, but i get no sounds at all. I also get no errors anywhere. I made sure to change the sql injection to reflect my db prefix and that went in ok.
I also put the sounds dir in my site.com/sounds and also site.com/vb/sounds/ just in case it didn't have the path correct.
All themplates and both files were edited as instructed.
ideas?
Reply With Quote
  #49  
Old 06-14-2004, 01:39 AM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What's the address of the site? I'll see if they work on my end or check the source code of the output on the page. Might just be a typo somewhere..
Reply With Quote
  #50  
Old 06-14-2004, 01:40 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 Flow Fusion
yeah that did it thanks alot this makes today a good day.

Anytime, glad I could help and glad you like it.
Reply With Quote
  #51  
Old 06-14-2004, 01:51 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 dreamhost
not sure why, but i get no sounds at all. I also get no errors anywhere. I made sure to change the sql injection to reflect my db prefix and that went in ok.
I also put the sounds dir in my site.com/sounds and also site.com/vb/sounds/ just in case it didn't have the path correct.
All themplates and both files were edited as instructed.
ideas?

Just visited your site. Strange, it doesn't even call for the sound file. :ermm: Are you sure you dropped the $sound string in the navbar or somewhere in the header?
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:47 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.08090 seconds
  • Memory Usage 2,312KB
  • 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
  • (1)bbcode_code
  • (4)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