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

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: how do i stop forum page from continuous loading of i-frame

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

by axew3 » Sat Apr 18, 2020 9:01 pm

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

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

by scarce » Sat Apr 18, 2020 8:47 pm

hi, thanks alot..

i have tried it all but forum iframe height is still not adjusting.

maybe its because i can not recompile all these code changes.. i cant log into the stand alone phpbb admin CP to recompile.

what do u think

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

by axew3 » Fri Apr 17, 2020 7:28 pm

ok you correctly setup it.
But error after error it return another error.
you should open page-good.php
search for these lines of code

Code: Select all

   // array() of allowed domains
   
    var w3all_orig_domains = ['".$w3all_orig."','".$w3all_orig_www."','".$w3all_url_to_cms_clean."','".$w3all_url_to_cms_clean0."','https://localhost','http://localhost'];
substitute the line with:

Code: Select all

    var w3all_orig_domains = ['".$w3all_orig."','".$w3all_orig_www."','".$w3all_url_to_cms_clean."','".$w3all_url_to_cms_clean0."','https://eculaw.com.ng/phpbb','http://eculaw.com.ng/phpbb'];
and let see that all should be resolved

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

by scarce » Fri Apr 17, 2020 5:39 pm

hi, are you saying i should remove that line of code from page-good.php?
its in my line #235..

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

by axew3 » Tue Apr 14, 2020 7:33 pm

you have to remove into page-good.php this line:

Code: Select all

document.domain = '".$document_domain."';
right above the edited

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

by scarce » Tue Apr 14, 2020 7:26 pm

:cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry: :cry:
i have effected the changes but nothing really happened.

i still cant find the phpbb forum stand alone on eculaw.com.ng

Top