Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: How to Sync NickServ and phpbb?  (Read 38100 times)

0 Members and 1 Guest are viewing this topic.

^{_reloaded54

  • Guest
How to Sync NickServ and phpbb?
« on: July 25, 2008, 10:49:09 AM »

Hello
Hi, I was wondering if anybody knows how to sync the nickserv database with phpbb.
I want to clearify a bit.
I mean these :
1)If users registers in phpbb forum , nickserv should take the same username and password.
2)If users changes their password via phpbb,password must be changed on nickserv too.

I have seen these features on few server(ircd) , and i am really excited to have this services on my network too.

If anyone of you know how to do this, reply me a.s.a.p.

Thank you for providing me a oppurtunity to post my question
ppBHB rocks!
So does anope! :)
Logged

katsklaw

  • Guest
Re: How to Sync NickServ and phpbb?
« Reply #1 on: July 25, 2008, 12:44:57 PM »

Short official answer: you cant.

Anope only writes to sql, not reads from sql. If you seen this elsewhere, then you likely seen it on a different set of services or someone has written a proxy to do it and if that is the case then you should go ask them.
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: How to Sync NickServ and phpbb?
« Reply #2 on: July 25, 2008, 01:48:03 PM »

As katsklaw said, there is no easy way to do this since the anope sql database is read only, but there are still ways to do it..

For simple tasks such as registration and password changing you may want to look at heinz's mysql_cmd module which allows you to give commands to anope through MySQL. The module however is still under development and its author has vanished... what you need is pretty basic though, so might work.

You will have to edit your board to send commands to the module though, and there isn't really a manual available on how to do that. The documentation on how to order the module to do things is in its header.

Another alternative is xmlrpc, but that s wayy more complicated...
« Last Edit: July 27, 2008, 12:52:29 PM by Viper »
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

^{_reloaded54

  • Guest
Re: How to Sync NickServ and phpbb?
« Reply #3 on: July 27, 2008, 11:47:42 AM »

Thank you guys for your help.
Viper can you tell me where can i find heinz's mysql_cmd module ?
Logged

^{_reloaded54

  • Guest
Re: How to Sync NickServ and phpbb?
« Reply #4 on: July 27, 2008, 11:50:02 AM »

Also it would be great if you pass me the link for nickserv`s mysql manual.
Logged

katsklaw

  • Guest
Re: How to Sync NickServ and phpbb?
« Reply #5 on: July 27, 2008, 12:44:05 PM »

Also it would be great if you pass me the link for nickserv`s mysql manual.

This is all there is: http://anope.info/wiki/Technical_Documents:MySQL:Scheme
Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: How to Sync NickServ and phpbb?
« Reply #6 on: July 28, 2008, 01:19:19 AM »

This is all there is: http://anope.info/wiki/Technical_Documents:MySQL:Scheme
still has a lot of "No information known yet." though...

and no...i thought i kept a local backup, but apparently i don't...
i know i ve seen in on heinz's site or svn, but i have no idea where that is atm ???
i ll see if i can find anything in my irc logs later..
« Last Edit: July 28, 2008, 01:21:54 AM by Viper »
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

capitaine

  • Anope User
  • Offline Offline
  • Posts: 39
    • http://www.coolsmile.net
Re: How to Sync NickServ and phpbb?
« Reply #7 on: September 20, 2008, 05:21:56 PM »

Another alternative is xmlrpc, but that s wayy more complicated...
I have an old version of this, but wouldn't use it, I think it's outdated.
Is it still in dev and can be downloaded ?
Logged

katsklaw

  • Guest
Re: How to Sync NickServ and phpbb?
« Reply #8 on: September 20, 2008, 05:23:32 PM »

Logged

capitaine

  • Anope User
  • Offline Offline
  • Posts: 39
    • http://www.coolsmile.net
Re: How to Sync NickServ and phpbb?
« Reply #9 on: September 20, 2008, 05:40:59 PM »

Great news thanks !
Logged

^{_reloaded54

  • Guest
Re: How to Sync NickServ and phpbb?
« Reply #10 on: November 21, 2008, 05:37:44 AM »

Thank You guys :)
Logged

Craig Fairhurst

  • Anope User
  • Offline Offline
  • Posts: 28
Re: How to Sync NickServ and phpbb?
« Reply #11 on: December 20, 2014, 10:11:10 PM »

hey guys

I am aware that the topic is years old, but it comes up in google for "anope phpbb" so i wanted to update it with information found here: https://wiki.anope.org/index.php/2.0/Modules/m_sql_authentication

I will update it with a method for phpBB when/if I find a way to do it.

Craig Fairhurst

  • Anope User
  • Offline Offline
  • Posts: 28
Re: How to Sync NickServ and phpbb?
« Reply #12 on: December 21, 2014, 08:02:20 PM »

hey

My solution was to modify phpBB. I modified php/auth/provider/db.php and phpbb/passwords/driver/bcrypt.php to negate the bcyrpt algorithm.

Pages: [1]   Go Up