What is best solution to change username?
-
- User ww
- Posts: 43
- Joined: Thu Feb 16, 2017 11:59 am
What is best solution to change username?
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?
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: What is best solution to change username?
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.
Let see a while how can be done within 1.7.0 if possible. Some little modifications on code are necessary.
-
- User ww
- Posts: 43
- Joined: Thu Feb 16, 2017 11:59 am
Re: What is best solution to change username?
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?
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?
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: What is best solution to change username?
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.
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.