Cannot create new users with wp-members anymore

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: Cannot create new users with wp-members anymore

Re: Cannot create new users with wp-members anymore

by tlagren » Sun Apr 20, 2025 1:17 pm

Yes, i did this with the new 2.9.3 version.
I think the error thrown was "provided email or username already exists on our forum database."

The username I tried to register into WP was not already present in phpbb, but the same e-mail was used at an old user account in phpbb.

Thanks for working with this 👍

/Tomas

Re: Cannot create new users with wp-members anymore

by axew3 » Sun Apr 20, 2025 7:42 am

So far so good, the difference here is that the default wp page stops and display the error while the wp-member registration probably stops, but not displaying the error so the user think the registration process succeeded.
so after (do not know what it changed, nothing, but...) i tested that in effect, if the user exist and is not active, and i try to register a same email, he is NOT added into WP, but WP members answer that the account has been created.
Do not know why the first time answered in a way and then in another.
Ok, we go to fix also this aspect because the behavior should be the same for many other plugins.
If the user is not created because there is another with same email or username NOT active into phpBB or banned, then a warning will display and the execution will stop.

Re: Cannot create new users with wp-members anymore

by axew3 » Sat Apr 19, 2025 6:02 pm

Standing into my tests:
i have an user paco that exist into phpBB, but not in WP, and when i try to register an user with the same email in WP, using the WP members page/form this happen:
if the user is active in phpBB it is added into WP at the time the user click into the registration submit, and the WP member warning say:
Sorry, that email address already has an account.
Please try another.
then i delete again paco and as deactivated phpBB user, i try to register him again and the result using the WP member registration form is:
the page redirect to the default WP login page, and the warning from the integration plugin display:
Notice: the username is currently inactive into our forum. Please contact an administrator.
and the user is NOT added into WP because not active into phpBB.
I did not try it if the WP default login page would be not available because disabled by some plugin, in this case the redirect should go where it is set (i assume) by the plugin that disable the login page, maybe.

Re: Cannot create new users with wp-members anymore

by axew3 » Sat Apr 19, 2025 5:33 pm

Then I started to look at real users that complained about the registration process and found that those users had accounts in phpbb created many years ago, long time before we started with Wordpress but not used the for years.
they can so login into WP using the old email, so they will be added on-fly into WP maybe
display the error while the wp-member registration probably stops
i will try to reproduce this

are you using the new phpbb config inclusion as it is on 2.9.3?
viewtopic.php?t=2026
wp page stops and display the error
which error is thrown?

Re: Cannot create new users with wp-members anymore

by tlagren » Sat Apr 19, 2025 10:43 am

Finally some progress :-)

I enabled user registration in Wordpress and created a new user with my test email address which I always use in this scenarios.
When using the WP signup page I received the error that the email address did already exist in the phpbb database. I found an old user in phpbb that I created for several years ago, removed it and bang it works.
So far so good, the difference here is that the default wp page stops and display the error while the wp-member registration probably stops, but not displaying the error so the user think the registration process succeeded.

Then I started to look at real users that complained about the registration process and found that those users had accounts in phpbb created many years ago, long time before we started with Wordpress but not used the for years.

But it's still strange that this behavior started in February unless the check email function is a new feature.

Edit:
The function "The function "Enable/Disable check of the email in phpBB before it is updated in WordPress (front-end plugins pages)" was disabled also.

/Tomas

Re: Cannot create new users with wp-members anymore

by tlagren » Tue Apr 15, 2025 6:07 pm

It's from the wp-members registration page. I haven't got time to re-enable the default wp registration but wil try to do that.

/Tomas

Top