WordPress phpBB integration 2.4.0-dev

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

WordPress phpBB integration 2.4.0-dev

Post by axew3 »

The integration plugin 2.4.0-dev0 2.4.0-dev01 2.4.0-dev02 2.4.0-dev03 here in attach has been tested fully working into default WordPress, WP MUMS Multisite and Buddypress.

Many fixes have been applied, and the code has been "stressed" and seem to work fine. Any possible scenario tested? I've try to cover in short all the possible, but of course it is required "more stress" to be sure that there are no bugs, and so if there is any brave around that like to test and in case report problems on the new 2.4.0-dev would be really appreciated.

Short how to use, that need to be translated into a new detailed Install Help Page

Since 2.4.0 release it is mandatory:

users can register into phpBB OR WordPress, you have to choose, it is not possible anymore to let register users both in WP and phpBB. It is possible to change and switch to one or other way anytime.
AND
users can update their email, ONLY in WordPress profile OR phpBB profile.

If you leave users update their email and register into phpBB
, then you'll have to take care of the fact that wordpress users DO NOT need to be allowed update their email and register in Wordpress.
If you let users register in phpBB, setup into phpBB ACP options to do not allow users re-use email or usernames for different accounts.

If you leave users update email and register in WordPress, then you have to avoid the same in phpBB, and to do this, just go to
ACP -> TAB System -> User Control Panel -> click into Profile -> Edit account settings, click into Disable to disable the user's account settings module. Then the Edit account settings , where it is possible to update user's email and password in phpBB ucp will not be accessible (while all the rest of phpBB profile options will be still available to phpBB users). Disable new registrations in phpBB, and you're up and running.

Based on this, someone could choose to hash passwords in phpBB way or WordPress way. Hints are on same option, into the integration plugin admin page. phpBB way used until now, and it is the default.

Default page-forum.php for the iframe mode has been updated, because the user ID1 in WP and UID2 in phpBB are not linked anymore, so a fix for this user, whenever he goes to navigate the forum in iframe mode, has been necessary. The old one will work fine for all users, but not for UID1 WP & UID2 phpBB, or they will fall into the "famous refresh loop" while visiting wp page-forum as logged in phpBB or WP.

new 2.4.0-dev03 release

Check LAST POSTS in reply for last development releases

Please add here in reply and bug found, reporting: environment, running plugins, and steps to reproduce the issue

pennymachines
Moderator
Moderator
Posts: 55
Joined: Mon Feb 06, 2017 9:51 pm

Re: WordPress phpBB integration 2.4.0-dev

Post by pennymachines »

Fantastic news. Thank you for integration 2.4.0, and for continuing to improve and develop this very useful plugin.

I just installed 2.4.0-dev0, checked my settings and tested on my MUMs setup. All seemed to go well, but I could no longer log into WP admin.
I'm not sure if this was caused by the plugin or something else. I reset the WP admin password and logged in, but was not logged into phpBB. I then went into phpBB admin and reset the password to make sure it was identical.

Currently I have to log in to phpBB and WP separately. Other users tested seem fine.

I still have issues with allowing users to register from the frontend (using Profile Builder plugin). The user account is created successfully in WP and phpBB and they can actually log on. (This was never possible in the previous integration versions. It always came up 'wrong username or password'). However, unfortunately, as soon as the user logs out the old problem returns. They cannot log back in again.

I appreciate that as I am using plugins to give my users a purely frontend experience of Wordpress, this may be beyond the scope of WP w3all. I'm willing to pay if this is something you think could be fixed.

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

Hello David! Nice to listen news by you!
Currently I have to log in to phpBB and WP separately. Other users tested seem fine.
Yes! As said above the User ID1 in wordpress and phpBB user ID2 are NOT linked anymore.

And it is also mandatory the email update OR in phpBB OR WP, like the registration, only in phpBB or WP.
If on phpBB, setup option to not allow users re-use email or usernames for different accounts.

