wp_w3all iframe code v5: logs, requests

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: wp_w3all iframe code v5: logs, requests

Re: wp_w3all iframe code v5: logs, requests

by axew3 » Thu Jan 16, 2020 9:05 pm

I also think it is time to add option for the page-forum, to let choose at what gap/distance, the iframe should scroll to.
Since themes headers are of different heights, an option about this will be useful to complete with easy the template integration.
Stay tuned lovely and cool people!

Re: wp_w3all iframe code v5: logs, requests

by axew3 » Wed Jan 15, 2020 9:17 pm

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!

Re: wp_w3all iframe code v5: logs, requests

by axew3 » Wed Jan 15, 2020 9:06 pm

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

by axew3 » Wed Jan 15, 2020 9:45 am

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 3424 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

by axew3 » Wed Jan 15, 2020 12:34 am

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

by axew3 » Mon Jan 13, 2020 10:10 pm

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.

Top