Anope IRC Services
Anope.org => Anope General => Topic started by: eawedat on February 14, 2010, 02:49:57 PM
-
Hey all,,
am wondering if there are specific modules that can be added as plugins or something
to Anope services so,, user who logs into my website can register either his/her nickname or channel by a given website..
for example if a user surf on my server's website there would be an option to register
a new nickname and channel.
http//example.com/register
and there
he fills out a form and submit data then anope services informs user if nickname or channel is already registered or not and if not to register it to write successful registeration :)
what modules can i use for that?
links please..
and explaination link for compiling modules into anope services
and if there is a sample website to use.
thanks a lot)
-
There are ways to do this but nothing has been published as yet.
-
I recommend to use mysql support on your server to use nickname check.
Edit some line and conf.php:
bot config. in conf.php
$dbHost = 'localhost'; // usually localhost
$dbUsername = 'ircd_users';
$dbPassword = 'passs';
$dbDatabase = 'ircd_anope';
this in check.php pls change it.
And finally
install saregister module and edit this module and reg.php
eg.
find
c = createCommand("SAREGISTER", do_saregister, is_services_admin, -1, -1, -1, -1, -1);
change
c = createCommand("SAREGISTERETC", do_saregister, NULL, -1, -1, -1, -1, -1);
dont say this command to other admins or users.
find
notice_lang(s_NickServ, u, NICK_ALREADY_REGISTERED, nick);
change
notice_user(s_NickServ, u, "Nick \2%s\2 zaten kayitli", nick);
----
find this line in reg.php
$ekran = fputs($baglan, 'PRIVMSG '.$services.' :saregister '.$rumuz.' '.$sifre.' '.$mail.$n);
change
$ekran = fputs($baglan, 'PRIVMSG '.$services.' :saregisteretc '.$rumuz.' '.$sifre.' '.$mail.$n);
ns_saregister - http://modules.anope.org/index.php?page=view&id=173
demo - http://irc.org.tr/kayit