I will check any point you reported.
Yes i know about frontend, it seem to not fire with normal wp hook events, for example:
into mums, if you let register users in phpBB, then they are added in wp when they login or when as logged in phpBB, they will visits wp side.
It work all fine, by email or username using default wp login.
It do not work, if the user login in wp and need to be added. It return user do not exist, the hook related default wp login hook, do not fire.
Checking any aspect for 2.4.0-dev1 that will be finished surely before this week, so i will return here to report good news!
Please report if any problem in the while!
See you soon!

pennymachines
Moderator
Moderator
Posts: 55
Joined: Mon Feb 06, 2017 9:51 pm

Re: WordPress phpBB integration 2.4.0-dev0

Post by pennymachines »

axew3 wrote:
Fri Oct 16, 2020 12:29 am
Yes! As said above the User ID1 in wordpress and phpBB user ID2 are NOT linked anymore.
OK, understood. I guess that's not a problem then.
axew3 wrote:
Fri Oct 16, 2020 12:29 am
And it is also mandatory the email update OR in phpBB OR WP, like the registration, only in phpBB or WP.
I only allow email update and registration through WP, so I have those features turned of in phpBB, as instructed.
axew3 wrote:
Fri Oct 16, 2020 12:29 am
Yes i know about frontend, it seem to not fire with normal wp hook events, for example:
into mums, if you let register users in phpBB, then they are added in wp when they login or when as logged in phpBB, they will visits wp side.
It work all fine, by email or username using default wp login.
It do not work, if the user login in wp and need to be added. It return user do not exist, the hook related default wp login hook, do not fire.
I'm not sure I'm understanding this. My users register and log in via WP. The weird thing is, it now works fine UNTIL they log out. Then they cannot log back into WP or phpBB.

pennymachines
Moderator
Moderator
Posts: 55
Joined: Mon Feb 06, 2017 9:51 pm

Re: WordPress phpBB integration 2.4.0-dev0

Post by pennymachines »

I think I found a bug.

When creating a new user via admin subsite of mums I get this error:

Fatal error: Uncaught Error: Call to undefined method WP_w3all_phpbb::phpBB_password_hash() in ..../wp-content/plugins/wp-w3all-phpbb-integration/wp_w3all.php:937 Stack trace: #0 ..../wp-includes/class-wp-hook.php(287): w3all_wpmu_activate_user_phpbb(3236, 'jy7zgTxIUQQm', Array) #1 ..../wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 ..../wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 ..../wp-includes/ms-functions.php(1219): do_action('wpmu_activate_u...', 3236, 'jy7zgTxIUQQm', Array) #4 ..../wp-admin/user-new.php(199): wpmu_activate_signup('6494a31e0759861...') #5 {main} thrown in ..../wp-content/plugins/wp-w3all-phpbb-integration/wp_w3all.php on line 937

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev0

Post by axew3 »

Perfect thank you! going to test/fix ... already detected someone else important and resolved this afternoon, if all will goes fine on next 2 3 hours of coding here, tomorrow we can start testing 2.4.0-dev2, and all about wp mums should be fixed already, also about front end plugins used on it.
Testing on wp-user-frontend, last installed for tests last time.
Think with the new way to manage users login, will fix all in one definitively! Let see ...

p.s do you think would be better to add users to all blogs when they register, or just in one?
Especially, when integration used via phpBB registration side: when user come to login in wo or as logged come to wp, should be added like now, only into the first visited blog or to all network sites?
Or also when user register into wordpress, offer same option: add new users to all network or not.
Should provide option maybe about this, may to be added like the define into wp-config, when in mums.

Exist a plugin that do this, that can be associated with no problems, anyway asking myself if would be better to add this easy feature, already embedded, may not with all features of the other plugin, but just: add new users to all sites network, or just to the first visited or registered site, like is now

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev01

Post by axew3 »

Hard testing night here, it's Saturday night fever!
Please read also my previous post, where there is a question (... let remember that any suggestion by anyone is appreciated)

Tested some registration and pass change, account activation etc, between a wp user and a phpBB user going to register or to be added etc.
Also tested a new registration and logout, and all seem to work fine while into subsite and main, via default wp mums and with front end plugin.
Things with wp-user-frontend that still do not work, and that i've test, is the autologin of the user after registration, if option set into wp-user-frontend plugin. Do not work at moment, the user will have to login by the way. May it use a custom var/hook for it, since wp do not offer this option by default if i'm not wrong, so a custom addition to make it work fine the autologin will be necessary.

ANd the issue you reported, after first login (that i'm going to check how to resolve and by what it depend)
Check LAST POSTS in reply for last development releases

pennymachines
Moderator
Moderator
Posts: 55
Joined: Mon Feb 06, 2017 9:51 pm

Re: WordPress phpBB integration 2.4.0-dev0

Post by pennymachines »

8-) :) :D
axew3 wrote:
Sat Oct 17, 2020 10:09 pm
do you think would be better to add users to all blogs when they register, or just in one?
For my purposes, adding users to all blogs would be good, but others will, no doubt, have different requirements. So options in mums to 'Register with this blog only' or 'Automatically register with all blogs' would be best I think. Maybe, as you suggest, the default should be 'Register with this blog only'.

I will now test and report back on latest dev.

pennymachines
Moderator
Moderator
Posts: 55
Joined: Mon Feb 06, 2017 9:51 pm

Re: WordPress phpBB integration 2.4.0-dev

Post by pennymachines »

Add user via WP admin in subsites now working. :D
The issue after logout of frontend-created accounts remains (as you know/expect).

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

pennymachines wrote:
Sun Oct 18, 2020 4:25 pm
Add user via WP admin in subsites now working. :D
The issue after logout of frontend-created accounts remains (as you know/expect).
Wow finally ... also the last one here above has been resolved ... Waiting for your "Yes it work!"
Really hope that all about this has been covered now. Please let know!
For my purposes, adding users to all blogs would be good, but others will, no doubt, have different requirements. So options in mums to 'Register with this blog only' or 'Automatically register with all blogs' would be best I think. Maybe, as you suggest, the default should be 'Register with this blog only'.
can be added as feature, "add users to all blogs", based on a define (to be added with the one required when in mums on wp-config-php)

Check LAST POSTS in reply for last development releases

pennymachines
Moderator
Moderator
Posts: 55
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: 2189
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
Moderator
Moderator
Posts: 55
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: 2189
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
Moderator
Moderator
Posts: 55
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: 2189
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?

pennymachines
Moderator
Moderator
Posts: 55
Joined: Mon Feb 06, 2017 9:51 pm

Re: WordPress phpBB integration 2.4.0-dev

Post by pennymachines »

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

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

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:


Check LAST POSTS in reply for last development releases

pennymachines
Moderator
Moderator
Posts: 55
Joined: Mon Feb 06, 2017 9:51 pm

Re: WordPress phpBB integration 2.4.0-dev

Post by pennymachines »

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.

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

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

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

Waiting for confirmation, but bug into these mixed external plugin configuration has been resolved. This kind of problems can be easily resolved if will come out for any other front end plugin and into any configuration or different passed vars adding few lines.

The 2.4.0-dev6 will be released soon, or, if no bugs come out while deeply re-testing all things, beginning from a default wordpress, passing by buddypress and then WP MUMS, the new 2.4.0 will be so released.

Even if not all functions have been checked, many bugs, and i think any of the past historical that i can remember, have been fixed in the while.

The dev 2.4.0-dev6 should probably be a valid bug free "Release Candidate", anyway while re-testing all things into various configurations, may more fixes and code reduction will be appplied.

If anybody find out something, would be also useful to know any 2.3.9 bugs if exist, so to check that 2.4.0 resolved it.

Stay tuned lovely and cool people! 2.4.0 is coming soon

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

Logging problems and how have been resolved.


!important MEMO LOG (add into wp mums help install):


While deeply testing WordPress as MUMS (multisite) i see there are many problems in the case users are coming from phpBB with usernames like this:
SewreU Yes-_
It is a not possible username on mums, since usernames can only:
"Usernames can only contain lowercase letters (a-z) and numbers."
then in this case, if on WP multisite, the plugin code will detect not possible usernames, and reject any further process for the user in wordpress side. It is a valid username on default WordPress (NO MUMS)

would be possible to resolve this issue on MUMS?
Do not know, we should see, i just see that this problem come out in mums now, not sure if it was the same on previous wp versions (but i assume yes!): if an user coming in wp as logged in phpBB, then the plugin was adding him in Wordpress, despite his username is not suitable for mums.

