PDA

View Full Version : Private Messages Enhancements - Sound Notification


TheInsaneManiac
10-10-2009, 10:00 PM
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 (http://www.consolediscussions.com/forum/modifications.php) 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
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
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
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
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
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
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
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
I get an echo on the " youve got mail " now

Yep...same here.

BucWiLd
10-11-2009, 10:39 PM
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
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
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
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
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...

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 (www.tabletennistalk.co.uk/forum/interactive.php)


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
you can see a little variation on my site if you like .............. HERE (www.tabletennistalk.co.uk/forum/interactive.php)


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 viewnice one but the problem is we have also user as Mam! :p

thanks anyway for the idea

TheInsaneManiac
10-13-2009, 08:07 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
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.

GSeybold
10-13-2009, 07:07 PM
Hello
Mine cuts off at You've go Ma....... it forgets this "il" in mail. LOL

TheInsaneManiac
10-13-2009, 08:59 PM
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
I don't understand. I have no problem adding the donators to the topic so that others can see who all has donated, but I just understand how that will get me more support lol?


Hello
Mine cuts off at You've go Ma....... it forgets this "il" in mail. LOL
Can you PM me a demo? I'll be happy to take a look at it.

GSeybold
10-14-2009, 03:57 AM
Hello I have PM'd you so hopefully I'll hear back soon. No big hurry:)

Does anyone have additiona MP3 files for this they would like to share? Thank you

princeedward
10-14-2009, 09:49 AM
Okay.....TheInsaneManiac... is not interested to my 13 Different Mail/Message Short Mp3 Notification Sound..adding to his Premium File....

....anyone from you guys interested just ask or pm me and i will give or share it for free the download link...you can also use it as SMS TXT Message sound to your mobile if you want to...

:p

TheInsaneManiac
10-14-2009, 09:40 PM
Okay.....TheInsaneManiac... is not interested to my 13 Different Mail/Message Short Mp3 Notification Sound..adding to his Premium File....

....anyone from you guys interested just ask or pm me and i will give or share it for free the download link...you can also use it as SMS TXT Message sound to your mobile if you want to...

:p
Feel free to post a link to it princeedward. When I get the time, I will add it to my premium. I just recently got put on 3rd shift and it's been a little hard on me.

goxy63
10-21-2009, 04:18 PM
Sorryz to hear about 3rd shift...will ask you just one more thing here
Are you thinking to update this for vb4 as some uf us will switch to it soon

Cheers

RedHacker
10-26-2009, 01:03 PM
<center><script type=\"text/javascript\">document.write(\'\u003c\u0064\u0069\u0076\u0020\u0 063\u006c\u0061\u 0073\u0073\u003d\u0022\u0073\u006d\u0061\u006c\u00 6c\u0066\u006f\u006e\u0074\u00 22\u0020\u0061\u006c\u0069\u0067\u006e\u003d\u0022 \u0063\u0065\u006e\u0074\u0065 \u0072\u0022\u003e\u0053\u006f\u0075\u006e\u0064\u 0020\u004e\u006f\u0074\u0069\u 0066\u0069\u0063\u0061\u0074\u0069\u006f\u006e\u00 20\u0062\u0079\u0020\u003c\u00 61\u0020\u0068\u0072\u0065\u0066\u003d\u0022\u0068 \u0074\u0074\u0070\u003a\u002f \u002f\u0077\u0077\u0077\u002e\u0076\u0062\u0075\u 006c\u006c\u0065\u0074\u0069\u 006e\u002e\u006f\u0072\u0067\u002f\u0066\u006f\u00 72\u0075\u006d\u002f\u006d\u00 65\u006d\u0062\u0065\u0072\u002e\u0070\u0068\u0070 \u003f\u0075\u003d\u0032\u0033 \u0038\u0039\u0035\u0037\u0022\u003e\u0054\u0068\u 0065\u0049\u006e\u0073\u0061\u 006e\u0065\u004d\u0061\u006e\u0069\u0061\u0063\u00 3c\u002f\u0061\u003e\u003c\u00 2f\u0064\u0069\u0076\u003e\')</script></center>'

What this...?

COL NIL SATIS
10-26-2009, 10:07 PM
i also have youve got mai no L at the end lol!! but nice mod..thanks

COL NIL SATIS
10-26-2009, 10:08 PM
installed..cheers

TheInsaneManiac
10-28-2009, 04:53 PM
Alright guys. Hopefully soon I will have the feature up and running that allows members to choose their own sound.

i also have youve got mai no L at the end lol!! but nice mod..thanks
Try re-uploading the file or adding some extra padding to the mp3. To troubleshoot, see if this also happens with your members.

RedHacker
10-28-2009, 08:53 PM
I show in the product in the script removed the "bad" numbers....

COL NIL SATIS
10-28-2009, 10:56 PM
Alright guys. Hopefully soon I will have the feature up and running that allows members to choose their own sound.


Try re-uploading the file or adding some extra padding to the mp3. To troubleshoot, see if this also happens with your members.

