Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

How to disable this?
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4511
Page 1 of 1

Author:  magneto664 [ 6. Jan 2018, 14:41 ]
Post subject:  How to disable this?

Hi, anybody know how to disable this message? I know what I do with my iframe I don't need to get this message everytime
how to disable it? tnx.Image

Author:  TinyWebGallery [ 7. Jan 2018, 23:10 ]
Post subject:  Re: How to disable this?

It cannot be disabled directly.

But you can open advanced-iframe.php and remove

add_filter( 'content_save_pre', array($cons_advancediFrame, 'ai_save_post'), 10, 1 );

then the iframe is not checked when you press save.

Best, Michael

Author:  TinyWebGallery [ 7. Jan 2018, 23:16 ]
Post subject:  Re: How to disable this?

But I can add this to the next version that only errors are reported every time...

Best, Michael

Author:  TinyWebGallery [ 7. Jan 2018, 23:22 ]
Post subject:  Re: How to disable this?

If you only want to disable this for warnings look for

if ($result['status'] == 'orange' || $result['status'] == 'red'

in this file and remove the 'orange' part...

Best, Michael

Author:  magneto664 [ 11. Jan 2018, 01:26 ]
Post subject:  Re: How to disable this?

pls add option to disable all erros. also this error:

https://i.imgur.com/VlCdRMM.png
Image
I well know what I do. this is slow my wordpress site very hard.

tnx.

Author:  TinyWebGallery [ 11. Jan 2018, 10:41 ]
Post subject:  Re: How to disable this?

I will add an option. But please read my last posts how to disable this by yourself.

If it is a time issue on your server remove the
add_filter( 'content_save_pre', array($cons_advancediFrame, 'ai_save_post'), 10, 1 );

like I told you.

But a check only takes max. 200 ms for one domain as it only fetches the header.
I check my 60 demos in ~ 7 sec.

also this is only a warning (orange cross). An error would be a red cross.

Best, Michael

Author:  magneto664 [ 20. Jan 2018, 01:24 ]
Post subject:  Re: How to disable this?

60 demos for 7 seconds. ?
and how about 6000 iframes? will be 700 seconds.
this function must be off! is so slow! and no necessary at all ! tnx.

Author:  TinyWebGallery [ 20. Jan 2018, 11:53 ]
Post subject:  Re: How to disable this?

Please read my last posts.

I told you how to disable this in a few seconds and also that I will add an option in the next version.

Do you have 6000 iframes on ONE page? I don't think you have a website which would load at least 3 hours!
And checking all iframes is nothing triggered automatically. You have to enable this or click the "check all" button.

And I disagree that this is not needed. Do you know how many e-mails I get "why is my iframe not shown"?
I always reply: Please use the free iframe checker first!
And checking all iframes on a site is also useful for some people who don't want to check their iframes every day to be sure that on the other side no xoptions header was added which leads to a white iframe!

So it might not be useful for you. But for others it is.

Best, Michael

Author:  TinyWebGallery [ 20. Jan 2018, 15:39 ]
Post subject:  Re: How to disable this?

Also you can send me a message through code canyon. I already have this on my local build I can send you. Please provide an e-mail that accept zip files (e.g. google does not!)

Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/