Page 2 of 3

Re: wp_w3all iframe code v5: logs, requests

Posted: Mon Jan 13, 2020 2:52 pm
by axew3
i see that if a post contain images attachments, sometime the content of the iframe fail in height, due to images that may aren't still loaded before resize event.

Re: wp_w3all iframe code v5: logs, requests

Posted: Mon Jan 13, 2020 10:10 pm
by axew3
Nope ...
it seem that to fix the issue about correct iframe height, it is necessary to re-add old code like this, into js overall_footer.html added code:

it was lately switched to:

Code: Select all

if(w3iOS == false){
var bd = document.getElementsByTagName("body");
for (var i = 0; i < bd.length; i++) {
var bdID = bd[i].getAttribute("id");
}
var elt = document.getElementById(bdID);
elt.setAttribute("style", "position:fixed;top:0%;left:0%;width:100%;margin:0px;");
}
BUT it need to return to be:

Code: Select all

if(w3iOS == false){
$(window).on( "load", function() {
var bd = document.getElementsByTagName("body");
for (var i = 0; i < bd.length; i++) {
var bdID = bd[i].getAttribute("id");
}
var elt = document.getElementById(bdID);
elt.setAttribute("style", "position:fixed;top:0%;left:0%;width:100%;margin:0px;");
});
}
so the iframe code has been updated to fix this reverting this piece of code to what +- was.

All will be cleaned up of redundant code and more fixed on soon coming iframe v5.
In the while all seem to return to work fine just in this way.

Re: wp_w3all iframe code v5: logs, requests

Posted: Wed Jan 15, 2020 12:34 am
by axew3
The v4 code js code has been just updated, since it was giving error on copy/paste or containing an unwanted char.
I've not verify why i copied it and was failing when applied into overall_footer.html.
I just can say, like many others, that the new WP Gutenberg is a total mess sometime.

Re: wp_w3all iframe code v5: logs, requests

Posted: Wed Jan 15, 2020 9:45 am
by axew3
Ehy cool people! Too late!? Never say never ...
The infamous w3 ...
The Fancy url is coming soon with v5 iframe code!
w3all Options -fancyURL.png
w3all Options -fancyURL.png (19.79 KiB) Viewed 3440 times
p.s it's necessary to exchange some name into buttons and Options names ... they are little different now on behaviors, like:
the login widget do not point anymore to phpBB, so the fact that the setting about links to point to phpBB real url or iframe wp page, not affect anymore. Further more, to point WP login-logout-register links to phpBB, there is already added in the past a specific option.

Re: wp_w3all iframe code v5: logs, requests

Posted: Wed Jan 15, 2020 9:06 pm
by axew3
May it was obvious to imagine, that the stupid line of code added via jQuery, to switch href links into widgets onmouseover (seo trick), may fails when jquery not added by default by used theme.
So this is not strictly v5 code related, by the way js related this plugin.
It will be fixed on soon coming 2.1.1, replaced by pure js instruction.
At this time, the v5 js code will be also released, updating page-forum to fit new feature Fancy query Url.

Re: wp_w3all iframe code v5: logs, requests

Posted: Wed Jan 15, 2020 9:17 pm
by axew3
thinking that to be inline with myself (not because i'm cool, but just because i often use the word in many contests) i will name the w3 var in 2.2.1 on this online install, into cool:

Code: Select all

https://www.axew3.com/w3/forum/?cool=cG9zdGluZy5wa
maybe i will switch into

Code: Select all

https://www.axew3.com/w3/coding/?cool=cG9zdGluZy5wa
with peace of mind about SEO ...

nope, just joking (but not about SEO consideration)

P.s suggest hints and report bugs!