Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: DJ24966 on November 11, 2008, 12:48:51 AM

Title: Login System
Post by: DJ24966 on November 11, 2008, 12:48:51 AM
I'm trying to run Anope with Unreal 3.2.7. I don't want to use mIRC for my users to access the chats. I have a webchat up and running, which seems to work fine, only we do not have a login system to let users register nicknames within the server. This is causing issues and letting random users give themselves operator privileges without permission.

Is there anything out there that will allow you to have a PHP signup system?

Thanks
Title: Re: Login System
Post by: Robin Burchell on November 11, 2008, 12:40:48 PM
Umm.

Services *is* a 'login' system that lets users register nicknames within the server, so I'm not quite sure why you're asking here if you aren't running anope.

That aside, there is no (feasible, supported) way to currently register nicknames from outside of IRC, no.
Title: Re: Login System
Post by: Jan Milants on November 11, 2008, 01:25:33 PM
Rob is/was working on a module that would allow a web application to communicate with services, but i m not sure at which stage of development it is.
Title: Re: Login System
Post by: DJ24966 on November 11, 2008, 06:43:42 PM
I thought with Anope Version 1.8.0 you had read/write access with SQL and could go about it that way, if I'm wrong, please explain. I don't want to go on being confused here.

Thanks
Title: Re: Login System
Post by: casper1256 on November 11, 2008, 08:05:12 PM
It was planned for 1.9.
Title: Re: Login System
Post by: DJ24966 on November 11, 2008, 08:52:08 PM
Would it be possible to take my websites registration system, and make it add new peoples info to the anope_ns_alias in the database, have them register for our website, but also the chat all at one time? I thought about it, and it seems like it would work, but don't want to waste my time re doing all of my sites coding.
Title: Re: Login System
Post by: Charles Kingsley on November 11, 2008, 09:10:25 PM
Anope's MySQL support currently dumps to MySQL and only reads from it at runtime if userdb is enabled thus I'd say you can't achieve what you want.

For 1.9, better support is hoped to be available which will allow for exactly what you have described.
Title: Re: Login System
Post by: DJ24966 on November 11, 2008, 09:28:50 PM
Ok, thanks, any idea on a time frame until 1.9?
Title: Re: Login System
Post by: TwinShadow on November 11, 2008, 09:35:19 PM
Ok, thanks, any idea on a time frame until 1.9?

Simple answer: It'll be done when it's done. =P

Long answer: Who knows. 1.8 hasn't even been release as stable quite yet, but you can probably find some of the GIT repositories for Anope 1.9, AKA Anope-ng. I don't know if that's even in alpha stages at the moment.
Title: Re: Login System
Post by: DJ24966 on November 11, 2008, 09:49:48 PM
Ok, Just trying to find something to use, don't want to require my users use mIRC. Would rather them use my simple webchat. I'll keep checking around, and if anybody finds anything out, please let me know.
Title: Re: Login System
Post by: Charles Kingsley on November 12, 2008, 06:31:18 AM
They can use your simple webchat if it connects to your ircd it can just register the nick/identify to it through that?
Title: Re: Login System
Post by: DJ24966 on November 12, 2008, 06:52:49 AM
They can use your simple webchat if it connects to your ircd it can just register the nick/identify to it through that?

Can they register from the webchat though? When I try it, It adds nothing to the database.
Title: Re: Login System
Post by: Jobe on November 12, 2008, 11:58:32 AM
Can they register from the webchat though? When I try it, It adds nothing to the database.

Did you wait the default 5 minutes (or if you changed it, however long) for Anope to dump back to the MySQL DB again?
Title: Re: Login System
Post by: DJ24966 on November 12, 2008, 12:14:24 PM
Did you wait the default 5 minutes (or if you changed it, however long) for Anope to dump back to the MySQL DB again?

Just checked, and it's still not in the database.

Does Chatcore support the command?

www.chatcore.com
Title: Re: Login System
Post by: Robin Burchell on November 12, 2008, 12:17:52 PM
Simple answer: It'll be done when it's done. =P

Long answer: Who knows. 1.8 hasn't even been release as stable quite yet, but you can probably find some of the GIT repositories for Anope 1.9, AKA Anope-ng. I don't know if that's even in alpha stages at the moment.

I'm aiming for 1.9.0 RC1 within a few weeks/months. Real-time SQL is targetted at 1.9.1.