Pork Center

Qwebirc

De Hack-it.org.

(Liste de networks qui ont foutu un qwebirc)
Ligne 87 : Ligne 87 :
* Une jolie couleur rose :
* Une jolie couleur rose :
  ?uio=OT10cnVlJjEwPXRydWUmMTE9MzY555
  ?uio=OT10cnVlJjEwPXRydWUmMTE9MzY555
 +
===Autoconnect hack===
 +
<pre>
 +
Anonymous
 +
 +
written 8 months ago
 +
 +
Hi!, I'm really new with qwebirc. I want just the same as the creator of this issue. I really understand problems about joinflood, but I also think that admins should have the options to make what they want with their networks. I use qwebirc in my own network.
 +
 +
I made a mod to allow autoconnect, I modify js/ui/panes/connect.js
 +
 +
just replace function qwebirc.ui.ConfirmBox (Line 15) with:
 +
 +
1
 +
2
 +
3
 +
 +
 +
 +
qwebirc.ui.ConfirmBox = function(parentElement, callback, initialNickname, initialChannels, autoNick, networkName) {
 +
    callback({"nickname": initialNickname, "autojoin": initialChannels});
 +
}
 +
 +
This changes omit autoNIck and Networkname, and any other functionality that could be inside this function because It's just want I need for my site. This allow me to autoconnect using nicknames from my site.
 +
 +
Hope this helps someone.
 +
 +
Regards
 +
 +
Emiliano Romero
 +
</pre>
==Liste de networks qui ont foutu un qwebirc==
==Liste de networks qui ont foutu un qwebirc==
* [[Quakenet]]  : http://webchat.quakenet.org/
* [[Quakenet]]  : http://webchat.quakenet.org/

Version du 18 janvier 2011 à 08:20