Anope IRC Services

Anope.org => General Chat => Topic started by: ^{_reloaded54 on July 25, 2008, 10:49:09 AM

Title: How to Sync NickServ and phpbb?
Post by: ^{_reloaded54 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! :)
Title: Re: How to Sync NickServ and phpbb?
Post by: katsklaw 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.
Title: Re: How to Sync NickServ and phpbb?
Post by: Jan Milants 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...
Title: Re: How to Sync NickServ and phpbb?
Post by: ^{_reloaded54 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 ?
Title: Re: How to Sync NickServ and phpbb?
Post by: ^{_reloaded54 on July 27, 2008, 11:50:02 AM
Also it would be great if you pass me the link for nickserv`s mysql manual.
Title: Re: How to Sync NickServ and phpbb?
Post by: katsklaw 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
Title: Re: How to Sync NickServ and phpbb?
Post by: Jan Milants 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..
Title: Re: How to Sync NickServ and phpbb?
Post by: capitaine 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 ?
Title: Re: How to Sync NickServ and phpbb?
Post by: katsklaw on September 20, 2008, 05:23:32 PM
http://forum.anope.org/index.php?topic=2325.0
Title: Re: How to Sync NickServ and phpbb?
Post by: capitaine on September 20, 2008, 05:40:59 PM
Great news thanks !
Title: Re: How to Sync NickServ and phpbb?
Post by: ^{_reloaded54 on November 21, 2008, 05:37:44 AM
Thank You guys :)
Title: Re: How to Sync NickServ and phpbb?
Post by: Craig Fairhurst 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.
Title: Re: How to Sync NickServ and phpbb?
Post by: Craig Fairhurst 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.