Resize problem

Goofkop
User www
User www
Posts: 63
Joined: Sun Feb 26, 2017 8:33 am

Resize problem

Post 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!
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Resize problem

Post 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
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Resize problem

Post 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!
Goofkop
User www
User www
Posts: 63
Joined: Sun Feb 26, 2017 8:33 am

Re: Resize problem

Post 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!
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Resize problem

Post 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!
Goofkop
User www
User www
Posts: 63
Joined: Sun Feb 26, 2017 8:33 am

Re: Resize problem

Post 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!
Post Reply