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
An other new user --> no problem, good login, account activated
Problem with new registered users
-
- User www
- Posts: 70
- Joined: Fri Nov 11, 2016 3:50 pm
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Problem with new registered users
can you describe the way the user have fail?
Have you follow testing?
Have you follow testing?
-
- User www
- Posts: 70
- Joined: Fri Nov 11, 2016 3:50 pm
Re: Problem with new registered users
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).
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Problem with new registered users
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.
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.
-
- User www
- Posts: 70
- Joined: Fri Nov 11, 2016 3:50 pm
Re: Problem with new registered users
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
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
Registration for new users --> oK
Activation --> OK
First Logg-in --> OK
See the forum, etc --> OK
But User is still deactivated into phpBB
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
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Problem with new registered users
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
At same time, since an user exist into phpBB, even if deactivated, nobody should be able to register the same user on WP.
I will test and report but, you say
this deactivated phpBB user can login WP side? (because this should be impossible).But User is still deactivated into phpBB
At same time, since an user exist into phpBB, even if deactivated, nobody should be able to register the same user on WP.