Page 1 of 1

Resize problem

Posted: Sat Apr 22, 2017 5:32 pm
by Goofkop
Axew3 i have a little problem and this was a few weeks or months ago not a problem.
When i visit my forum outside your plugin it resizes on the iPhone to the right size.
But when I use your plugin i get this: http://imgur.com/a/7OcUS

It resizes when i visit it out your plugin. http://imgur.com/a/ojKjC

When i use landscape on my iPhone they are both OK!

Re: Resize problem

Posted: Sat Apr 22, 2017 11:07 pm
by axew3
Hello, i have not the ability to try out, i should may try with some simulator, i will install something about for tests (that i need also for something else).
Open the created or copied/pasted page-forum.php or whatever you have name it on wp template folder:
try to change:

Code: Select all

<iframe style="width:100%;border:0 !important; scrolling="no" src="<?php echo $w3all_url_to_cms; ?>"></iframe>
with

Code: Select all

<iframe style="width:1px;min-width:100%;*width:100%;border:0 !important;" scrolling="no" src="<?php echo $w3all_url_to_cms; ?>"></iframe>
or

Code: Select all

<iframe style="min-width:100%;width:100px;*width:100%;border:0 !important;" scrolling="no" src="<?php echo $w3all_url_to_cms; ?>"></iframe>
let know

Re: Resize problem

Posted: Sun Apr 23, 2017 1:37 am
by axew3
Ops! The code was containing also an error! The style attribute not closed!

Code: Select all

style="min-width:100%;width:100px;*width:100%;border:0 !important; scrolling="no"
need to be in case:

Code: Select all

style="min-width:100%;width:100px;*width:100%;border:0 !important;" scrolling="no"
so maybe the simple version just work:

Code: Select all

<iframe id=w3all_phpbb_iframe" style="width:100%;border:0 !important;" scrolling="no" src="<?php echo $w3all_url_to_cms; ?>"></iframe>
Further more, this will be edited in favor of an iframe resizer property that is ready to use without recurring maybe to this code.
We'll see, let know please!

Re: Resize problem

Posted: Sun Apr 23, 2017 9:08 am
by Goofkop

Code: Select all

<iframe style="width:1px;min-width:100%;*width:100%;border:0 !important;" scrolling="no" src="<?php echo $w3all_url_to_cms; ?>"></iframe>
This one works Axew3, Thanks!

Re: Resize problem

Posted: Sun Apr 23, 2017 10:16 am
by axew3
Ok nice! 1.6.9 is coming with (i can't enumerate, really many) fixes on general code, and particularly also for iframe.
Just rewriting all push/redirects urls for iframe and various js/ajax fixes that will bring a nice iframe experience! ;)
The pseudo testing code running right now here, contain several errors ... going to fix all this afternoon and hope to find out the time to test all before today or tomorrow when all will be (i hope) ready to be published!

Re: Resize problem

Posted: Sun Apr 23, 2017 10:45 am
by Goofkop
I wait patiently.

If your finished with 1.6.9 is there a possibility to look at the fonts and lettertype of your plugin?
Which we discussed earlier here: https://www.axew3.com/w3/index.php/foru ... 4&start=10
My website is online since friday but i don't like the difference now. But only when your have time of course.
http://imgur.com/a/PebrL

Have a nice weekend!