And a loop for this come out, with no errors: the user is added, the cookie released in wp, but a loop start, and there is no error to start from: the plugin find a valid cookie, set session, wp nullify... loop. No time here, to check and resolve another way, assuming that it would be possible

If you try to login an username like this, despite it exist in wp mums, it return that the user do not exist.
Unknown username. Check again or try your email address.
If you then try to login the user by email, even with integration plugin disabled, the user is logged in at first time, cookie released, but then immediately logged out by wordpress, without any error.

The applied result, both if try to login in WP or coming as phpBB logged in, with illegal usernames will be this:

localhost-wp5-wp-loginMUMS.png
localhost-wp5-wp-loginMUMS.png (31 KiB) Viewed 785 times

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

In the few time i can dedicate these days, i deeply tested wp mums in any way several times, by default wp mums, and mums with 2 front end profile plugins, and all seem to work as expected, i have try to cover any found possible problem with easy.

2.4.0 will be by email not username: let explain the point.
Until it was by username, and phpBB setup with the option "Allow username changes:" SET TO NO and "Allow email address re-use:" SET TO NO, when profile update happen, no problem on find out if there is or not another email, associated with another username. An username can never change, both in wp and phpBB.

But since 2.4.0, since functions will search for email, and an email of an user can be updated to something else, then will be impossible to leave users update their email and register into both cms: it is necessary to choose. Registrations and email updates, only in phpBB or WordPress.

Anyway, i think i will start to try out the new 2.4.0 rc1 here online with these mixed setting, that will work fine (i want this way in this example, using phpBB to manage user's registrations):

let register users in phpBB
but disable phpBB profile email update module (so users can register in phpBB, and with "Allow email address re-use:" SET TO NO, and no possibility to update email in phpBB side, i'll be sure that email re-use do not will happen, nor change after registered, and since before to start (or follow) with the users integration, we are sure that username/email pairs are unique, we can be sure all will work as required.

Then i will leave registration in wordpress disabled, but users will have access to their wordpress profile:
where their email can be updated.

This will work nice, and this is the unique possible example on how could be setup the integration, mixing things (could be the contrary, register in wp, do not change email in wp, but allow email change in phpBB, but not registration):

or it is mandatory to choose: registration and email updates, only in wordpress or phpBB side.


Anyway the plugin code, will follow to check for duplicate emails or usernames, when these actions done:
profile updates or registrations, both if updates or users additions done via wp admin, or front end.
This to avoid any possible problem, for common installations. Low cost, so leaved in place.

But these functions can be easily disabled, to little speed up code execution when user's profile updates occurs. So may on some 2.4.0> will be provided the way to exclude some filter/action hook, getting an even more professional integration, that reduce to the very minimum code execution. It will be like to comment out something, but presumably will be provided by option to be activated (so when we really understood how the integration work, and when we are sure all setup/going fine, we'll activate it).

2.4.0 resolve all and any lowercase/upper case problem, that has been possible to occur, when old wp user's transferred from wp to phpBB, when integration start.

It also resolve the problem that an user Tester was treated differently by TesTeR (and may some loop occurring logging in with these users)

The 2.4.0 will be deeply re-tested again now, under default wordpress and into a wp+buddypress, then after all result with no errors and fixed, released ... it will be really soon!

User avatar
DjPorkchop73
User www
User www
Posts: 63
Joined: Thu Aug 20, 2020 6:45 pm
Location: Egyptian Valley of Illinois

Re: WordPress phpBB integration 2.4.0-dev

Post by DjPorkchop73 »

Hello!

It has been a few weeks since I last visited due to life getting real busy. I been meaning to try this new update out and test as well. I have a WAMP server setup that I can test on as well. If that sounds good to you I would love to give it a try. I will gladly report what I find and let you know all versions of software the server is running.

Ray
If I could I would. If I don't, it's because I am lazy!

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

Hi Ray, just over in the night to fix something and doing some tests
Here in attach, let name it, the RC1, latest i'm over.

It resolve many aspects that have been fixed, especially about usernames and email lowercase/Uppercase, login flows, correct messages when errors occurs etc etc.

Many things changed, i hope that still there are not much errors.
Transfer processes is the part i patched, but without testing it so far, and that i'm sure i have to fix more, so may skip it whenever you have the idea to proceed on it, this part still need to be checked

[attach removed]

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

I'm sorry, often is late night when i come on for answers, so i removed the attachment of rc1 because after i've find out many errors and fixes to be applied.
I applied, and while doing, i realized that:
probably, the 2.4.0 will support any phpBB user addition, with any char, and the integration will work for users even if usernames different because ...
i realized a thing that maybe now can result clear, big like the sun ... but i have not think on until now:

IF AN USER IS LOGGED IN, due to login on phpBB or wordpress, then:
THERE IS the phpBB USER ID STORED INTO the PHPBB COOKIE and a SESSION userID


What stupidity, to not think on this before lovely and cool people.
The concept of the resolved problem is about email/usernames pairs that are not matching when an update occur on profile.
With a phpBB id on hands into wordpress side, we can do magic and FAST things when user is logged in!


2.4.0 is coming, little more time to test and fix all based on this concept.
It will be awesome

User avatar
DjPorkchop73
User www
User www
Posts: 63
Joined: Thu Aug 20, 2020 6:45 pm
Location: Egyptian Valley of Illinois

Re: WordPress phpBB integration 2.4.0-dev

Post by DjPorkchop73 »

Hello.

I have been very busy in life lately but I just now got the file and am going to install it on my local host server and test it out as best I can. I will be more than happy to report back what I find. ;)
If I could I would. If I don't, it's because I am lazy!

User avatar
axew3
w3all User
w3all User
Posts: 2189
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: WordPress phpBB integration 2.4.0-dev

Post by axew3 »

2.4.0 will support by default, latin and cyrillic, but it can be switched with easy to become compatible with any alphabets.
And should resolve with easy any previous issue.

2.4.0 important considerations are here, please if testing, consider what here reported:
https://www.axew3.com/w3/forums/viewtop ... f=2&t=1598

If integrating leaving users register into phpBB, and leaving phpBB to accept any char for usernames, consider the above, and lately, the fact that an existent username like this in phpBB $£$$%% is NOT added into wordpress, because after sanitized by wordpress, it return an empty value, so the wp user's addition fail, and as code is on this RC1, simply do not add the user nor display any message to him. Going to fix this today.
User's transfers options still needs to be fixed, so please do not consider this part while testing.

2.4.0 change a lot, and if configured as suggested, lead to awesome results, not all immediately arguable.

2.4.0 i'm working on, that will be deeply tested into default wp now, then with buddypress and mums again, is this:

Check LAST POSTS in reply for last development releases

User avatar
DjPorkchop73
User www
User www
Posts: 63
Joined: Thu Aug 20, 2020 6:45 pm
Location: Egyptian Valley of Illinois

Re: WordPress phpBB integration 2.4.0-dev

Post by DjPorkchop73 »

So a quick question that has come up;

On most installs people tend to create a new admin WordPress user after the initial install, give the original admins posts and comments to the new admin and then the original admin is deleted from the WordPress system. Is that at all possible with this plugin?

I thought about it originally when I installed the last version on my production site but I never asked. But now I am real curious as I test this new version out.

Oh, for the record here is my test environment stats:

WAMP Server

MySQL: 5.7.28
MariaDB: 10.4.10
php : 7.4
Apache 2.4.41

WordPress 5.5.3
phpBB 3.3.2


Thanks for your hard work on this. I really enjoy using it and getting to test it as well.
If I could I would. If I don't, it's because I am lazy!

User avatar
DjPorkchop73
User www
User www
Posts: 63
Joined: Thu Aug 20, 2020 6:45 pm
Location: Egyptian Valley of Illinois

Re: WordPress phpBB integration 2.4.0-dev

Post by DjPorkchop73 »

Please disregard my last post. I actually figured out how to accomplish the task I asked about. As it stands it is not possible to do unless the admin swap is done prior to installing phpBB3. This can be done in any version of this plugin. How silly of me to not realize this. Oops lol
If I could I would. If I don't, it's because I am lazy!

Locked