phpBB WordPress integration extension v2

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

phpBB WordPress integration extension v2

Post by axew3 »

The (awesome) w3all phpBB WordPress extension v2

If you'll use this extension in a non personal free website, you have to contribute and pay one time 10$


all fixed
Release 2.0.4 - 14 Jun 2025

(old releases removed)

Should work into any Php 5.6> and phpBB 3.2 or >
Anyway it has been coded/tested under Php 8.1 > and phpBB 3.3.10 >

It can be used as standalone, while some option to work require to install the WP_w3all integration extension into WordPress or simply will not work:
wp-w3all-phpbb-integration

- If already installed a previous version, disable it, delete the extension's data into ACP, then delete the old phpBB Wordpress extension folder phpbbwordpressintegration into
/ext/w3all/phpbbwordpressintegration

Download the new version right here below

Copy the folder w3all with inside the extension phpbbwordpress
into the root phpBB ext folder, so you'll have:
/ext/w3all/phpbbwordpress/

Go to ACP -> Customise and enable the extension
Go to ACP -> Extensions phpBB WordPress settings and setup db connection values and options
Note that if you set wrong DB connection values, on saving settings you'll get phpBB db error. In case, just return back with your browser and setup correct db connection values.

What it do? (options)
When an user email will be updated, the same will happen for the same user with same old user email in WordPress. Both ACP and UCP.
Same goes for password and profile URL option.
When an user register (and the related option active) the user will be added at same time into WordPress, if used in conjunction with the WordPress wp-w3all-phpbb-integration plugin: https://wordpress.org/plugins/wp-w3all- ... tegration/
When an user register (and the related option active) will check for the existence of the email/username into the linked wordpress before to validate the registration form.
Since 2.0.4>
The option about the WP password hash check
, is about if the extension, when the user login, have to check (also) for a possible WP password hash, may due to the WP integration plugin that have been set to hash the password for users in the WP way.

Note that redirects options DO NOT need to be activated if the phpBB display as iframed into a WP page by using the iframe template integration. As result (and obvious) you'll get the same WP page entirely loaded into another WP page iframe when a redirect happen.
This maybe will be easily fixed on next versions, detecting if the phpBB is loaded into an iframe.

Out of the contest of this topic, may worth to mention that as soon the user will login into the iframed phpBB and the phpBB auth cookie is released, the added overall_footer JS code (iframe integration) will cause the parent WP forum page reload: so at this time the user that do not exist into WP will be automatically added (and logged) into WordPress (even without this extension installed into phpBB).
You could choose to not activate the option that will add user's in WP as they have been registered in phpBB. You could just use the redirect after login. A logged in phpBB user that visit WP and that do not exist in WP, will be added "on fly" into WordPress by the (if installed into WP) WP_w3all WP phpBB plugin.

Note also that the value of the option URL to WordPress require the final trailing slash / if the integration extension is used to add users in WP when they register in phpBB because the option is active and the WP option Permalink structure is not set to Plain.
Example:
https://localhost/wp/ or https://localhost/wp/mypage/ -> Ok
https://localhost/wp -> NOT Ok, will not work (WP will not get/process the cURL POST request from phpBB)

*What it change into my phpBB?
Nothing, it only update user's data and execute redirects or cURL calls to WordPress (it depend by activated options you'll use) when required.


Appreciations goes here thank you!
Attachments
w3all_phpBB_WordPress_extension_2.0.4.zip
(20.62 KiB) Downloaded 37 times
User avatar
axew3
w3all User
w3all User
Posts: 2991
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: phpBB WordPress integration extension v2

Post by axew3 »

2.0.4 all fixed
has been released for all the lovely and cool people!

add a new option: WP hash pass check

Note: if the hash of the checked password will result to be WP like the login redirect will be always to the phpBB index.
It will be fixed on next version so to redirect to the proper page where the login action was maybe fired.
Locked