Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Nick registration via Web/Facebook/Twitter  (Read 21286 times)

0 Members and 1 Guest are viewing this topic.

Ivan

  • Anope User
  • Offline Offline
  • Posts: 12
Nick registration via Web/Facebook/Twitter
« 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.
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Nick registration via Web/Facebook/Twitter
« Reply #1 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.
Logged

Ivan

  • Anope User
  • Offline Offline
  • Posts: 12
Re: Nick registration via Web/Facebook/Twitter
« Reply #2 on: November 23, 2016, 03:58:16 PM »

I thought somebody wrote web form module already, working with existing Anope mysql database.
Logged

Ivan

  • Anope User
  • Offline Offline
  • Posts: 12
Re: Nick registration via Web/Facebook/Twitter
« Reply #3 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?
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Nick registration via Web/Facebook/Twitter
« Reply #4 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.
Logged

Ivan

  • Anope User
  • Offline Offline
  • Posts: 12
Re: Nick registration via Web/Facebook/Twitter
« Reply #5 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?
Logged

Ivan

  • Anope User
  • Offline Offline
  • Posts: 12
Re: Nick registration via Web/Facebook/Twitter
« Reply #6 on: September 29, 2019, 04:38:57 PM »

Any example for querying WordPress database?
Logged

Josh

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • +World Services.
Re: Nick registration via Web/Facebook/Twitter
« Reply #7 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
« Last Edit: October 27, 2022, 02:56:05 PM by WorldAxis »
Logged
Pages: [1]   Go Up