I think that it'll be usefull to implement an unique profile inside drupal and phpbb3.

For example:
I see that the user 'admin' has posted a new post in the forum, ( in the recents post block ), so i clic on the name to send a pm to the admin.

Now, u can see the profile of the user under the phpbb3 forum.

it will be usefull to see the drupal profile of the user instead of the phpbb3 profile.

Why?, because i don't wan't 2 diferents profiles pages.

So, improve drupal profile phpforum to work with phpbb3 profile.

This is now implemeted, but, in the drupal profile, u can't see a link to send a PM, or if u this are u acount, u don't see any options to configure the settings of the forum, like preferences.

I think that its very hard, beacuse, the User Control Panel of phpbb3 had very fields, so, it will be usefull to use the User Control Panel of phpbb3, and disable the drupal profile.

Adding to the phpbb3 profile, more fields that are in the drupal profile, and pointing all the links of the drupal profile to the phpbb3 profile.

I want one profile page where the user can modify all of your preferences of the drupal site, and of the phpbb3 forum.

Any sugesstions to do this?

Thanks.
PD. Sorry for my english, i'm spanish.

Comments

kdreger1’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta4
Assigned: Unassigned » kdreger1
Category: feature » task

Drupal Version: 6.5
PHPBB Version: 3

Question, would like to have Drupal "Wrap" my PHPBB3 web sites as a "Front End" CMS type system, thus allowing my users to see what I have in Drupal, and access my PHPBB forums also from the Main Drupal page.

I tried to install the current PHPBB Mod, but it is not compat with my version of Drupal!

Anybody working on this update?

Would like to roll this out within 2 weeks if I can

Thanks in advance
Ken

kasalla’s picture

subscribe

kasalla’s picture

Quick & DIRTY:
With this snippet at least the submit links in the nodes link to phpbb-forum profile.

Add this to template.php in themes directory.
CHECK THE PHPBB TABLE PREFIX
phpbb and D6 have to be installed in same db...

function phptemplate_get_username_by_id($uid){
    $sql = db_query("SELECT name FROM {users} WHERE uid=%d",$uid);
    return db_result($sql);
}

function phptemplate_get_phpbb_userid_by_name($username){
    $sql = db_query("SELECT user_id FROM phpbb_users WHERE username='%s'",$username);
    return db_result($sql);
}

And this at Top of themes node.tpl.php

<?php
$username = phptemplate_get_username_by_id($node->uid);
$phpbb_uid = phptemplate_get_phpbb_userid_by_name($username);
?>

And change the line, where submit is handled (Garland D6) from

    <span class="submitted"><?php print $submitted; ?></span>

to

    <span class="submitted"><?php print t('Posted ') . format_date($node->created, 'custom', "F jS, Y") . t(' by ')?> <a href="phpbbforum/memberlist.php?mode=viewprofile&u=<?php print $phpbb_uid;?>"> <?php print $username; ?></a></span> 

Make this with the other tpl-fiels aswell. (check each submit syntax)

Jeremy Toaster’s picture

Kdreger1
Start a new ISSUE, your issue has nothing to do with the original post.

Aibehn
This is something I have been wanting to see happen as well. I think this goes along with tighter integration with phpBB, which would included better User profiling. The creation of custom profile fields would create them in phpBB and be synced as well.
I would also like to see Drupal be the main profile handler. If someone clicks a user in phpBB it would take you to the DRUPAL profile page NOT the phpBB page.

akis p’s picture

I would also like to see Drupal be the main profile handler. If someone clicks a user in phpBB it would take you to the DRUPAL profile page NOT the phpBB page.

But phpbb3 has far many more option on the profile.
How those will be handled by the drupal profile?

Jeremy Toaster’s picture

You can create custom profile options in Drupal very easily. So whatever phpBB3 profile options are available, just custom create those in Drupal and sync them up.

akis p’s picture

From the phpbb3 features list comparison

User Posting Stats:
User Instant Messengers:
User Profile details:
Memberlist Searching:
User Signatures:
User Profile Settings:
Manage Saved PM/Post Drafts:
Manage Bookmarks:
Manage Attachments:
Manage Subscribed Topics:
Custom Profile Fields:
Friends/Foe List:
Private Messaging
Additional PM Folders:
Customisable PM Filter Rules:
Send to Multiple Recipients:
Send Blind Carbon Copies:
Send to Groups:
Forward Messages:
Address Book: Address BookUsing Friends list[?]
Message Drafts:
Export Messages:
Attachments for Messages:
Conversation View:
Custom Message Handling Rules:

I don't think that can be done a comparison with the features that drupal core provides.
Sure there are many things thatt you can do with extra additions.
But with the plain software features, the use of phpbb3 profile is recommended.

If there is a tutorial on how you can achieve the above with drupal, id like to have a link to it.

At the present my choice is phpbb3 profile,

If there you can somehow display and the posts stats from drupal, stories, etc, well then i believe you have it all .

michelle’s picture

No, that can't be done with core. But, then, you can't integrate phpbb with just core, either. ;) With just a quick look, most if not all of that can be done with Drupal contrib. So can forums, but that's another argument. *evil grin*

Michelle

akis p’s picture

But, then, you can't integrate phpbb with just core, either. ;)

Michelle you are doing a very nice job with
your av forum module!
And its a solution to those who want
to stay with drupal.

But if you need to be on the same line with the main bulletin boards out there in the aspects of bbcodes, profiles, group handling , permissions etc, then there are not many options.

it comes to a point where you need to reinvent things.
Why?
At list in this case joomla shows the way.
From my point of view.
I did also mentioned this to the phpbb blog, but they choose not to publish my comment.
They see it from the opposite way, build the site around phpbb.
Whatever!

With just a quick look, most if not all of that can be done with Drupal contrib.

Thats true, also true is that you always will depend on
many modules that have no guaranty on upcoming drupal upgrades.
This example is taken from your demo site.
In our case, we have no option on upgrade to d6 because a
very well done module for d5, localizer, has no further development.

Thanks

michelle’s picture

I didn't respond to push AF. I realize some people prefer bridges and wouldn't come on a bridge module's queue to say otherwise. I was responding to "I don't think that can be done a comparison with the features that drupal core provides." which was about the user profiles in particular and pointing out that you can't integrate phpbb with just core, either. Drupal core is not all of Drupal. Contrib modules are just as important. If you are going to discount using them, you might as well use phpbb without Drupal because sticking with just core is not going to get you anywhere.

It gets to a point where you need to decide why you're hassling with a bridge at all if you aren't going to take advantage of any of Drupal's features.

Michelle

akis p’s picture

I didn't respond to push AF.

We do it for you, thats how things works.
Its a good solution for some cases.

which was about the user profiles in particular and pointing out that you can't integrate phpbb with just core, either.

if you cant see the difference between the use of 1 vs 15 extra modules
then i cant help you.

Contrib modules are just as important.

I mentioned that we cant upgrade because of contrib modules.
Isn't that a problem when choosing modules for basic features that core
doesn't have?
Like, comment mover, pms, moderation, list subforums as link, etc?

If you are going to discount using them, you might as well use phpbb without Drupal because sticking with just core is not going to get you anywhere.

We choose what to use or not, and that depends on the special needs of each site.
How those contribs affect our future upgrades i already mentioned.
And you also.
There is a big difference when you depend on 1 vs x devs for a project development.
We already learned that.

It gets to a point where you need to decide why you're hassling with a bridge at all if you aren't going to take advantage of any of Drupal's features.

Simple answer, this bridge does almost what we need, as the same does
gallery2 bridge.
We use the second at this time, and we plan to use this bridge in near future replacing phpbb module.
i dont get it how the use of bridges for features that drupal doesnt handle the way we want, will stop us from using his features that we have choose to use and already we do?

This can go a long way, at the end the solutions are here, everyone chooses what suits better his each project and target groups.

michelle’s picture

"This can go a long way, at the end the solutions are here, everyone chooses what suits better his each project and target groups."

Actually, it's going no where and I regret trying to help. Good luck with your bridges. I'm going back to minding my own business.

Michelle

mtcrutch’s picture

I'm very interested in this as well... I'd like to use phpbb3 simply as a forum, and have drupal handle everything else (registration, profiles, etc).

skeal’s picture

Will this be integrated?

I don't care which way (phpbb or drupal profile) but only one profile would be great...

tobyp’s picture

I managed to achieve this just a few days ago! I must say, it did take a good 30 minutes for me to figure the files that needed to be edited, but after that, it was a breeze!

Basically, you have to edit the phpBB3 PHP Includes files, so that they point to the Drupal user profile, instead of the phpBB one. This can be achieved very easily. Firstly, install the Pathauto Drupal module. Make an auto alias for all user profiles, so that they go to http://yoursite.com/users/[username]. Then basically, in the phpBB PHP Includes files, make the user profiles direct to: http://yoursite.com/users/{USERNAME}.

In phpBB, {USERNAME} means the user's username. So when you add http://yoursite.com/users/{USERNAME}, it will direct to the Drupal profiles that you created with Pathauto. For example, my Drupal profile pages are http://mysite.com/users/admin, and phpBB will use the {USERNAME} tag to print the user's username. So in phpBB, if you change the profile URLs, they'll go to the same place.

It's pretty easy, but will require a bit of PHP knowledge. Mine is working seamlessly now, and only took about 5 minutes after I'd searched through the phpBB files. What you must remember is - These modifications would be made to phpBB itself, and not Drupal, seeing as you want phpBB profiles to go to Drupal ones. If you need any help, let me know, I'll try to help you out. :)

fizk’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing old issues. Please open a new one if you need to.