Back to vBulletin 3.0 Add-Ons

Private Message Sound Notification
Mod Version: 1.00, by 350Chevy

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 69
Released: 27 May 2004 Last Update: Never Downloads: 71
Not Supported  

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!

    Spoiler (click to open)


    Quote 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.

    Close
  • 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!

    Spoiler (click to open)


    Hi, a small problem with this hack if the access to the PN system is not allowed by the admin for a special usergroup like "awaiting confirmation" and having the "New user welcome PN" Hack installed.
    The user get's the sound message that he has new PN but can't read the mail unless he confirms his registration and an admin has activated his account.

    Solution:

    find in Template Navbar:
    PHP Code:
    <if condition="THIS_SCRIPT!='private' and THIS_SCRIPT!='usercp'"

     
    $sound

    </if> 
    replace it with:
    PHP Code:
    <if condition="THIS_SCRIPT!='private' and THIS_SCRIPT!='usercp'">

        <if 
    condition="$show['pmstats']">$sound </if>

            </if> 
    With this change vB first check if the PN system is activated and then play the sound. Otherwise no sound will played.

    Close

* Last Updated 06/20/2004

For more sounds click here

Spoiler (click to open)


Great hack heres some new sounds

Classic Beep
Txt Messge
Attached Files
File Type: zip sounds.zip (56.4 KB, 279 views)

Close
- Thanks to colicab-d for providing a few more sounds.

Download

This modification is archived and cannot be downloaded.

Screenshots

 

Similar Mods

Mini Mods GS - Visitor Message Private Message Notification 1.0 vBulletin 3.7 Add-ons
Forum Home Enhancements Private Message Notification! vBulletin 3.7 Template Modifications
Play Sound When Private Message Received - the Amy Way vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024