Page 1 of 1

Embedded Forum gets cut off at the bottom

Posted: Tue Sep 24, 2019 4:57 pm
by jwhitrick
The embedded Forum gets cut off/hidden from view under the footer area of WordPress.
I've tried using a couple of templates to see if it makes any difference without any success.
I'm using the latest WordPress and Forum and it was the same before I upgraded them as well, attached is a screen shot of what I see.
Any advice on what I need to check or try would be much appreciated :D

Re: Embedded Forum gets cut off at the bottom

Posted: Fri Sep 27, 2019 7:17 am
by axew3
Little delay on answer,
did you resolved the problem?

Re: Embedded Forum gets cut off at the bottom

Posted: Fri Sep 27, 2019 7:29 am
by axew3
this is the solution for ALL of these problems.

The solution that ever work for any kind of template is to choose the last option here:
http://davidjbradshaw.github.io/iframe- ... tionmethod

you should open page-forum.php or whatever you named it in the WP template folder,
search for this line:

Code: Select all

// heightCalculationMethod: 'documentElementOffset', // If iframe not resize correctly, un-comment (or change with one of others available resize methods) 
change into this:

Code: Select all

heightCalculationMethod: 'taggedElement', // If iframe not resize correctly, un-comment (or change with one of others available resize methods) 
now open you phpBB overall_footer.html, and just before the closing </body> tag element, add this:

Code: Select all

<div data-iframe-height=""></div>
or another html element tagged in this way, existent, or that you'll put, just before the closing body tag.

Remember to recompile phpBB template and reset to NO the phpBB option, when finished and all will results ok.
Cheers