Page 1 of 1

Not resizing the administration area

Posted: Fri Oct 14, 2016 4:51 pm
by Seowebby
Hi, I have a wordpress site and a phpBB forum and I installed W3All.
I also embedded the forum in the theme.

All works fine except for the forum administration area that is not properly resized (I cannot reach the bottom of some pages) so, I have to enter the forum directly.

Do you have any suggestion about it?

Thank you

Sergio

Re: Not resizing the administration area

Posted: Sat Oct 15, 2016 7:23 am
by axew3
Hello, yes: admin and frontend in phpBB have two distinct templates directory.

If you want admin resizing your ACP pages like frontend (so you can visit it nicely when within WP page), you need to apply the same code as explained here for the frontend phpBB template https://www.axew3.com/w3/2016/02/embed-p ... esponsive/

into your phpBB3/adm/style/overall_footer.html
but set the correct path to the file iframeResizer.contentWindow.min.js where
<script type="text/javascript" src="iframeResizer.contentWindow.min.js" defer></script> on the code to add:

Code: Select all

<script type="text/javascript">

$(document).on('mouseup', '.postimage', function(){
      var w3allappend = "getw3all_lightbox";
if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);
});

  $(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>
you can also use direct link URL instead than path:

Code: Select all

<script type="text/javascript" src="http://mysite/phpbb/iframeResizer.contentWindow.min.js" defer></script>
p.s I just select a field on ACP so i scroll page by clicking tab. But it is not maybe so comfortable as the above!