2.7.7 logs and suggestions (and iframe code fixes)

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

2.7.7 logs and suggestions (and iframe code fixes)

Post 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 4677 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.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

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

Post 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.
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

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

Post 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
Post Reply