Embedded Forum gets cut off at the bottom

jwhitrick
Posts: 1
Joined: Tue Sep 24, 2019 4:43 pm

Embedded Forum gets cut off at the bottom

Post 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
Attachments
Example of cutoff.jpg
Example of cutoff.jpg (235.08 KiB) Viewed 2298 times
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Embedded Forum gets cut off at the bottom

Post by axew3 »

Little delay on answer,
did you resolved the problem?
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Embedded Forum gets cut off at the bottom

Post 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
Post Reply