Page 2 of 2

Re: 2.2.9 phpBB WordPress released

Posted: Tue Mar 10, 2020 8:34 am
by axew3
Dysphoria wrote: Tue Mar 10, 2020 6:16 am Hey, sorry for my late response. I've done this, but it actually gives the same problem.
Hello! No Found the problem! it is just a javascript problem, into this function, on wp_w3all-php file

Code: Select all

function w3all_iframe_href_switch(){
 echo "<script>function w3allIframeHref(ids,res){ var e = document.getElementById(ids); e.setAttribute(\"href\", res); }</script>";
}:
Links output on widget is now correct, but when you put mouse over last posts (since you activated the switch links for iframe option) links are switched to point to iframe directly, without asking to overall_header code to switch if a direct/real phpBB url presented.

Code: Select all

https://talkatastic.be/board/viewtopic.php?f=16&t=58&p=2303#p2303
when mouseover occur become:

Code: Select all

https://talkatastic.be/index.php/index.php/index.php/index.php/forum/?forum_id=16&topic_id=58&post_id=2303#p2303
so let me check the stupid javascript making it return a correct result.

So strange that the result onmouseover, into your install/configuration lead to this result, since the href is now correct ...
let me wait some little time until solution to this will come out ...
anybody have an idea on how to resolve this (at moment) easy strange thing?

Re: 2.2.9 phpBB WordPress released

Posted: Tue Mar 10, 2020 9:04 am
by axew3
could you try to switch (since jquery is queued already into your theme)

open wp_w3all.php file and where this:

Code: Select all

function w3all_iframe_href_switch(){
 echo "<script>function w3allIframeHref(ids,res){ var e = document.getElementById(ids); e.setAttribute(\"href\", res); }</script>";
}
replace with this:

Code: Select all

function w3all_iframe_href_switch(){
 echo "<script type=\"text/javascript\">function w3allIframeHref(ids,res){ ids='#'+ids;jQuery(ids).attr('href',res); }</script>
";
}

Re: 2.2.9 phpBB WordPress released

Posted: Tue Mar 10, 2020 1:17 pm
by axew3
The wp_w3all.php file has been patched about this, to try to cover any possibility, so you can also download the patched file on repository:
https://plugins.trac.wordpress.org/expo ... _w3all.php
and replace the file wp_w3all.php
into
/wp-content/plugins/wp-w3all-phpbb-integration/
folder. I guess that this will resolve also your index.php problem?