We have everything working well on our Drupal 6.x site and phpbb 3.0.9.

But if a user changes their username in Drupal, this does not get updated in the phpbb database, which is seperate from Drupal's db.

However, the user ID1 (super admin) can make a username change and this does update in the phpbb database. It would seem that this is defined in the module code.

Our settings are:

Drupal set as Master, users can change their own username, and in phpbb, users can change their own username.

Any solutions to the module to ensure users can change their username in Drupal and this gets updated in the phpbb database?

We are desperate to get this resolved :)

Thank you in advance.

Comments

fizk’s picture

Issue tags: +ToDo

I was able to reproduce this error too.

fizk’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev
StatusFileSize
new548 bytes

This patch works for me.

Make sure to set enable "Allow username changes" under General >> Board configuration >> User registration settings in phpBB3.

fizk’s picture

Status: Active » Needs review
thijsvdanker’s picture

Status: Needs review » Reviewed & tested by the community

Had been debugging all morning, just to come to the same patch :)
Works for me!

fizk’s picture

Status: Reviewed & tested by the community » Closed (fixed)
jethro’s picture

Version: 7.x-1.x-dev » 6.x-2.x-dev
Status: Closed (fixed) » Needs review
StatusFileSize
new574 bytes

This fix has yet to be applied to the 6.x-2.x branch.

The fix is identical and it works on the 6.x-2.0-rc6 version

Here is a patch for the 6.x-2.x-dev branch.

superfedya’s picture

What about update Drupal datebase when change username in phpBB3?