The phpbb module is designed to integrate Drupal with an newly installed PHPBB forum.

I have been working for three days to get it to integrate with an existing PHPBB forum.

You just have to extract the account information from the existing PHPBB forum accounts and add those users to Drupal before enabling the integration module.

I did this through manual PHPMyAdmin operations and some hastily written php.

I am wondering whether there is sufficient interest to justify the creating of a simple module that imports user accounts from a PHPBB forums.

Comments

aitala’s picture

Hi,

I think it would be highly useful...

Eric

__________

Eric Aitala - f1m@f1m.com
The Formula 1 Modeling Website
www.f1m.com

__________
Eric Aitala - ema13@psu.edu
Penn State

224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485

ZenCoder’s picture

If you are the only one interested I can just write explain all the steps using SQL and PHPMyAdmin's export and import options.

Maybe there is a reason the module doesn't already exist. :(

Dorian_Gray’s picture

Hi ! I'm very very interested.

I will soon have both Drupal 5.6 website and phpbb 3.0.0 forum.

I'm interested in a double_register function. I mean, when an user registers in Drupal, I would like the function to register him in phpbb with the same login & password. (And vice versa) Since I will start Drupal and phpbb together, there will be no need to test for already existing users with the same login.

I looked into phpbb3/include/function_user.php

There is a user_add() function. But to use it, I need to include a lot of stuff, since I need the $db object... and I will soon end with half pbpbb's code into drupal. I tried... and screwed up....

If I may dream a little more, why not try for an external page. Neither in Drupal nor in phpbb that register users both in drupal and phpbb ?
I would "tell" this php page the db_name_drupal, db_user_drupal, ... etc ... db_password_phpbb and if wether or not I want captcha.... and register-by-e-mail validation.... and in the end, this "mighty page" would register users in both Drupal And phpbb.... sweet...

drusnake’s picture

I'm brand spanking new to Drupal (minutes!) and have spent the last 2 weeks trying to choose platforms to build upon. I'll be watching this thread as I chose phpbb3 over smf.

ZenCoder’s picture

Someone else already wrote a phpbb integration module which I am using.

Only it doesn't work unless all the user account are created via Drupal, so no integrating an existing forum

I am considering creating a module that syncs the Drupal and PHPBB accounts so you can use an existing forum with that phpbb module.

So if you can start with an new forum there is no need to wait.

Anyway I definitively want to write a Drupal module, I am just not sure this particular one is worth writing.

It would feel kinda pathetic if I wrote a module and only 2 or 3 people used it.

aitala’s picture

I am pretty sure more than a few people could use it...

but it might be an idea to post a note in the phpBB forums to see if there is interest there.

E

__________

Eric Aitala - f1m@f1m.com
The Formula 1 Modeling Website
www.f1m.com

__________
Eric Aitala - ema13@psu.edu
Penn State

224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485

merlini’s picture

thats right; lets see what kind of response that we get..

aitala’s picture

What I am going to try to do is move a Post-Nuke site, with a phpBB module over to Drupal.

First thing is to move the phpBB info out of the module into a regular install of phpBB2.

Then move the PostNuke info into Drupal, including the user accounts, posts, etc. Both sets of accounts should be synced at this point, so I think I can then use the Drupal phpBB integration module.

Dunno... I think this'll be tricky...

Eric

__________

Eric Aitala - f1m@f1m.com
The Formula 1 Modeling Website
www.f1m.com

__________
Eric Aitala - ema13@psu.edu
Penn State

224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485

ZenCoder’s picture

Everything should work fine with the existing phpbb2 module if you manually sync drupal's and phpbbs user tables.

All accounts need to exist in both tables with the same user id's and passwords...

What I did was use the data in phpbb's user table to populate drupal's table, then make sure the Drupal's sequence table knows the correct value for the next user ID.

Of course the two user tables are not identical, not all values are important .....

---

Slightly easier said that done, and if I get time I would like to create a module that does the account syncing for me ... but one of my projects is taking off and I need to learn to manage a dedicated server as well as create custom Drupal themes.

aitala’s picture

That was kinda what I was planning on doing, but I think I've decided to use the phpbb2drupal module to move my Post-Nuked phpBB forum module info into the Drupal forums...

I just don't feel like trying to support multiple apps...

Eric

__________

Eric Aitala - f1m@f1m.com
The Formula 1 Modeling Website
www.f1m.com

__________
Eric Aitala - ema13@psu.edu
Penn State

224b8605113373e086cb27708ff301ba18ce394db1996e7e22928e4555e0d20b1b6cecc7f67c9bd9e536cb915779c485