Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 22. Nov 2024, 17:43

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: How to disable this?
PostPosted: 6. Jan 2018, 14:41 
Offline

Joined: 20. Sep 2017, 22:48
Posts: 3
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


Top
 Profile  
 
 Post subject: Re: How to disable this?
PostPosted: 7. Jan 2018, 23:10 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject: Re: How to disable this?
PostPosted: 7. Jan 2018, 23:16 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
But I can add this to the next version that only errors are reported every time...

Best, Michael


Top
 Profile  
 
 Post subject: Re: How to disable this?
PostPosted: 7. Jan 2018, 23:22 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject: Re: How to disable this?
PostPosted: 11. Jan 2018, 01:26 
Offline

Joined: 20. Sep 2017, 22:48
Posts: 3
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.


Top
 Profile  
 
 Post subject: Re: How to disable this?
PostPosted: 11. Jan 2018, 10:41 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject: Re: How to disable this?
PostPosted: 20. Jan 2018, 01:24 
Offline

Joined: 20. Sep 2017, 22:48
Posts: 3
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.


Top
 Profile  
 
 Post subject: Re: How to disable this?
PostPosted: 20. Jan 2018, 11:53 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
 Post subject: Re: How to disable this?
PostPosted: 20. Jan 2018, 15:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy