Problem with new registered users

antoinegdln4
User www
User www
Posts: 70
Joined: Fri Nov 11, 2016 3:50 pm

Re: Problem with new registered users

Post by antoinegdln4 »

Strange. I made some tests with the code you gave me above.

I made two tests :

A new user --> PROBLEM AT LOGIN --> the account hasn't been activated in phpBB :shock:
An other new user --> no problem, good login, account activated
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Problem with new registered users

Post by axew3 »

can you describe the way the user have fail?
Have you follow testing?
antoinegdln4
User www
User www
Posts: 70
Joined: Fri Nov 11, 2016 3:50 pm

Re: Problem with new registered users

Post by antoinegdln4 »

Yes, it was telling to the user "Not the good activation key" at the log-in (but in reality it was juste an account not activated in phpBB).
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Problem with new registered users

Post by axew3 »

ah ok!
Well this can be an important thing. I mean, a deleted wp user is deactivated in phpBB not deleted.
I know this very well as you can imagine, due to numerous tests and so, the first thing when something is not going on right way is:
1) is the user deactivated into phpBB?
2) cookies settings

About cookies, the new introduced function work at 90% setting by self the correct value, but can fail.
So will be added a config field on wp_w3all config page, for cookies settings, in the way that this problem we can archive once for all. All will work about this at 100% it is already 100% working in true, the function never fail, but configurations on servers and shared hosting services can be very various.

About deactivated user ... it is maybe time to setup a little snippet of code that will inform about if the user is deactivated into phpBB, and NOT leave the code to follow like "nothing has happen!"... and no login, and no info to user.
So thinking to what can be better to fix/add on 1.7.2, this can be a good fix to add.
antoinegdln4
User www
User www
Posts: 70
Joined: Fri Nov 11, 2016 3:50 pm

Re: Problem with new registered users

Post by antoinegdln4 »

So, some strange news about it.

Registration for new users --> oK
Activation --> OK
First Logg-in --> OK
See the forum, etc --> OK

But User is still deactivated into phpBB :shock:
But, it's weird, because usually, it make some problems for logg-in (in previous versions).
Now.... no others problem for logg-in... but just deactivated on phpBB :roll:
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Problem with new registered users

Post by axew3 »

I will start tomorrow for the 1.7.2 fix and additions so i will recheck all things.
I will test and report but, you say
But User is still deactivated into phpBB
this deactivated phpBB user can login WP side? (because this should be impossible).
At same time, since an user exist into phpBB, even if deactivated, nobody should be able to register the same user on WP.
Post Reply