hello, i’m just over bugs starting resolving reported issues for next release.
To resolve this problem, it is necessary to edit the overall_footer.html of the phpBB template, as the latest addition fail on post preview. And not maybe edit the page-forum.php as suggested. Think this is the best way to resolve.
Open file overall_footer.html of your phpBB template.
On code you have add for iframe, search for the following:
$('form').on('submit', function() {
var href = $(this).attr("action");
var w3allappend = href;
if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);
});
REMOVE AND REPLACE WITH:
$('form').on('submit', function() {
var hhref = $(this).attr("action");
var ck1 = '#preview';
var ck1r = (hhref.indexOf(ck1) > -1);
if(ck1r == false){
var w3allappend = hhref;
if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);
}
});
Save and remember to Recompile stale style components in phpBB to apply modifications to the template.
If any other problem come out, please report so it will be maybe fixed before the new coming release.
The related wp_w3all installation help page about has been updated to fix this:
embed phpBB template into WordPress -> phpBB step https://www.axew3.com/w3/2016/02/embed-phpbb-into-wordpress-template-iframe-responsive/
-
This reply was modified 7 years, 10 months ago by axew3.
-
This reply was modified 7 years, 10 months ago by axew3.
-
This reply was modified 7 years, 10 months ago by axew3.