Page 1 of 1
What is best solution to change username?
Posted: Sun Apr 09, 2017 8:43 pm
by elawrenc01
I have disabled Username changes in phpbb and WP but I get requests to change the username and I am trying to figure out the best way to do it when I am running this plugin. What do you suggest?
Re: What is best solution to change username?
Posted: Mon Apr 10, 2017 8:51 am
by axew3
Since latest modifications, it should be (quite) easy to finish the work checking against email hashes instead of usernames on few queries, and let this problem to the past maybe.
Let see a while how can be done within 1.7.0 if possible. Some little modifications on code are necessary.
Re: What is best solution to change username?
Posted: Mon Apr 10, 2017 9:22 pm
by elawrenc01
So can I just change the username with the accounts that have the same email address on PHPBB and WP and it will be fine?
For example:
WP:
UsernameA
usernameA@gmail.com
PHPBB:
UsernameA
usernameA@gmail.com
Change To:
WP:
(IN Database - PHPMyAdmin) NewUsername <---Change Manually
usernameA@gmail.com
PHPBB:
(Change THrough ACP) NewUsername
usernameA@gmail.com
Is it possible like this or no?
Re: What is best solution to change username?
Posted: Tue Apr 11, 2017 12:42 pm
by axew3
no, i'm referring to wp_w3all plugin. It can be modified to search for, on all queries, for email hashes, so the fact you'll let change usernames into phpBB to users will not affect the integration.
But, some query need to changed, and the logic about some check to avoid duplicated users also.
You can't simply change usernames into databases and leave the code plugin logic as is, because this will lead to a mess result.
I will start to decline code of the plugin in favor of this.
Also because, this is a concept that is bind to another coming feature.