Page 3 of 3

Re: how do i stop forum page from continuous loading of i-frame

Posted: Sat Apr 18, 2020 9:01 pm
by axew3
if you can't access ACP since you disabled recompile setting, with the overall_header.html code added, that redirect any direct url to the iframed phpBB into wp, and for some wrong configuration in the while, then you can't login ACP, just
DISABLE JAVASCRIPT on browser, then access ACP, then set recompile to YES.

... all ok in phpBB templates added code
the problem is:
open page-good.php and where this line

Code: Select all

checkOrigin : w3all_orig_domains,
change into

Code: Select all

checkOrigin : false,
then you'll see all will work but it do not check the origin then the page can be embedded into another, which should not be a big risk.
The problem is the array of allowed domains that do not match

p.s you can comment/disable this line into overall_header.html code
document.location.replace(href0);
change into
// document.location.replace(href0);
then directly accessed urls will not be redirected to the iframed phpBB into wp