Hello!
just over the iframe code, but at moment nothing has not been changed in the overall_footer.html part.
while
page-forum, will be updated to fix the wp uid1 / phpBB2 uid2 loop
this history push bug you reported and the preloader loop
About this problem, on pushState (and duplicated history insertions), i see that it can be resolved like this:
open page-forum, and where this line:
Code: Select all
history.pushState({w3all_passed_url: w3all_passed_url}, \"\", w3all_passed_url_push);
change into this:
Code: Select all
//history.pushState({w3all_passed_url: w3all_passed_url}, \"\", w3all_passed_url_push);
history.replaceState({w3all_passed_url: w3all_passed_url}, \"\", w3all_passed_url_push);
more below, there is this code added, to fix the
when landing to forum pushState:
Code: Select all
jQuery( window ).load(function() { // wrapped here, or won't push correctly
var w3all_landed_url = '".$w3all_url_to_cms."';
var w3all_landed_url_clean = w3allNormalize_phpBBUrl_onParent(w3all_landed_url);
// PUSH phpBB URL when wp page load first time //
var w3all_passedurl = window.btoa(unescape(encodeURIComponent(w3all_landed_url_clean)));
var w3all_passedurl_push = '".$w3allhomeurl."/".$wp_w3all_forum_folder_wp."/?".$w3all_iframe_custom_w3fancyurl."=' + w3all_passedurl;
history.replaceState({w3all_passedurl: w3all_passedurl_push}, \"\", w3all_passedurl_push);
jQuery('#w3_toogle_wrap_loader').attr( \"class\", \"w3_no_wrap_loader\" );
})
there are two more little fixes about id1 uid2 and the empty fancy or w3= empty, and it is all working fine now into my tests.
this is the page forum that: fix uid1 WP and phpBB uid2 loop
fix the pushState on page forum landing and oniframe navigation
fix the empty
w3= (or custom
fancy= url) that sometime was happening on address bar
fix the preloader that sometime do not disappear (and there is no stop until page reloaded may do to explicit reload)?
not totally sure, moments ago i realized on mind all the flow, but not focused if tricks added really fixed also this aspect.
this new patched file has been applied here online, so you can see how it work now, that seem to be the right way.
Let know!