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.

Chatbox Sound Notification on New Msg(s)

View previous topic View next topic Go down

Should a sound notification be added to the forumotion chatbox?

94% 94% 
[ 17 ]
6% 6% 
[ 1 ]
 
Total Votes : 18

Chatbox Sound Notification on New Msg(s)

Post by TwiztedCoded on May 4th 2013, 5:07 am

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. Razz


Last edited by TwiztedCoded on May 4th 2013, 8:24 am; edited 2 times in total (Reason for editing : To add poll and spelling. :))

TwiztedCoded
Forumember

Male Posts : 33
Reputation : 0
Language : English

http://xswkx.darkbb.com

Back to top Go down

Re: Chatbox Sound Notification on New Msg(s)

Post by E-Mark on May 4th 2013, 5:18 am

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

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Re: Chatbox Sound Notification on New Msg(s)

Post by TwiztedCoded on May 4th 2013, 5:52 am

Will this keep my chatbox the same, but just add a notification sound to it? An thanks for the help/feedback I appreciate it. Razz

TwiztedCoded
Forumember

Male Posts : 33
Reputation : 0
Language : English

http://xswkx.darkbb.com

Back to top Go down

Re: Chatbox Sound Notification on New Msg(s)

Post by tommycoo on May 4th 2013, 7:26 am

this is about question or suggestion ? if suggestion please make it poll Very Happy

tommycoo
Forumember

Male Posts : 615
Reputation : 9
Language : Indonesia

http://www.atlanta.forumid.net

Back to top Go down

Re: Chatbox Sound Notification on New Msg(s)

Post by E-Mark on May 4th 2013, 1:47 pm

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. huhohi

E-Mark
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

http://coding-spot.darkbb.com/

Back to top Go down

Re: Chatbox Sound Notification on New Msg(s)

Post by Jezzda on May 4th 2013, 4:23 pm

I'd also like to see this feature added to Forumotion.

-Voted yes.

Jezzda
Forumember

Posts : 74
Reputation : 2
Language : English

Back to top Go down

Re: Chatbox Sound Notification on New Msg(s)

Post by TwiztedCoded on May 4th 2013, 7:37 pm

@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. huhohi

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. Razz Very good cheers

TwiztedCoded
Forumember

Male Posts : 33
Reputation : 0
Language : English

http://xswkx.darkbb.com

Back to top Go down

Re: Chatbox Sound Notification on New Msg(s)

Post by myforum on June 5th 2013, 7:13 pm

yes that would be great

myforum
Forumember

Posts : 97
Reputation : 1
Language : English

Back to top Go down

Re: Chatbox Sound Notification on New Msg(s)

Post by Derri on June 10th 2013, 2:21 pm

As long as everyone got an option to disable it, members included, then I vote yes.

Derri
Administrator
Administrator

Male Posts : 8355
Reputation : 571
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Re: Chatbox Sound Notification on New Msg(s)

Post by Shamrock on December 9th 2013, 4:26 pm

Voted yes!!

Shamrock
New Member

Posts : 10
Reputation : 1
Language : English
Location : On the edge of sanity

http://7clans.legendaryclub.com/

Back to top Go down

Re: Chatbox Sound Notification on New Msg(s)

Post by Base on December 15th 2013, 11:31 am


Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

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