Showing phpBB3 avatar as Drupal user image

Events happening in the community are now at Drupal community events on www.drupal.org.
Xabi's picture

Hi all. I have succesfully integrated phpBB3 and Drupal using a script of my own. My approach is different from the phpBB Drupal module: in my site, phpBB3 manages all login and account tasks, and the phpBB profiles are used instead of Drupal ones. The Drupal profiles redirect to phpBB3 profiles, in fact. Take a look (for example, click on any username in Drupal comments): http://www.hispasonic.com/ (the forum is here: http://www.hispasonic.com/comunidad/).

Now I'm trying to modify the image that Drupal shows for each user. Instead of an image uploaded in Drupal, I want to show the user phpBB avatar. In my site, user Drupal IDs are the same as phpBB3 user IDs (user 3435 in Drupal is the user 3435 in phpBB3). So it's a matter of doing the right MySQL query in the right place, but I don't know where to do it. Could you help me?

Comments

Can't help you, but...

Cross_and_Flame's picture

...it would be awesome if you would share your script. ;-)

Oh, and the PHPBB3 version of the phpbb module does use phpbb profiles. It's only the PHPBB2 one that didn't.

functions_drupal.php does

arkepp's picture

functions_drupal.php does that for you

Great site-theme

akis p's picture

Do you use the phpBB3 Hook System ;

phpbb

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: