Version 3.0.5

This commit is contained in:
Neo committed 2025-12-19 00:31:03 -08:00
1 parent 19b38c7c74
commit 1d4720f3e2
3755 files changed
+508378 -664541

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
/************************************************/
/* IPB3 Javascript */
/* -------------------------------------------- */
/* ips.chat.js - Chat javascript */
/* (c) IPS, Inc 2008 */
/* -------------------------------------------- */
/* Author: Brandon Farber */
/************************************************/
var _chat = window.IPBoard;
_chat.prototype.chat = {
ajaxTrigger: 60,
init: function()
{
Debug.write("Initializing ips.chat.js");
document.observe("dom:loaded", function(){
ipb.chat.ping();
new PeriodicalExecuter( ipb.chat.ping, ipb.chat.ajaxTrigger );
});
},
ping: function()
{
new Ajax.Request(
ipb.vars['base_url'] + "app=chat&module=ajax&section=update&md5check="+ipb.vars['secure_hash'],
{ method: 'get' }
);
}
}
ipb.chat.init();