The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

When a new Notification: play mp3 file

4 posters

Go down

Solved When a new Notification: play mp3 file

Post by teliosmetonma1 January 7th 2019, 6:34 pm

Is there any codes that makes my forum play an mp3 file when users have new notifications?

thank you  Hello
teliosmetonma1
teliosmetonma1
Forumember

Posts : 247
Reputation : 1
Language : greek

http://www.yugioh.gr

Back to top Go down

Solved Re: When a new Notification: play mp3 file

Post by Ape January 7th 2019, 7:27 pm

Right now NO this is not installed but we are testing a system that may work but until we test it then we can't hand the code out but it maybe in the tricks a tips soon so watch this space


When a new Notification: play mp3 file Left1212When a new Notification: play mp3 file Center11When a new Notification: play mp3 file Right112
When a new Notification: play mp3 file Ape_b110
When a new Notification: play mp3 file Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19122
Reputation : 1993
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: When a new Notification: play mp3 file

Post by skouliki January 7th 2019, 7:28 pm

hello

am not sure that this works but give it a try 

 create a new javascript ... in all pages 

Code:
$(window).load(function () {
    my_setcookie('notifications', document.getElementById('fa_right').innerHTML, false);
    setInterval(function () {
        if (document.getElementById('fa_right').innerHTML != my_getcookie('notifications')) {
            $('body').append('<embed src="http://www.freesfx.co.uk/rx2/mp3s/2/1305_1256857800.mp3" width="0"
height="0" autoplay="true" style="display: none;" class="notification_sound"></embed>');
            setTimeout(function () {
                $('.notification_sound').remove();
            }, 3000);
            my_setcookie('notifications', document.getElementById('fa_right').innerHTML, false);
        }
    }, 5000);
});


replace this : http://www.freesfx.co.uk/rx2/mp3s/2/1305_1256857800.mp3
skouliki
skouliki
Manager
Manager

Female Posts : 15133
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: When a new Notification: play mp3 file

Post by teliosmetonma1 January 7th 2019, 9:55 pm

Well it doesnt work... and i changed the mp3 to: https://s1.vocaroo.com/media/download_temp/Vocaroo_s12lFH1cG3Km.mp3
teliosmetonma1
teliosmetonma1
Forumember

Posts : 247
Reputation : 1
Language : greek

http://www.yugioh.gr

Back to top Go down

Solved Re: When a new Notification: play mp3 file

Post by skouliki January 8th 2019, 4:31 am

Then wait as APE suggested
skouliki
skouliki
Manager
Manager

Female Posts : 15133
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: When a new Notification: play mp3 file

Post by Ape January 22nd 2019, 5:26 pm

Great news @teliosmetonma1 we have now tested a Tutorial we was gave from one of our other support forums
This is fully tested and working like a charm.

I think this will be what your looking for.
https://help.forumotion.com/t157012-sound-notifications#1086421

Have a great day from all of us @ Forumotion


When a new Notification: play mp3 file Left1212When a new Notification: play mp3 file Center11When a new Notification: play mp3 file Right112
When a new Notification: play mp3 file Ape_b110
When a new Notification: play mp3 file Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19122
Reputation : 1993
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: When a new Notification: play mp3 file

Post by skouliki February 5th 2019, 9:38 am

@teliosmetonma1 is this solved?
if yes please mark it as Solved

thank you

skouliki
skouliki
Manager
Manager

Female Posts : 15133
Reputation : 1696
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: When a new Notification: play mp3 file

Post by teliosmetonma1 February 5th 2019, 11:55 am

Yep, solved
teliosmetonma1
teliosmetonma1
Forumember

Posts : 247
Reputation : 1
Language : greek

http://www.yugioh.gr

Back to top Go down

Solved Re: When a new Notification: play mp3 file

Post by SLGray February 5th 2019, 12:16 pm

Problem solved & topic archived.
Please read our forum rules:  ESF General Rules


When a new Notification: play mp3 file Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum