Issue with page forum resizing

Taouche
User w
User w
Posts: 17
Joined: Thu Jun 02, 2016 11:38 am

Issue with page forum resizing

Post by Taouche »

Hi

I have 2 website using your plugin.

On the first one, all works perfectly.
On the second one, I set the plugin correctly like the first one, but the page forum is not resized correctly.
But when you resize the page from the internet browser, the scrollbar appears and you can go correctly to the forum footer.
I don't know if this issue come from my theme or if I need to set someting on the js setting file.

This is the page :
https://www.menguellet.fr/forum

Thanks for your support
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Issue with page forum resizing

Post by axew3 »

it seem to me that the code you add into your overall_footer.html, is added too soon.

Try to move the code added into your overall_footer.html, JUST BEFORE the closing body tag </body> (and remember to rebuild phpBB template:

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);
 
});
 
 $('form').on('submit', function() {
 var href = $(this).attr("action");
 var ck1 = '#preview';
 var ck1r = (href.indexOf(ck1) > -1);
 if(ck1r == false){
 var w3allappend = href;
 if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);
 }
});
</script>
<script type="text/javascript" src="iframeResizer.contentWindow.min.js" defer></script>
Taouche
User w
User w
Posts: 17
Joined: Thu Jun 02, 2016 11:38 am

Re: Issue with page forum resizing

Post by Taouche »

Hi,

I did the change, get an original overall_footer.html, add the code as you said, clear all cache, rebuilt the template and same issue :(
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Issue with page forum resizing

Post by axew3 »

i see that if i resize window, than the page display correctly (without any reload). Try it.

This happen i see, if the sidebar is inserted/or not into the template (maybe). But i see pages into the site without sidebar that display correctly instead.
The page forum for this theme, maybe need a little fix to open completely if page template not contain the sidebar. Or it need to be added to get the theme open to a non fixed height?
Could possible be resolved with an edit to css of the theme, OR, editing the page-forum.php to answer correctly as the theme page template.
Which template it is? Is a free template?
Taouche
User w
User w
Posts: 17
Joined: Thu Jun 02, 2016 11:38 am

Re: Issue with page forum resizing

Post by Taouche »

Hi,

Yeah I know if we resize the window, the page display correctly.

After that if you go down and place at the footer and relaod the page, at this moment the page display the footer correctly but not the header.

The the is AVADA and it is not free, but we have option on each page to choose to display footer or not. I tried it and I have always the same issue.
Post Reply