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
  #22  
Old 05-28-2004, 02:01 PM
The Realist's Avatar
The Realist The Realist is offline
 
Join Date: Oct 2001
Location: UK
Posts: 842
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a good thing. At lease by playing the sound all the time, it makes them clear there inbox.

Quote:
Originally Posted by Revenge
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
  #23  
Old 05-28-2004, 02:20 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you asking if you can make the sound play over and over?

Or are you asking that the sound only be played once?

I'm not sure I understand the question but both of those are easily possible.
Reply With Quote
  #24  
Old 05-28-2004, 03:38 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works perfect for me, thanks
Reply With Quote
  #25  
Old 05-29-2004, 09:27 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

valuable one!
Reply With Quote
  #26  
Old 05-29-2004, 10:53 AM
Revenge Revenge is offline
 
Join Date: Nov 2001
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

>only be played once

Me and my english the last one... only one time to play. Perhaps in the moment the popup box popups
Reply With Quote
  #27  
Old 05-29-2004, 08:43 PM
alfaowner alfaowner is offline
 
Join Date: Jul 2003
Location: London
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i agree, it should only play once really, any more than that and it would get disabled, which means no point in installing. great hack. if it does only play once until you read it, then rock on, ill install and click the button. keep up the great work. like your site btw
Reply With Quote
  #28  
Old 05-30-2004, 08:06 PM
gopherhockey's Avatar
gopherhockey gopherhockey is offline
 
Join Date: Jul 2002
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure whats going on, but I get this error every time I try change the PM sound option in the usercp:

Invalid SQL:
UPDATE user SET

showvbcode = 2,
pmpopup = 1,
pmsound = ,
maxposts = -1,
daysprune = 0,
timezoneoffset = '0',
startofweek = 1,
languageid = 0,
threadedmode = 0,
autosubscribe = 1,
options = 35159
WHERE userid = 2

The only thing I think I did different was run the initial SQL query from the admincp rather than from phpMyAdmin like I ususally do...

If I look there is nothing in the pmsound table for any user..

The sound itself works fine though.
Reply With Quote
  #29  
Old 05-31-2004, 07:30 AM
alfaowner alfaowner is offline
 
Join Date: Jul 2003
Location: London
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi chevy,

Do you know the code to only make it play once full stop, once I have that, id gladly install it.

Thanks
Reply With Quote
  #30  
Old 05-31-2004, 05:28 PM
350Chevy's Avatar
350Chevy 350Chevy is offline
 
Join Date: Nov 2002
Location: Tampa, FL
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry guys, been really busy with work and at home,

Revenge and alfaowner try putting this code in global.php:

Code:
if ($bbuserinfo['pmpopup'] == 2 AND $bbuserinfo['pmsound'] == 0)
instead of:
Code:
if ($bbuserinfo['pmsound'] == 0)
And that should make the sound play only once. But it will not play a sound at all if they have PM pop-up notifications turned off. I'll see if I can find away around that as well if you'd like.

Glad you liked my site alfaowner.

gopherhockey, if you're still having that problem check the lines of code in global.php and profile.php very closly. More then likely something is botched up in there. I've installed this on 3 test boards and my own without a hitch. Are you running any other hacks that could conflict with this one?

Thanks to everyone who likes it.
Reply With Quote
  #31  
Old 05-31-2004, 06:15 PM
will_lean will_lean is offline
 
Join Date: Apr 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack c :surprised: :surprised: l

one question before i install this how can i use this hack with the option to play the wav files on a seperate server.
(my host doesnt allow sound files) :ermm:
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 02:29 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.04411 seconds
  • Memory Usage 2,307KB
  • 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
  • (1)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