vb.org Archive

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

TheInsaneManiac 04-04-2011 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.


Features:
Global Enable/Disable
Only Alert Once (Uses Cookies)
Index Only Option [PRO]
Cookie Resets After All Unread Messages Have Been Read [PRO]
Usergroup Permissions [PRO]
UserID Permissions [PRO]


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


Installation:
Upload mail.mp3 to root of vB directory
Install product-soundnotification.xml
Mark Installed
Done


Upgrading:
Import the product and select Allow Overwrite.


Changelog:
1.1 - Recoded for 4.2.2

1.0 - Release

TheInsaneManiac 04-04-2011 11:05 PM

----Reserved----

Disasterpiece 04-05-2011 12:12 AM

Why does a simple script like this need a premium version and a linkback ???

This is like... written in 5 minutes. No offense.

TheInsaneManiac 04-05-2011 12:17 AM

Quote:

Originally Posted by Disasterpiece (Post 2180945)
Why does a simple script like this need a premium version and a linkback ???

This is like... written in 5 minutes. No offense.

Before you judge, maybe you should ask what the premium features are. I've seen a few mods that are just two lines of copied javascript, but their premium counterparts... they are always better.

Mr_Running 04-05-2011 12:37 AM

I am no expert but I think the code needs to be mark as code. So non-members can't see it.

and this part of the code can be found in the header template not the navbar :confused:

6.) In the template navbar find:

Code:

<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>

TheInsaneManiac 04-05-2011 03:50 AM

If the above code is found in your header template, you will need to change the modification.

Find:
Code:

vB_Template::preRegister('navbar',array('soundnotification' => $soundnotification));

Replace:
Code:

vB_Template::preRegister('header',array('soundnotification' => $soundnotification));
I really dislike the way 4.0 does vars... Makes things more difficult. I'll fix this in the new version.

Sforums 04-05-2011 11:30 AM

Quote:

Originally Posted by Mr_Running (Post 2180956)
I am no expert but I think the code needs to be mark as code. So non-members can't see it.

and this part of the code can be found in the header template not the navbar :confused:

6.) In the template navbar find:

Code:

<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>

No such codes either in navbar or header on my side....4.1.0.PL2
Anyone so far have this thing working?

Uninstalled and rated accordingly.

Disasterpiece 04-05-2011 11:49 AM

I wasn't judging you or your mod. I clicked on the link to the premiumfeatures above, saw that I had to register, closed the window and moved along.

I'm interested in this mod, but a linkback for this? no way. If I might suggest something: List the premium features where people can read them without registering somewhere else. Including prices and a comparison what you can do with free/paid version.

Tom Kagan 04-05-2011 12:08 PM

Quote:

Originally Posted by Disasterpiece (Post 2180945)
Why does a simple script like this need a premium version and a linkback ???

This is like... written in 5 minutes. No offense.

Perhaps because you and others are too lazy to do the work and prefer to wait for a hack, then have fun throwing peanuts at it from the gallery?

gamerscms 04-05-2011 02:58 PM

Tried and uninstalled, sort the code out and then worry about trying to make $$$ from it.

Rushed wasted project.

UNINSTALLED

TheInsaneManiac 04-05-2011 07:34 PM

Quote:

Originally Posted by Sforums (Post 2181069)
No such codes either in navbar or header on my side....4.1.0.PL2
Anyone so far have this thing working?

Uninstalled and rated accordingly.

How can you rate something to which you haven't actually asked for help to get it working properly, it's not my fault you are impatient and have a designer that doesn't know what he is doing. The code is required to show notifications. It can be found in the default style, if it is not in your style you are using, then it better be a free style otherwise you got ripped off.

If it is not in your default style, then mark my modification as installed and I will help get it working. I don't support those who do not install my modification. I need you to post the VBulletin 4.1.0 PL2 Default Style in code brackets. Only your header template. I didn't click supported for no reason you know...

Rating something without knowledge is like buying a computer and taking it back because you got a virus on it.


Quote:

Originally Posted by gamerscms (Post 2181135)
Tried and uninstalled, sort the code out and then worry about trying to make $$$ from it.

Rushed wasted project.

UNINSTALLED

Read what I said above.


Quote:

Originally Posted by Tom Kagan (Post 2181075)
Perhaps because you and others are too lazy to do the work and prefer to wait for a hack, then have fun throwing peanuts at it from the gallery?

Thanks for sticking up for me, for that I will send you a premium copy of the modification for free. I need to put some final touches on it however as I have decided to rewrite the premium version from scratch.

Eruantien 04-05-2011 08:48 PM

This mod has potential. I have no need for it in it's current disarray.

LLent 04-05-2011 10:33 PM

Thanks but no thanks i too wanted to see what premium features were but am not registering was a good suggestion to post them so we may see if us as members wanted to pay for it .....when you work out details i may be back

TheInsaneManiac 04-05-2011 11:17 PM

Quote:

Originally Posted by LLent (Post 2181336)
Thanks but no thanks i too wanted to see what premium features were but am not registering was a good suggestion to post them so we may see if us as members wanted to pay for it .....when you work out details i may be back

Rewritting the mod from scratch for premium. It will be based on the end user and give them all the power over the modification.

It will create 4 profile fields:
Sound Notification - This allows the user to choose rather or not to enable the modification

Sound Notification Location - This allows the user to choose if the sound is played on all locations of the board or just the forumhome.

Sound Notification Presets - This field contains 10 preset sounds the user can choose from.

Sound Notification File - This allows the user to choose their own alert sound to play when they receive a notification.


It will also feature:
Usergroup permissions
AdminCP Global Disable and Global Forumhome.

You of course can add your own preset sounds to the profile field, or replace with your own via ftp.


I will take ANY suggestions you have. The premium version will be available soon.

Eq4bits 04-15-2011 04:32 PM

where do I get the mp3 file? and where do i upload it to? There wasn't an mp3 in the zip file, just the product xml =S

Eq4bits 04-15-2011 04:53 PM

I uploaded a wav file to use instead, but it doesn't play
I made the necessary edits in the xml file, to header, etc
Have it enabled in admincp>options/settings
It's auto enabled for all users
Yes, it's enabled on my own i.d./profile
but it still doesn't play =S

Eq4bits 04-15-2011 05:36 PM

now my members are getting 'missing profile field' error when they log in, even when everything in profile is filled in properly.
Had to Uninstall, will tag and check back to see if error fixed =S

FazerPaint 04-15-2011 08:12 PM

Quote:

Originally Posted by Eq4bits (Post 2185004)
I uploaded a wav file to use instead, but it doesn't play
I made the necessary edits in the xml file, to header, etc
Have it enabled in admincp>options/settings
It's auto enabled for all users
Yes, it's enabled on my own i.d./profile
but it still doesn't play =S

Exactly the same problem here, all installed and edits done, but still no sound plays.

Disabled until solution found

TheInsaneManiac 04-20-2011 07:56 PM

Have you tried just a mp3 file?

Eq4bits 06-26-2011 05:23 AM

reinstalled and tried using with original mp3 file provided... still doesn't work (yes speakers were turned on)

Lostboyfan 07-05-2011 03:59 PM

Tagged for later.

Sforums 07-06-2011 07:19 PM

Tried on default style and doesn't work either.
Rating says it all.

faisaly.com 11-14-2012 01:58 AM

Can anyone help with this, using vb4.2.0 The code found on vb4.2.0 was in headernot navbar and the array was put under it and the xml was edited replacing "navbar" with header

Profile Id number was also added to the xml in the place specified, and uploaded the mp3 to public_html

Am I missing something here?

Bubble #5 08-24-2013 10:41 PM

You're not missing anything it doesn't work. The OP just abandoned it. I will play around with it to see if I can get it working (4.2.1) but it may be a lost cause. Shame it's not supported because I was going to buy the premium version too.

TheInsaneManiac 12-28-2013 01:33 AM

Quote:

Originally Posted by Bubble #5 (Post 2440866)
You're not missing anything it doesn't work. The OP just abandoned it. I will play around with it to see if I can get it working (4.2.1) but it may be a lost cause. Shame it's not supported because I was going to buy the premium version too.

Too many were hating on the product, so I figured no one wanted it, so I stopped working on it. I have a simple version I been using on my forums for my admins for the last few months, but nothing special.

