WordPress phpBB integration 2.4.0-dev

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
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: WordPress phpBB integration 2.4.0-dev

Re: WordPress phpBB integration 2.4.0-dev

by axew3 » Thu Oct 22, 2020 5:12 pm

That's strange, i will come asap to test online if you agree, since here it is working fine, i'm quite obsessed by this :twisted:
this is the demo flow done into my win machine
https://youtu.be/SlqN_QXP6hM

Re: WordPress phpBB integration 2.4.0-dev

by pennymachines » Thu Oct 22, 2020 4:37 pm

Alessio, you are indefatigable!

Just tested latest dev..... Same result I'm afraid. :oops:

I have Automatically Log In: No for testing and yes, [wppb-register] shortcode on the Register page.

Re: WordPress phpBB integration 2.4.0-dev

by axew3 » Thu Oct 22, 2020 1:27 pm

Yes, but it work only if you activate related registration Profile builder [wppb-register] shortcode into a page, which i assume you did the same.
It is also set the option, User accounts may be registered into main network settings, as explained into Profile builder plugin docs about this, that i've read on fly, so i hope to had understand correctly the meaning

Then i go to my registration page, containing the profile builder registration form.
The autologin option is set to off (do not know, not tested, if ti change or not something going to check right now)..
I register the user, then i login, after activated it, then i logout (i see pass hash is the same at this time, both on wo and phpBB so all ok), the i re-login etc.
All working fine:
wp-w3all-phpbb-integration-2.4.0-dev05.zip
(203.57 KiB) Downloaded 2 times
we'll never surrender until not resolved!

Re: WordPress phpBB integration 2.4.0-dev

by pennymachines » Thu Oct 22, 2020 12:22 pm

It's under the Profile Builder / Settings / General Settings tab: "Email Confirmation" Activated: Yes

Re: WordPress phpBB integration 2.4.0-dev

by axew3 » Thu Oct 22, 2020 12:03 am

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?

Re: WordPress phpBB integration 2.4.0-dev

by pennymachines » Wed Oct 21, 2020 9:28 pm

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.

Re: WordPress phpBB integration 2.4.0-dev

by axew3 » Wed Oct 21, 2020 12:25 am

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.

This is Dev 04, in the hope .... :
wp-w3all-phpbb-integration-2.4.0-dev04.zip
(203.45 KiB) Downloaded 1 time

Re: WordPress phpBB integration 2.4.0-dev

by pennymachines » Tue Oct 20, 2020 10:37 am

Sorry to be bringing bad news again Alessio.

Still no change I'm afraid after installing dev3. Same problem.

Re: WordPress phpBB integration 2.4.0-dev

by axew3 » Mon Oct 19, 2020 11:58 pm

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!
wp-w3all-phpbb-integration-2.4.0-dev03.zip
(203.04 KiB) Downloaded 3 times
It is working here, please, confirm! If you can, test any way that maybe i've still not. Thank you David

Re: WordPress phpBB integration 2.4.0-dev

by pennymachines » Mon Oct 19, 2020 8:24 pm

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).

Top