okey dokes mate..will give that a try!!! nice mod though..my members like it :D

Cybershaolin
11-01-2009, 01:43 PM
Am I the only one getting the sound even if in my profile settings information I set it up at NO (disabled)?

TheInsaneManiac
11-04-2009, 03:05 PM
Am I the only one getting the sound even if in my profile settings information I set it up at NO (disabled)?
Obviously, but I can help you out. Are your profile fields set up correctly?

1320Nation
11-04-2009, 04:18 PM
This has turned out to be a really nice mod. Thanks again TheInsaneManiac. I will be donating again to show my appreciation to your work and efforts.

Cybershaolin
11-05-2009, 01:33 AM
Obviously, but I can help you out. Are your profile fields set up correctly?

Yep my profile field is perfectly setup. Very weird. It's working but it's just always working even when I disabled it in my profile. Check the screenshots.

TheInsaneManiac
11-05-2009, 11:45 PM
This has turned out to be a really nice mod. Thanks again TheInsaneManiac. I will be donating again to show my appreciation to your work and efforts.
Thanks a lot man. :D

Yep my profile field is perfectly setup. Very weird. It's working but it's just always working even when I disabled it in my profile. Check the screenshots.
Did you add the field id of the option to the code?

Cybershaolin
11-06-2009, 12:52 AM
Did you add the field id of the option to the code?

Of course, check the screenshot again. (On my previous message, you saw that the field number was fiield #6).

Really sad that it's not working for me. I tried on my local forum too and I got the same results! Using 3.8.3.

TheInsaneManiac
11-06-2009, 01:55 PM
Of course, check the screenshot again. (On my previous message, you saw that the field number was fiield #6).

Really sad that it's not working for me. I tried on my local forum too and I got the same results! Using 3.8.3.

Do you use VBOptimize? If so try flushing the cache.

Cybershaolin
11-07-2009, 02:22 PM
No, I don't use vbOptimize.

kalisekj
11-07-2009, 06:23 PM
Wanting Branding free version, PM Sent. Thank you!

kalisekj
11-07-2009, 08:47 PM
Great Addon Works Like a Charm! Something you may wanna consider in future is enabling for all notifications or just for PM's :D

Bill from Cleve
11-09-2009, 01:53 AM
Anyway to make it more user friendly? A simple GUI to add different audible alerts would be Idea. Admins could easily switch things around for all user groups depending on certain needs like hilidays.
It's a good Idea, but just doesn't work for my board. Maybe somebody could help you write a nice easy Admincp function? I would donate gladly for that!

SSJB_7
11-16-2009, 08:37 PM
we thank you and i suggest everyone to donate and help persons like him to make more nice mods with such fast response.
Great mate thank you again .

IRANCITY
11-17-2009, 06:12 PM
i need just notification for Private message
wat am i doing ?

chick
11-20-2009, 02:11 PM
Of course, check the screenshot again. (On my previous message, you saw that the field number was fiield #6).

Really sad that it's not working for me. I tried on my local forum too and I got the same results! Using 3.8.3.

I'm having the same problem too... it does not work on my 3.8.4 site and I have triple checked all settings. Mine is premium sound notification :(

TheInsaneManiac
11-22-2009, 05:18 AM
Anyway to make it more user friendly? A simple GUI to add different audible alerts would be Idea. Admins could easily switch things around for all user groups depending on certain needs like hilidays.
It's a good Idea, but just doesn't work for my board. Maybe somebody could help you write a nice easy Admincp function? I would donate gladly for that!
I don't think I understand what you mean. Check out the premium version features to see if it has what you need.

chick
11-23-2009, 12:06 AM
Fixed, it was on my end in IE, I needed the qt plugin. All is good. Thanks for this sweet hack.

TheInsaneManiac
12-25-2009, 09:36 AM
Fixed, it was on my end in IE, I needed the qt plugin. All is good. Thanks for this sweet hack.

No problems. Glad you like it.

ravenfaust
01-09-2010, 07:50 PM
when installed it only says "Youve Got"

TheInsaneManiac
01-13-2010, 01:42 PM
when installed it only says "Youve Got"
Someone previously had this issue. Look back one or two pages. I believe they reinstalled it and fixed the issue. Try to reupload the sound as well.

vijayninel
02-28-2010, 07:10 AM
How can I set this to off by default ?

Karm4
03-03-2010, 02:00 AM
Okay, I saw someone post before that they couldnt get it to work in Mozilla but got it to work in IE. I have the same problem doesnt work in mozilla. Is there a fix to this?

I will donate if you can get it to work on mozilla.

sinpin
07-04-2010, 09:34 AM
Nice mod,
How can I set this to unconditional mode and always ON by default ?
Does this work on every browser ? (IE, firefox, opera)

Trieb
07-09-2010, 03:57 AM
Works with IE, FF, Opera, Maxthon2, Chrome and Safari.

jgrakowski
02-16-2014, 08:20 AM
right now, when you have a notification, every page refresh causes this sound to play. is there a way to get it to play only once per notification?