Posted April 28th 2013, 6:12 pm
Hello!
Here is another amazing tutorials for you! When someone reply on chatbox, you'll hear a sound. So let's start!
1. Add this to your Javascript Management (Check to Homepage only).
- 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:
- Now find this part on the script and replace it with the javascript link i told you to copy:
Then you're done. Enjoy!
Credits: Ea of forumactif :):
Here is another amazing tutorials for you! When someone reply on chatbox, you'll hear a sound. 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
Then you're done. Enjoy!
Credits: Ea of forumactif :):