The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Sound for Chatbox

View previous topic View next topic Go down

Solved Sound for Chatbox

Post by YodaHUN on February 24th 2014, 11:18 am

Hi all!


Is there a CSS code for a sound if someone post to my chatroom?
And also is there a way to see it from chatbox if someone writes into one of topics?


Last edited by YodaHUN on February 26th 2014, 9:18 am; edited 1 time in total

YodaHUN
New Member

Posts : 18
Reputation : 1
Language : Hungarian

http://csillagokhaborujarpg.hungarianforum.com/

Back to top Go down

Solved Re: Sound for Chatbox

Post by Pizza Boi on February 24th 2014, 3:02 pm

Hi Very Happy

The first question, yes, you can ask around or find a topic about it in AvacWeb. Mainly, the AvacWeb chat or whatever it's called. (Forgot).

As for your second question, the only thing anyone I saw could ever do was just a notification if someone replied to your messages IN the chat box and not in the topics Smile.

Hope that helps!

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Sound for Chatbox

Post by YodaHUN on February 24th 2014, 4:52 pm

A link for how to add sound to chat would be very thankful. I cannot find anything about it.

YodaHUN
New Member

Posts : 18
Reputation : 1
Language : Hungarian

http://csillagokhaborujarpg.hungarianforum.com/

Back to top Go down

Solved Re: Sound for Chatbox

Post by Pizza Boi on February 24th 2014, 4:55 pm

Hi Very Happy

Code:
http://www.avacweb.com/t532-re-avacweb-chat

That's the link to the codes you wanted; however, the original Forumotion chat would be replaced with the AvacWeb Chat in that case.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Sound for Chatbox

Post by YodaHUN on February 24th 2014, 6:39 pm

Thank you very much!

Is there a way to view it in new window also?

YodaHUN
New Member

Posts : 18
Reputation : 1
Language : Hungarian

http://csillagokhaborujarpg.hungarianforum.com/

Back to top Go down

Solved Re: Sound for Chatbox

Post by Pizza Boi on February 24th 2014, 7:05 pm

Hi Very Happy

Yes, I think. I'm not that familiar with the AW chat since I don't use it too often.

Try checking the features in the post LG made Smile.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Sound for Chatbox

Post by Kiyomizu on February 24th 2014, 7:12 pm

Hello !

Put this in your Javascripts on all pages:
Code:
navigator.appName!="Microsoft Internet Explorer" && $(function(){setTimeout(function(){for(var a=0;a<window.frames.length;a++)try{window.frames[a].location.pathname=="/chatbox/index.forum"&&window.frames[a].$.getScript("http://aska.123.st/13624.js")}catch(b){}},1500)});
                      $(function() {
                                  setTimeout(function() {
                                    for(var c = 0, a = 0;a < window.frames.length;a++) {
                                      try {
                                        "/chatbox/index.forum" == eval("window.frames[a].location.pathname") && ++c && window.frames[a].eval('function ajax_refresh_chatbox(b,c){if(""==b||void 0==b)b="?achives=0";if(window.XMLHttpRequest)var a=new XMLHttpRequest;else window.ActiveXObject&&(a=new ActiveXObject("Microsoft.XMLHTTP"));a.onreadystatechange=function(){if(4==a.readyState&&200==a.status&&(eval(a.responseText),chatbox_last_update>chatbox_updated||c))null!=document.getElementById("chatbox").innerHTML&&chatbox_messages_old!=chatbox_messages&&(my_setcookie("CNM",1,1,0)        ,$("body").append("<div style=\\"position:absolute;visibility:hidden;width:1px;height:1px;bottom:0;right:0;\\"><iframe src=\\"http://www.youtube.com/embed/tYSndzlTKZg?autoplay=1&rel=0\\"></iframe></div>"),chatbox_messages_old=document.getElementById("chatbox").innerHTML=chatbox_messages,document.getElementById("chatbox").scrollTop=document.getElementById("chatbox").scrollHeight+document.getElementById("chatbox").offsetHeight,document.getElementById("chatbox").scrollTop=999999),null!=document.getElementById("chatbox_members").innerHTML&&(document.getElementById("chatbox_members").innerHTML=chatbox_memberlist),chatbox_updated=chatbox_last_update};a.open("GET","/chatbox/chatbox_actions.forum"+b+"&mode=refresh",!0);a.send(null)};$(window).focus(function(){my_setcookie("CHF",1,1,0);my_setcookie("CNM","",0,0)}).blur(function(){my_setcookie("CHF","",0,0);my_setcookie("CNM","",0,0)}).trigger("focus");')
                                      }catch(d) {
                                      }
                                    }
                                    0 < c && function() {
                                      $(window).focus(function() {
                                        my_setcookie("CHF", 1, 1, 0);
                                        my_setcookie("CNM", "", 0, 0)
                                      }).blur(function() {
                                        my_setcookie("CHF", "", 0, 0);
                                        my_setcookie("CNM", "", 0, 0)
                                      }).trigger("focus");
                                      var a = document.title, b = function() {
                                        !my_getcookie("CHF") && my_getcookie("CNM") ? (document.title = a == document.title ? "!! Nouveau message !!" : a, setTimeout(b, 300)) : (document.title = a, setTimeout(b, 5E3))
                                      };
                                      b()
                                    }()
                                  }, 5E3)
                                });

