What is best solution to change username?

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: What is best solution to change username?

Re: What is best solution to change username?

by axew3 » Tue Apr 11, 2017 12:42 pm

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.

Re: What is best solution to change username?

by elawrenc01 » Mon Apr 10, 2017 9:22 pm

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?

by axew3 » Mon Apr 10, 2017 8:51 am

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.

What is best solution to change username?

by elawrenc01 » Sun Apr 09, 2017 8:43 pm

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?

Top