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:

BucWiLd 10-11-2009 05:10 PM

ill give it a try...

edit: works great, Thank you.. may consider the upgrade if more uniques features are implemented the user choose file , is a great idea as long they can host it themselves not with my forum

As the forum owner i like to leave the who's online window open , am i gonna hear it every time it refreshes?

princeedward 10-11-2009 06:25 PM

sound still everywhere...

:confused: hmmm....

BucWiLd 10-11-2009 06:52 PM

Quote:

Originally Posted by princeedward (Post 1898210)
sound still everywhere...

:confused: hmmm....

even with the paid version?

1320Nation 10-11-2009 07:22 PM

Where does the mp3 file need to be uploaded to? The instructions do not include this info.

BucWiLd 10-11-2009 07:26 PM

forum root.....

TheInsaneManiac 10-11-2009 07:28 PM

Quote:

Originally Posted by princeedward (Post 1898210)
sound still everywhere...

:confused: hmmm....

Judging by the PM you sent me it sounds like you never uploaded the new product. Make sure you upload the new product and select Allow Overwrite.

1320Nation 10-11-2009 07:54 PM

I uploaded the mp3 file to my forum root. I too have it playing on every page I select in my forums. I do have VBOptimize installed. I will flush it's cache to see if helps.

Edit: Flushing VBOptimize did not help.

BucWiLd 10-11-2009 08:23 PM

Quote:

Originally Posted by psychobike (Post 1898255)
I uploaded the mp3 file to my forum root. I too have it playing on every page I select in my forums. I do have VBOptimize installed. I will flush it's cache to see if helps.

Edit: Flushing VBOptimize did not help.


you have to get the premium version... By the way maniac , I pm'ed you

TheInsaneManiac 10-11-2009 10:05 PM

Quote:

Originally Posted by psychobike (Post 1898255)
I uploaded the mp3 file to my forum root. I too have it playing on every page I select in my forums. I do have VBOptimize installed. I will flush it's cache to see if helps.

Edit: Flushing VBOptimize did not help.

:D I'm an idiot. With 4 years of VBulletin experience I still don't have enough common since to check the file before it's uploaded. I uploaded the correct file and PMed all those that have donated the new link.

Thanks for donating guys! I'm going to be keeping it to save up for my next VBulletin license so I can keep helping out the VBulletin community.

BucWiLd 10-11-2009 10:21 PM

I get an echo on the " youve got mail " now

1320Nation 10-11-2009 10:31 PM

Quote:

Originally Posted by BucWiLd (Post 1898321)
I get an echo on the " youve got mail " now

Yep...same here.

BucWiLd 10-11-2009 10:39 PM

Quote:

Originally Posted by psychobike (Post 1898324)
Yep...same here.

very annoying, isint it.. maniac help!

BucWiLd 10-11-2009 10:45 PM

Update... I removed the $soundnotification from the navbit template. That fixed it :)

RedHacker 10-11-2009 10:50 PM

In paid version must be option Yes by user....?

TheInsaneManiac 10-12-2009 12:57 AM

Quote:

Originally Posted by BucWiLd (Post 1898328)
Update... I removed the $soundnotification from the navbit template. That fixed it :)

Yea as I said in the PM be sure you have uninstalled the old version. =]

BucWiLd 10-12-2009 01:05 AM

I di uninstall the old version buddy. But for some reason that remained behind. or did you mean i had to remove all the coding that was added in addition to the php first time around ?

TheInsaneManiac 10-12-2009 02:56 AM

Quote:

Originally Posted by BucWiLd (Post 1898368)
I di uninstall the old version buddy. But for some reason that remained behind. or did you mean i had to remove all the coding that was added in addition to the php first time around ?

Yea plugins don't edit templates. To uninstall you have to do what you did before only in reverse order and the opposite of what it says.

RedHacker 10-12-2009 03:40 AM

I have one idea... Must be better said notification from e-mail....

TheInsaneManiac 10-12-2009 04:51 AM

Quote:

Originally Posted by RedHacker (Post 1898408)
I have one idea... Must be better said notification from e-mail....

Huh?

RedHacker 10-12-2009 04:53 AM

When said you have mail....

1320Nation 10-12-2009 05:22 AM

All is working well now. Thank you TheInsaneManiac for a nice mod! :up:

TheInsaneManiac 10-12-2009 06:31 AM

Quote:

Originally Posted by RedHacker (Post 1898425)
When said you have mail....

I'm sorry I don't understand your English, does someone understand what he is trying to say. I feel terrible for not understanding though...

Quote:

Originally Posted by psychobike (Post 1898431)
All is working well now. Thank you TheInsaneManiac for a nice mod! :up:

No problems. Glad you like it.

RedHacker 10-12-2009 06:46 AM

For the mp3 file.... mail to say notification

goxy63 10-12-2009 09:54 AM

Great addon, tagged, nominated, rated

Just an idea

Well it would be great that user can choose one of lets say 3 to 5 offered sounds in their usercp somewhere, sounds that Ive uploaded

Or sounds that they can upload as someone mentioned earlyer

Anyway which is more server friendly would be great
As some users might hate some sounds would be nice to give an option that user can shut down this option

Will donate asap I find some friend with paypal as I cant use one here where Iam

Cheers

princeedward 10-12-2009 07:24 PM

now it's all working correct to my side...now i am waiting for next update maybe that

TheInsaneManiac can find a way of (code) that all users can insert only their own fave mp3 sound link via usercp > edit option and that will be good and fantastic...

thanks and best regards

:p:up:

basilrath 10-13-2009 12:53 AM

you can see a little variation on my site if you like .............. HERE


Bottom right

username .............. mailtest
password .............. test


youl see the mail ............... oh and dont read it ! obviously others may want to log in and see it etc ............ so just log in and view

princeedward 10-13-2009 07:08 AM

Quote:

Originally Posted by basilrath (Post 1898900)
you can see a little variation on my site if you like .............. HERE


Bottom right

username .............. mailtest
password .............. test


youl see the mail ............... oh and dont read it ! obviously others may want to log in and see it etc ............ so just log in and view

nice one but the problem is we have also user as Mam! :p

thanks anyway for the idea

TheInsaneManiac 10-13-2009 08:07 AM

Quote:

Originally Posted by goxy63 (Post 1898491)
Great addon, tagged, nominated, rated

Just an idea

Well it would be great that user can choose one of lets say 3 to 5 offered sounds in their usercp somewhere, sounds that Ive uploaded

Or sounds that they can upload as someone mentioned earlyer

Anyway which is more server friendly would be great
As some users might hate some sounds would be nice to give an option that user can shut down this option

Will donate asap I find some friend with paypal as I cant use one here where Iam

Cheers

I've got it working in IE, but firefox it just won't work no matter what I try and I have no idea as to why. I will keep trying though. Can't make any promises just yet.

princeedward 10-13-2009 08:25 AM

TheInsaneManiac....did you get my 13 Different Short Mp3 Notification Message Sounds? i add the DL link to my pm to you?

well i 'm gonna cross my finger and i know one of this days you will find a better way to figure out how you gonna make it work brader...

btw...maybe it's better you add those donators on the first page so others can give something too for your hardwork as appreciation and also for the premium and a better one...

:p:up:

best regards

GSeybold 10-13-2009 07:06 PM

Hello
Mine cuts off at You've go Ma....... it forgets this il in mail.


All times are GMT. The time now is 12:06 AM.

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.01294 seconds
  • Memory Usage 1,827KB
  • 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
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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