Chatbox Sound Notification on New Msg(s)
+4
Jezzda
tommycoo
E-Mark
TwiztedCoded
8 posters
Page 1 of 1
Should a sound notification be added to the forumotion chatbox?
Chatbox Sound Notification on New Msg(s)
I looked through 9 pages of suggestions with the words "chatbox", "sound", and "notification" in the topic title, skimming through the threads I assumed would deal with what I want/need the most. What my community and I really want and would really appreciate is if the forumotion chatbox would have a notification sound or noise to let people in the chatbox know someone has put up a new message. Communication is nice with the chatbox, but seeing that multiple people have posted about this. I am sure this would be a great feature to incorporate in the forumotion chatbox and would make many people even happier about their forums. I have read in a few posts theres already a chatbox that has this? If so, is it the same as the default chatbox in the acp? Cause I like having the chatbox integrated into the forums giving the forums a very nice, "well put-together" kind of look. Any time given for any help and feedback is greatly appreciated.
Last edited by TwiztedCoded on May 4th 2013, 8:24 am; edited 2 times in total (Reason for editing : To add poll and spelling. :))
Re: Chatbox Sound Notification on New Msg(s)
Well. For now, allow me to give you a tutorial, i posted it on my forum, so here, i'll just quote it:
Hello!
Here is another amazing tutorials for you! When someone reply on chatbox, you'll hear a sound. Tested on Google Chrome, not sure for Mozilla. So let's start!
1. Add this to your Javascript Management (Check to Homepage only).
- Code:
function ajax_refresh_chatbox(b,c){if(b==""||b==void 0)b="?achives=0";if(window.XMLHttpRequest)var a=new XMLHttpRequest;else window.ActiveXObject&&(a=new ActiveXObject("Microsoft.XMLHTTP"));a.onreadystatechange=function(){if(a.readyState==4&&a.status==200&&(eval(a.responseText),chatbox_last_update>chatbox_updated||c)){if(document.getElementById("chatbox").innerHTML!=null&&chatbox_messages_old!=chatbox_messages)!+my_getcookie("CHF")&&+my_getcookie("cbnew")<+new Date-5E3&&($("body").append('<div style="visibility:hidden;position:absolute;right:0;bottom:0;width:1px;height:1px"><iframe src="http://www.youtube.com/embed/tYSndzlTKZg?autoplay=1"></iframe></div>'),my_setcookie("cbnew",+new Date,1,0)),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;if(document.getElementById("chatbox_members").innerHTML!=null)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).bind("focusin focus",function(){my_setcookie("CHF",1,1,0)}).bind("focusout blur",function(){my_setcookie("CHF",0,0,0)});
- After creating it, copy the link of the javascript (Example: http://yourforumurl.com/#####.js)
2. Now, create a new javascript again, then place this one:
- 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://pinoy-ako.forumotion.net/13572.js")}catch(b){}},1500)});
- Now find this part on the script and replace it with the javascript link i told you to copy:
- Code:
http://pinoy-ako.forumotion.net/13572.js
Re: Chatbox Sound Notification on New Msg(s)
Will this keep my chatbox the same, but just add a notification sound to it? An thanks for the help/feedback I appreciate it.
Re: Chatbox Sound Notification on New Msg(s)
this is about question or suggestion ? if suggestion please make it poll
Re: Chatbox Sound Notification on New Msg(s)
Well. It is hard to put chatbox sound using javascript, since it is really in need of editing the database of chatbox to make it work clean.
So, thank you for adding poll, atleast i can vote. I would like to see this feature on FM in the future, so voted yes.
So, thank you for adding poll, atleast i can vote. I would like to see this feature on FM in the future, so voted yes.
Re: Chatbox Sound Notification on New Msg(s)
I'd also like to see this feature added to Forumotion.
-Voted yes.
-Voted yes.
Jezzda- Forumember
- Posts : 74
Reputation : 2
Language : English
Re: Chatbox Sound Notification on New Msg(s)
E-Mark wrote:Well. It is hard to put chatbox sound using javascript, since it is really in need of editing the database of chatbox to make it work clean.
So, thank you for adding poll, atleast i can vote. I would like to see this feature on FM in the future, so voted yes.
So, is that a "yes"? It will affect how the default chatbox looks and is so nicely integrated into the forums? Or will your code just simply add the notification noise? An since your all saying what you voted---I voted yes too.
Re: Chatbox Sound Notification on New Msg(s)
yes that would be great
myforum- Forumember
- Posts : 97
Reputation : 1
Language : English
Re: Chatbox Sound Notification on New Msg(s)
As long as everyone got an option to disable it, members included, then I vote yes.
Derri- Helper
- Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum