2.7.7 logs and suggestions (and iframe code fixes)

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

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: 2.7.7 logs and suggestions (and iframe code fixes)

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

by axew3 » Tue Dec 05, 2023 10:56 pm

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

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

by axew3 » Tue Dec 05, 2023 8:46 pm

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.

2.7.7 logs and suggestions (and iframe code fixes)

by axew3 » Mon Dec 04, 2023 12:06 am

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.

Top