Anope IRC Services

Anope Development => Feature Requests => Topic started by: Ivan on November 23, 2016, 03:00:01 PM

Title: Nick registration via Web/Facebook/Twitter
Post by: Ivan on November 23, 2016, 03:00:01 PM
Is there a way to provide nick registration via web or Facebook/Twitter integration?

We provided to our users explanation similar to this: https://wiki.mibbit.com/index.php/Create_your_own_nickname

To follow the instructions, common users would need to have two browser windows opened at the same time (one for instructions, other for web based IRC client) and it seems that's not easy task for them.

So were thinking of some simpler approach, using some web form.

Please advise.
Title: Re: Nick registration via Web/Facebook/Twitter
Post by: Adam on November 23, 2016, 03:28:18 PM
http://wiki.anope.org/index.php/2.0/Modules/m_sql_authentication will allow you to authenticate users against an external SQL database.
Title: Re: Nick registration via Web/Facebook/Twitter
Post by: Ivan on November 23, 2016, 03:58:16 PM
I thought somebody wrote web form module already, working with existing Anope mysql database.
Title: Re: Nick registration via Web/Facebook/Twitter
Post by: Ivan on November 24, 2016, 10:47:21 AM
When using m_sql_authentication module, does Anope authenticate users from both anope_db_NickCore table and external database or from external database only?
Title: Re: Nick registration via Web/Facebook/Twitter
Post by: Adam on November 24, 2016, 02:42:17 PM
m_sql_authentication authenticates people against an external database. The encryption mods (enc_*) authenticate people against the password stored on their account. So it depends on whether you load just one of those or both or none.
Title: Re: Nick registration via Web/Facebook/Twitter
Post by: Ivan on November 24, 2016, 07:32:33 PM
So these are the steps:

1) Create simple PHP script for nick registration on the web, updating new table called e.g. 'web_nicks', having user/password combination

2) Enable m_sql_authentication module querying 'web_nicks' table

3) When authenticating users, Anope will check both anope_db_NickCore table + web_nicks table

Is this correct?
Title: Re: Nick registration via Web/Facebook/Twitter
Post by: Ivan on September 29, 2019, 04:38:57 PM
Any example for querying WordPress database?
Title: Re: Nick registration via Web/Facebook/Twitter
Post by: Josh on October 27, 2022, 02:51:33 PM
Hi..

The IRC protocol has many advantages. It has some limit too. This is of course due to some security reasons. But I have alway bin a big fan of IRC.

I get the part of adding a nick and pass to the anope mysql db.
What I don't see is that the registered nick gets automaticly identified.

Reason why this is maybe importend is that in this time people are as lazy as can be. Most of them don't even know the IRC protocol.
They must be able to post and click without using any braincells.

So... My plan is to run the db part from my own website. (That should be no math.)
After that (When using some kind of Web IRC Client) they have to get identified with that automaticly.
I think IRCx did the same in the past with a ticket and auth check.

Maybe a writen connection coneection is also needed for that to let the no web clients connect to the server.

If that should be possible in time (or maybe alreadiy is...) I think more people going to use IRC again and that we can bring it back to it's full glory. :)
I'm going to try to make that possible ,but I was out of it for almost 10 years. So.. maybe it will crush my brain at some point.  ;D

I hope that you see my intentions and plan behind this.

Good luck to all who is busy with this!!!

Greets WorldAxis