Plugin Author
axew3
(@axewww)
Ciao,
http://www.axew3.com/w3/2016/02/embed-phpbb-into-wordpress-template-iframe-responsive/
take attention to grab all the needed js code, and to do all steps to achieve the iframe responsive result. Are very simple steps.
Would like to remember also that to have the iframe respinsive also on phpBB admin, if you like, you need to add the same code to the overall_footer.html of admin theme.
changing in this case to the path where iframeResizer.contentWindow.min.js
need to be searched for.
http://www.axew3.com/w3/forums/viewtopic.php?f=2&t=37
Ciao!
i just follow carefull step by step guide, but is not responsive, i don’t know why.
Maybe i use a different phpbb template ? I use “Elengance Auqua” and i put the code inside overall_footer.html file, like this
<script type=”text/javascript”>
$(document).on(“click”, “a”, function() {
var href = $(this).attr(“href”);
var w3allappend = href;
if (‘parentIFrame’ in window) window.parentIFrame.sendMessage(w3allappend);
});
</script>
<script type=”text/javascript” src=”./iframeResizer.contentWindow.min.js” defer></script>
<!– IF S_PLUPLOAD –><!– INCLUDE plupload.html –><!– ENDIF –>
{$SCRIPTS}
and i copy iframeResizer.contentWindow.min.js in phpbb root.
May be phpbb is in a subdomain subdomain/httpdocs/forum and wp is locate in httpdocs/ ?
Regards,
Alessio
Solved.
I use absolute link in place of ./
<script type=”text/javascript” src=”http://subdomain.mydomain.ext/iframeResizer.contentWindow.min.js” defer></script>
would be nice to add the how to add it to the overall_footer.html of admin theme on this page : http://www.axew3.com/w3/2016/02/embed-phpbb-into-wordpress-template-iframe-responsive/
as there is no post about it at all.
Plugin Author
axew3
(@axewww)
Auto modification:
You mean this article should be linked as help in the install help page at axew3.com?
Yes can be a problem the setting as is, that can fail to let load iframeResizer.contentWindow.min.js file.
Ok going to add it or modify the install doc/post about.
[done]