WP_w3all plugin will switch to integration by email: this is why and what it mean

User avatar
w3all User
w3all User
Posts: 1971
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy

WP_w3all plugin will switch to integration by email: this is why and what it mean

Post by axew3 »

The cost will be one: integrating users between WordPress and phpBB with this plugin, will require to choose that users can manage on their profiles, email and password change, only in phpBB or WordPress. Not on both.

So, the plugin leave the concept you see of this online example, and users will be able to modify their email and password, in phpBB profile or WordPress profile.
This will be easy to switch to this the actual code. And actual installed integrations, it's quite sure, are using or phpBB login/registration/profile update or WordPress side login/registration/profile update, not both like this example that is probably the unique one.

To avoid user pass and email change on phpBB profiles is quite simple, it is just necessary to deactivate a module into ACP, and setup ACP as usually indicated on the install help. So substantially nothing relevant change.

On the other side, WordPress side, so in the case the integration let users modify their profiles into phpBB, to not leave users edit their profiles in WordPress, an option will be added, that if enabled, will automatically redirect users to their phpBB profle, in case of password or email change.
It is also an easy do.

What benefits?
emails are indexed into both WordPress and phpBB databases. The integration will result much more fast when profile update functions calls, and when any instruction that require to search for users data fire: into a little database this may do not make a big difference, but where thousand (maybe millions) of users exists, this make a big difference instead.

Usernames will not matter anymore: an username TEST with email test@myemail.com in WP, and username ANOTHERTEST with same email test@myemail.com in phpBB, can login on both phpBB and WordPress. Substantially association of users will be by email, not by username giving some possibility to integrate in different ways and different scenario, included where there are old phpBB and old WordPress installations, with existent users that may are with pairs username/email not matching on cms.

This the reason why, from 2.4.0 > will be MANDATORY to choose: users profile fields updates (email and password), in WordPress or phpBB, not on both.
This is the unique relevant aspect for old plugin users, all the rest just will be as ever, but faster.

Any function will be rewritten and all the 'not useful code', unified or removed.