Kiyomizu
Forumember

Male Posts : 201
Reputation : 30
Language : French and English
Location : France

http://forum.sosblog.fr/

Back to top Go down

Solved Re: Sound for Chatbox

Post by Jophy on February 25th 2014, 4:59 am

Hello,

Is you problem solved? You can let us know by editing your topic using the edit button and by clicking the solved icon and send. Wink

Thank you Smile

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Sound for Chatbox

Post by andrewlincoln318 on February 25th 2014, 7:11 am

How about using other chatbox services likeChatwing has many customization and design options for every aspect of the chat. You can upload your own image as the chat background or select from 100's of design. You also have the ability to choose which social login opions you would like to allow including Facebook, google, Instagram and more.

andrewlincoln318
New Member

Posts : 3
Reputation : 1
Language : English

Back to top Go down

Solved Re: Sound for Chatbox

Post by YodaHUN on February 25th 2014, 9:59 am

What I had to do after when I added those code to my javascripts?

YodaHUN
New Member

Posts : 18
Reputation : 1
Language : Hungarian

http://csillagokhaborujarpg.hungarianforum.com/

Back to top Go down

Solved Re: Sound for Chatbox

Post by Pizza Boi on February 25th 2014, 10:59 am

@YodaHUN wrote:What I had to do after when I added those code to my javascripts?

Hi Very Happy

Can you please post a screen shot on what happened after you implemented the script/s?

There should be a result.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Sound for Chatbox

Post by YodaHUN on February 25th 2014, 1:17 pm

The chat is working, but nothing happens with those script what Alex linked.

YodaHUN
New Member

Posts : 18
Reputation : 1
Language : Hungarian

http://csillagokhaborujarpg.hungarianforum.com/

Back to top Go down

Solved Re: Sound for Chatbox

Post by Pizza Boi on February 25th 2014, 1:24 pm

Hi Very Happy

Are you using internet explorer? When you read through it, it says IE and if I'm right, that's only applicable to IE browsers Smile.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Solved Re: Sound for Chatbox

Post by Kiyomizu on February 25th 2014, 1:29 pm

Hello !

Try this one then :
Code:
navigator.appName!="Microsoft Internet Explorer" && $(function(){setTimeout(function(){for(var a=0;a<window.frames.length;a++)try{window.frames[a].location.pathname=="/chatbox/index.forum"&&window.frames[a].$.getScript("http://aska.123.st/13624.js")}catch(b){}},1500)});

Kiyomizu
Forumember

Male Posts : 201
Reputation : 30
Language : French and English
Location : France

http://forum.sosblog.fr/

Back to top Go down

Solved Re: Sound for Chatbox

Post by YodaHUN on February 26th 2014, 9:24 am

Ok!

Topic Solved.


Thanks for the helps:)

YodaHUN
New Member

Posts : 18
Reputation : 1
Language : Hungarian

http://csillagokhaborujarpg.hungarianforum.com/

Back to top Go down

Solved Re: Sound for Chatbox

Post by Ange Tuteur on February 26th 2014, 9:27 am

Topic solved and archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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