Mibew Messenger Community

Contributions => Plugins, tips, and tricks => Topic started by: blazed-designs on March 28, 2009, 04:34:06 PM

Title: Notification Alert
Post by: blazed-designs on March 28, 2009, 04:34:06 PM
This is nothing Fancy I just had issues knowing someone joined the Support chat because I often listen to music as I am a Web Designer and Developer and I use this chat for consulting possible clients. All I did was insert a Javascript Alert box that says "New Visitor" so that my browser will jump to that tab or if i am on another program highlight in the taskbar.

all you need to do is add

alert('New Visitor!');

to the file: users.js
To find it easier search for "{$s(ht+'/sounds/new_user.wav');" without the " marks.

place it after the ; in the term above.



Please know I am using Version: 1.6.0 alpha 1

Here is the File if you want it. Just change the extension to .js

Title: Re: Notification Alert
Post by: CT32 on March 30, 2009, 03:32:12 PM
Well, i had the same problem.
Thanks :)
Title: Re: Notification Alert
Post by: 1000inone on September 10, 2009, 12:45:26 PM
Hi
thats nice but can you tell file in which directory?
you said file name user but there filename "users" and its more then one file?
please explain
thanks for great work
Title: Re: Notification Alert
Post by: Inspirer on September 10, 2009, 02:02:58 PM
The patch is already in the distribution (at least in 1.6.2).

To turn it on go to "Settings" -> "Optional Services" and check:
>> Enable "Popup dialog notification of the new visitor".
Title: Re: Notification Alert
Post by: icute on February 22, 2011, 04:56:23 AM
I have already enable the new visitor alert but no popup alert when new visitor visit my site.