ozzy47 12-28-2013 01:37 AM

I started to do this also for vBSuperPm when I was with DBTech, but I also abandoned the idea, as it gets quite annoying. :)

TheInsaneManiac 12-28-2013 02:18 AM

Quote:

Originally Posted by ozzy47 (Post 2470879)
I started to do this also for vBSuperPm when I was with DBTech, but I also abandoned the idea, as it gets quite annoying. :)

I have a few ideas actually and your help actually gave me another idea. Gonna pm you real quick.

djbaxter 01-06-2014 03:47 AM

Installed the Pro version.

Can't find where to set the Usergroup permissions or other pro feature permissions.

Does this notify for all notificatisons or just PMs? :confused:

billstelling 01-06-2014 05:25 AM

Part of the problem with it seems to be it was created using apples os(guess). It wanted me to install quicktime after installing it. (the no sound problem maybe)
firefox stuck a box saying something needed the quicktime plugin to run. It stuck that notice at the top of the sidebar of all places and was the top block of the sidebar. Not even sure if it was FF that did it. Never had a plugin request show up in vb like it before..

TheInsaneManiac 01-06-2014 06:15 AM

Quote:

Originally Posted by djbaxter (Post 2472537)
Installed the Pro version.

Can't find where to set the Usergroup permissions or other pro feature permissions.

Does this notify for all notificatisons or just PMs? :confused:

This is my fault, I apologize, I don't know what is going on with sellfy but they never correct a file update when I upload a newer version. I'm out of town, when I get back tomorrow I will PM you correct version. Sorry for any inconvenience.

EDIT: Updated the file for Pro.

Quote:

Originally Posted by billstelling (Post 2472547)
Part of the problem with it seems to be it was created using apples os(guess). It wanted me to install quicktime after installing it. (the no sound problem maybe)
firefox stuck a box saying something needed the quicktime plugin to run. It stuck that notice at the top of the sidebar of all places and was the top block of the sidebar. Not even sure if it was FF that did it. Never had a plugin request show up in vb like it before..

It uses <embed src> Firefox will sometimes do that for wav files. try MP3.

Eq4bits 03-07-2014 03:33 PM

I reinstalled this hoping that it would work on vB4.2.2
Used mp3 file, still no sound with mod enabled.
is there something I have to manually edit/add in the header template?
I'm confused. I'd get the 'pro'/premium version but not until this works =S

ETA: it took a little while (half hour or so) but the sound is now playing. However, now my user's general settings look like this:
https://vborg.vbsupport.ru/external/2014/03/64.png

MajorKokosnuss 08-05-2014 11:31 AM

I am using vbulletin 4.2.2 and i hear no sound when i got a notification/pm

Randhal007 08-05-2014 01:51 PM

It seems pretty good, but I am still waiting for the best possible results from your discussion of all

dknelson 01-11-2015 09:38 PM

Just installed. Not working for me either. Does anybody know of another solution?

ozzy47 01-11-2015 10:22 PM

Quote:

Originally Posted by dknelson (Post 2531968)
Just installed. Not working for me either. Does anybody know of another solution?

You do realize most users of sites hate this sort of thing right?

dknelson 01-11-2015 10:35 PM

Yes, I can see where it could get irritating but I have members asking for it. The best thing would be such a mod with a setting in the UserCP to select on or off.

ozzy47 01-11-2015 10:39 PM

Yeah I have seen users ask for this before. The developer has not been online for two months now, could be busy with his personal life. Hopefully he can come on soon and look into the bug reports.

dknelson 01-11-2015 10:46 PM

Yea, it looked like it was pretty much unsupported. Oh well, not a huge deal.

Darkside2012 07-28-2015 06:20 PM

1 Attachment(s)
Sound is playing now ......

I have played with the cookie settings
the one what I have chenged is
Code:

                if ($pm_unread['pmunread'] >  '0')
to
Code:

                if ($pm_unread['pmunread'] >= '1')
in ACP I have dissabled the setting for " Use a cookie to only alert members of new PMs once? "

Tested with VB 4.2.3 in IE, FF and Chrome


All times are GMT. The time now is 03:37 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.01423 seconds
  • Memory Usage 1,828KB
  • 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
  • (6)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete