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

HELP! Installed PRO and now keep getting same frame loading
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=5731
Page 1 of 1

Author:  joebobto [ 6. Feb 2019, 21:19 ]
Post subject:  HELP! Installed PRO and now keep getting same frame loading

Hello and thank you in advance for any help you can provide on this.

I have just spent a few weeks adding posts with the iFames Advanced version and decided today to upgrade tot he Pro version to try and fix 3rd party cookie issues I was having.

After purchasing, I tried to upload the plugin but got a notice saying the folder was already created, so I deactiavted the plugin , uninstalled and installed the Pro version I just purchased.

After that, everything seems to be stuck on the same frame, regardless my short code and iframe posts on all my pages are pointing to different pages.

Is it a cache thing??

I can't seem to figure out.

I am using the external workaround, my iframe key is the same...not sure what to do...

Help!!!

Author:  TinyWebGallery [ 7. Feb 2019, 20:02 ]
Post subject:  Re: HELP! Installed PRO and now keep getting same frame load

you have to provide more information. Do you get any errors in the Javascript console?
Have you saved the ai_external.js again by clicking save in the administration?

Best, Michael

Author:  joebobto [ 18. Feb 2019, 18:45 ]
Post subject:  Re: HELP! Installed PRO and now keep getting same frame load

Helo Michael,

First off thank you for taking the time to reply and for your assistance.

I've managed to figure out a few of the bugs comping up since installing the pro version, a few I am struggling with still.

Here is what I have solved so far...

1- After installing and of my shortcode i had to change every ( ) to %7B %7D for it to resolve the URL correctly. Changed over 130 posts with iframe src

Struggling with the following still

1- Can't edit and save a post with the plug-in active, it doesn't allow me to edit or change a post until a de-activate the plugin.
2- When you vist this link http://condocrawlers.com/search/category/for-sale/condominiums-for-sale/ you only see the entire content in the first post, all other posts are cut off in the iframe

Author:  joebobto [ 18. Feb 2019, 18:47 ]
Post subject:  Re: HELP! Installed PRO and now keep getting same frame load

forgot to mention for #2 - seems Okay on mobile device

2- When you vist this link http://condocrawlers.com/search/category/for-sale/condominiums-for-sale/ you only see the entire content in the first post, all other posts are cut off in the iframe

Author:  TinyWebGallery [ 20. Feb 2019, 23:41 ]
Post subject:  Re: HELP! Installed PRO and now keep getting same frame load

Hi,

1. The pro version has some additional feature with replaceing e.g. placeholders. Maybe there is an additional encoding that you don't need to do encodings by yourself.

2. If you cannot save a post when the plugin is active please go to the options and disable the automatic check of iframes when saving.

3. About the auto height. You are using the external workaround. But you have not defined the ids properly in the iframes. So it does not find the iframe to resize. I think the first iframe does also not really resize. it is only bigger by default.

if you see my demos:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-with-post-message
I always set the iframe_id always before the ai_external.js. So the problem on your side is that each page does actually would need a different id but you have only one page with different urls!

See example 27:

http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/resize-on-element-resize

add pass_id_by_url="ai_id" to the shortcode and

and
var iframe_url_id = "ai_id";

before the shortcode.
Then the id of the shortcode is transfered to the iframe and then the iframe knows which id to use for the callback.

Best, Michael

Author:  joebobto [ 26. Feb 2019, 23:44 ]
Post subject:  Re: HELP! Installed PRO and now keep getting same frame load

Michael, Thank you for your reply on my question.

I have resolved a few problems but am stuck on the following...

As you know the main site is http://condocrawlers.com and I am looking to force https://condocrawlers.com

On the the external domain where I am call the framed pages (condocrawlers.ca) I have created the following files

http://www.condocrawlers.ca/ai_external.js
http://www.comdocrawlers.ca/jquery.ba-resize.min.js
http://www.condocrawlers.ca/jquery.min.js

For the following post https://condocrawlers.com/search/1001-bay-street-for-sale/

I included the code below to the page , as you can see I can;t get height to 100% automatic and also noticed foogallery is affected.

[advanced_iframe securitykey="8e452126d9ea01d8db5525a336ee14af41a93bee" use_shortcode_attributes_only="true" src="https://www.condocrawlers.ca/index.php?p=200&io_mdist=C&io_districts=&io_communities=%7BC01%7D&io_for_sale=1&io_Condo=1&io_hometype=condo&io_dir=asc&io_st_name=1001+Bay+&io_min_price=&io_min_bedrooms=0&io_max_price=&io_min_bathrooms=0&io_ml_num=&io_min_kitchens=0" width="100%" height="100%" scrolling="no" pass_id_by_url="ai_id" var iframe_url_id = "ai_id";<script src="http://www.condocrawlers.ca/ai_external.js"></script>]


Appreciate your help, thank you.

Joseph

Author:  TinyWebGallery [ 27. Feb 2019, 21:48 ]
Post subject:  Re: HELP! Installed PRO and now keep getting same frame load

you are mixing http and https !!!!

See your errors in the javascript log (chrome -> f12):

jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 1.4.1
(index):209 Mixed Content: The page at 'https://condocrawlers.com/search/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Cantarell'. This request has been blocked; the content must be served over HTTPS.
(index):209 Mixed Content: The page at 'https://condocrawlers.com/search/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Merriweather+Sans:400,700&amp;subset=latin,latin-ext'. This request has been blocked; the content must be served over HTTPS.
(index):245 Mixed Content: The page at 'https://condocrawlers.com/search/' was loaded over HTTPS, but requested an insecure image 'http://condocrawlers.com/search/wp-content/uploads/2019/01/condocrawlers_to-condos-logo.png'. This content should also be served over HTTPS.
2toronto_search:1 Mixed Content: The page at 'https://condocrawlers.com/' was loaded over HTTPS, but requested an insecure script 'http://condocrawlers.com/search/wp-content/plugins/advanced-iframe/js/ai_external.js'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://condocrawlers.com/search/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Cantarell'. This request has been blocked; the content must be served over HTTPS.
(index):1 Mixed Content: The page at 'https://condocrawlers.com/search/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Merriweather+Sans:400,700&amp;subset=latin,latin-ext'. This request has been blocked; the content must be served over HTTPS.
piwik.js:1 Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID
(index):1 Mixed Content: The page at 'https://condocrawlers.com/search/' was loaded over HTTPS, but requested an insecure favicon 'http://condocrawlers.com/search/wp-content/uploads/2019/01/favicon.ico'. This request has been blocked; the content must be served over HTTPS.

You have to load the files all with https !
Everything is https ! Therefore you need to include all scripts also this way. and as all is https you also need to copy this files to the other server but you can include them directly!

Best, Michael

Author:  joebobto [ 28. Feb 2019, 00:15 ]
Post subject:  Re: HELP! Installed PRO and now keep getting same frame load

Michael thank you for your patience with me as I get this solved,

I have added the plug-in SSL Insecure Content Fixer and that has fixed many https links...

Regarding error below...
index.php?p=200&io_mdist=C&io_districts=&io_communities={C01}&io_for_sale=1&io_Condo=1&io_hometype=condo&io_dir=asc&io_st_name=1001+Bay+&io_min_price=&io_min_bedrooms=0&io_max_price=&io_min_bathrooms=0&io_ml_num=&io_min_kitchens=0&ai_id=advanced_iframe:1 Mixed Content: The page at 'https://condocrawlers.com/' was loaded over HTTPS, but requested an insecure script 'http://condocrawlers.com/search/wp-content/plugins/advanced-iframe/js/ai_external.js'. This request has been blocked; the content must be served over HTTPS.

How do I get Advance iframe to NOT LOAD
http://condocrawlers.com/search/wp-content/plugins/advanced-iframe/js/ai_external.js

but instead load the external https://www.condocrawlers.ca/ai_external.js


Joseph

Author:  joebobto [ 28. Feb 2019, 01:32 ]
Post subject:  Re: HELP! Installed PRO and now keep getting same frame load

Michael, I think I figured out the https://


thank you!

Joseph

Author:  TinyWebGallery [ 2. Mar 2019, 02:05 ]
Post subject:  Re: HELP! Installed PRO and now keep getting same frame load

You are welcome.

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