Page 1 of 1

2.7.7 logs and suggestions (and iframe code fixes)

Posted: Mon Dec 04, 2023 12:06 am
by axew3
About the Iframe integration:

I just discovered that
this Server setting into phpBB ACP
domainName-phpbb Server settings.png
domainName-phpbb Server settings.png (3.45 KiB) Viewed 4679 times
when not correctly set, leads to make it fail the overall_header.html function
function w3all0Normalize_phpBBUrl(u){
that always will return undefined because the passed u var coming from window.location.href will mismatch.

so that in certain cases it can be valid/working fine without www, but in some other the www will be required (like it is here).
Maybe the js function code can be improved to not fail in any case.

Re: 2.7.7 logs and suggestions (and iframe code fixes)

Posted: Tue Dec 05, 2023 8:46 pm
by axew3
I note creating an user as admin or editor in WordPress, that it is not added into phpBB respectively as:

Administrator -> Administrator
Editor -> Global moderator


but just as registered, so the function

private static function create_phpBB_user($wpu, $action = ''){

into the file /wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php
has been fixed.

Re: 2.7.7 logs and suggestions (and iframe code fixes)

Posted: Tue Dec 05, 2023 10:56 pm
by axew3
The page-forum js code has been optimized to (more) correctly scroll and reposition the page.
If needed it is the new coming (as it is now here), if no other fix added, on next 2.7.7

The same optimization will be added into the shortcode code (the iframe integration by shortcode)
page-forum.zip
(4.58 KiB) Downloaded 447 times