by axew3 » Fri Sep 27, 2019 7:29 am
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:
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
[b][size=120]this is the solution for ALL of these problems.
[/size][/b]
The solution that ever work for any kind of template is to choose the last option here:
[url]http://davidjbradshaw.github.io/iframe-resizer/#heightcalculationmethod[/url]
you should open [b][i]page-forum.php[/i][/b] or whatever you named it in the WP template folder,
search for this line:
[code]// heightCalculationMethod: 'documentElementOffset', // If iframe not resize correctly, un-comment (or change with one of others available resize methods) [/code]
change into this:
[code]heightCalculationMethod: 'taggedElement', // If iframe not resize correctly, un-comment (or change with one of others available resize methods) [/code]
now open you phpBB [b][i]overall_footer.html[/i][/b], and just before the closing </body> tag element, add this:
[code]<div data-iframe-height=""></div>[/code]
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