WordPress phpBB integration 2.4.0-dev

pennymachines
User www
User www
Posts: 78
Joined: Mon Feb 06, 2017 9:51 pm

Re: WordPress phpBB integration 2.4.0-dev

Post by pennymachines »

New dev installed and tested.

Sorry to report that damn stubborn problem remains! I think we are both tearing our hair out now...

The User is successfully registered from the frontend (Profile Builder), clicks the activation link in the email and the account is activated. The User can log on in WP and phpBB, but as soon as they log off they cannot log on again ('Wrong username or password').

The account exists in WP and phpBB, but I can only make it work by going into the WP admin and manually resetting the password (which is OK if I happen to know the user's password).
User avatar
axew3
w3all User
w3all User
Posts: 2707
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

The User is successfully registered from the frontend (Profile Builder), clicks the activation link in the email and the account is activated. The User can log on in WP and phpBB, but as soon as they log off they cannot log on again ('Wrong username or password').
Ok! sorry, i assume it is a misunderstanding by me: i was testing the thing into reset-password and not when new user register.
The same was happening when user resetting his password.
And finally i've put eyes into all mums functions.
Honestly i do not why, i coded mums part the way it is. It was wrong some aspect and i'm surprised that anyway all was working fine except this.

So rebuilt on fly, since it has been obvious where the problem was.
Away to be perfect, mums new fixes should make all work fine, also under this aspect.
By the way, i will take the time to review any mums aspect more deeply, rebuilding something else about some other function.

My hairs starts to fall after reading your answer :D
here we go ahead!


Check LAST POSTS in reply for last development releases
pennymachines
User www
User www
Posts: 78
Joined: Mon Feb 06, 2017 9:51 pm

Re: WordPress phpBB integration 2.4.0-dev

Post by pennymachines »

Sorry to be bringing bad news again Alessio.

Still no change I'm afraid after installing dev3. Same problem.
User avatar
axew3
w3all User
w3all User
Posts: 2707
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

Mh ... strange because it was and is working here, even if a value for password to be updated was wrong (but maybe into your configuration/environment was leading to fail the pass update).

Now it is ok, almost for what i had the time to test out, all ok since dev-03 into default WP MUMS, and, like before, i try to (just to be sure we are on same page):

register with WPuser frontend plugin you use, using his registration forontend page.
The user is immediately activated (no email sent nor activation required) then i log in. Then i logout, re-login, logout and re-login, all ok. I see that all is ok into db rows, and all answer as required.
I have also test a new registration of the user via this plugin, while another user with same email registered in phpBB.
This plugin do not fire wp hooks when add a new wp user, i assume it use his own hooks (which i have not check for), so the user were added in wp, despite it was existent phpBB user, with different username, but same email. That's not good.
The same happen when a new site created by admin. BUt this is the unique case that need to be resolved on default mums, almost it seem at moment.

So the code has been patched, temporary into this dev-04 that contain also this fix to resolve the issue with this or others plugins, and return error if it happen, and avoid wp user's addition.
These actual code additions will not be part of the main 2.4.0 released plugin, but provided as single features/options, because if plugins do not fire normal wp hooks, they may will not work properly.
Check LAST POSTS in reply for last development releases
pennymachines
User www
User www
Posts: 78
Joined: Mon Feb 06, 2017 9:51 pm

Re: WordPress phpBB integration 2.4.0-dev

Post by pennymachines »

axew3 wrote: Wed Oct 21, 2020 12:25 am ... i try to (just to be sure we are on same page):

register with WPuser frontend plugin you use, using his registration forontend page.
The user is immediately activated (no email sent nor activation required) then i log in. Then i logout, re-login, logout and re-login, all ok.
No. I'm using the "Email Confirmation" Activated: Yes in Profile Builder.

I have to use this setting to verify registrations, otherwise I get bombarded with dozens of Spam accounts every day.
User avatar
axew3
w3all User
w3all User
Posts: 2707
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

i forgotten this aspect, that you use mixed with this other:
installed and activated Profile builder,
and after installed profile builder, i activated the option confirm email, into plugin's admin of the subsite,
then i use a wpuser-frontend page as before to register a test user.
Unfortunately, when i register, the user is like before immediately added, the email is not sent out, and the user can login.
What i forgotten that need to be activated and how, to configure all as you are doing?
Locked