Issue with page forum resizing

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: Issue with page forum resizing

Re: Issue with page forum resizing

by Taouche » Thu Feb 02, 2017 3:03 pm

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.

Re: Issue with page forum resizing

by axew3 » Thu Feb 02, 2017 2:30 pm

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?

Re: Issue with page forum resizing

by Taouche » Thu Feb 02, 2017 1:56 pm

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 :(

Re: Issue with page forum resizing

by axew3 » Tue Jan 31, 2017 3:50 pm

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>

Issue with page forum resizing

by Taouche » Tue Jan 31, 2017 3:20 pm

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

Top