vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Private Messages Enhancements - Sound Notification (https://vborg.vbsupport.ru/showthread.php?t=224997)

TheInsaneManiac 10-10-2009 10:00 PM

Sound Notification
 
1 Attachment(s)
This will play You've Got Mail when a new notification is received. You can also replace the mail.mp3 file with your own sound to play upon a new notification.

I ask that you not remove the branding as it helps support me. Without support I will not continue making modifications.

No Branding Version:
For a premium no-branding version which has additional features, please visit my Products & Services page.

Installation:
1.) In the AdminCP go to User Profile Fields -> Add New User Profile Field.

2.) Select Single-Selection Menu.

3.) Apply the following settings:
Title:
Sound Notification
Description:
Enable the You've Got Mail sound to play when you get a new notification?
Options:
Yes
No
Set Default:
Yes, but No First Blank Option
Private Field:
Yes
Field Searchable on Members List:
No
Show on Members List:
No

4.) After saving take note of what the ID is of the field.

5.) Open product-soundnotification.xml and find:
fieldXX

Change the XX to your fieldID I told your to take note of.

6.) In the template navbar find:
<if condition="$show['notifications']">

Below add:
$soundnotification

Done.


Upgrading:
Import the product and select Allow Overwrite.


Changelog:
2.0 - Fixed an issue which caused the script to terminate.
1.0 - Release


Donators:
princeedward - 5$
psychobike - 5$
linuxututs - 5$
BucWiLd - 5$
tommydamic68 - 5$
GSeybold - 10$
SSJB_7 - 7.23$

Thanks to all who have donated!

linuxututs 10-11-2009 03:45 AM

Dude, I'll be glad to give you $2.00, but this free version doesn't work.
( And yes, I done all the edits correct............ )

Thanks, I'll give this a few hours and see if you reply, if not I'm uninstalling this.
Your Copyright is bigger than vBulletin's !

TheInsaneManiac 10-11-2009 04:10 AM

Quote:

Originally Posted by linuxututs (Post 1897891)
Dude, I'll be glad to give you $2.00, but this free version doesn't work.
( And yes, I done all the edits correct............ )

Thanks, I'll give this a few hours and see if you reply, if not I'm uninstalling this.
Your Copyright is bigger than vBulletin's !

Its not really a copyright lol. Just a linkback to my profile. The font is a little big, I'll fix that in the next version. I've tested this multiple times, but I will test it again just to verify everything. Just to eliminate some of the common mistakes:
Did you upload the mail.mp3 to your forum root?
Did you correctly add your field id to the product before uploading it?
Are your running VBOptimize? If so flush your cache and see if you still have a problem.

linuxututs 10-11-2009 04:18 AM

k, Mate,

I'll see and thanks.

I even went as far and chmod 777 the mp3, still no good.
This will be a neat little hack, about like my phpnuke days.........:rolleyes:

Thanks,

TheInsaneManiac 10-11-2009 04:19 AM

Quote:

Originally Posted by linuxututs (Post 1897896)
k, Mate,

I'll see and thanks.

I even went as far and chmod 777 the mp3, still no good.
This will be a neat little hack, about like my phpnuke days.........:rolleyes:

Thanks,

I've isolated the issue and an update will be released shortly.

Update:
I just released 2.0 and tested it twice. Everything works fine. Enjoy.

linuxututs 10-11-2009 04:40 AM

You DID IT !!!!:)

I'll PM you..........

Note though : Need to find another mail.mp3 ( You've Got Mail ) that's a little slower.,
But I'm going to find one to suit my own taste as everyone can do....


Thanks Dude,

ProFifaLeagues 10-11-2009 08:53 AM

tagged looks a good little addon which we may try out!!!

princeedward 10-11-2009 11:16 AM

great and thanks....is it possible to implement that user can insert their own sound to use and play to this mod?

:p:up:

TheInsaneManiac 10-11-2009 02:15 PM

Quote:

Originally Posted by princeedward (Post 1897985)
great and thanks....is it possible to implement that user can insert their own sound to use and play to this mod?

:p:up:

That's a great suggestion. Since I believe you said something in the PM about donating, I'll add this feature to the premium version, but I have a few things to do so give me about an hour or two.

Anyone who has already donated I'll send you the updated version when I finish it.

princeedward 10-11-2009 04:55 PM

Donation sent already brader...thanks and best regards

:p:up:


All times are GMT. The time now is 03:26 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01055 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete