Page 3 of 5

Re: Resizer is not working

Posted: Thu Sep 28, 2023 8:04 am
by madnnes
I'm attaching my files in case I've missed something.

My site: knigi-igri.net
My forum: knigi-igri.net\forum
Page for the iframe: knigi-igri.net\board

My files: overall_footer, overall_header, page-board, wp_w3all_phpbb_iframe_short

https://pastebin.com/iPEwfFhv
https://pastebin.com/J4HU6BQU
https://pastebin.com/61HmKsFZ
https://pastebin.com/Mb2tPc8v

Your help is highly appreciated!

Thanks.

Re: Resizer is not working

Posted: Thu Sep 28, 2023 8:56 am
by axew3
The main site https://knigi-igri.net/board say:
Site under construction.
I need to see what you have put as values where, to understand what's going on, if even with the above last suggestion (that's very strange) it do not work for you. I need to see on browser's console the dom result of your page output.
The fact you are on siteground should not surely be the problem.

Re: Resizer is not working

Posted: Thu Sep 28, 2023 10:27 am
by axew3
psssss
aaahhh! now i probably realize from where the localhost cookie setting you say have come probably out:
there is an instruction or two into the plugin, that set the localhost value when no other value can be found.
This is effectively wrong.
2.7.3 will fix this, in favor of:
no value at all (empty), that's the correct way to do things.
Going to add this on 2.7.3 logs topic. Also, read the previous post please.

Sorry for the delay on understand the issue :D :?

Re: Resizer is not working

Posted: Thu Sep 28, 2023 11:50 am
by madnnes
Please use those credentials to pass trough the restrictions:

[REMOVED]

Re: Resizer is not working

Posted: Thu Sep 28, 2023 4:42 pm
by axew3
Ok i see.
Look the console, return this:

Code: Select all

Uncaught Error: Unexpected message received from: https://knigi-igri.net for w3all_phpbb_iframe. Message was: [iFrameSizer]w3all_phpbb_iframe:556:1042:init. This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.
The array result to be this on dom output:

Code: Select all

var w3all_orig_domains = ['https://localhost','https://www.localhost','https://knigi-igri.net/forum','http://knigi-igri.net/forum','https://localhost','http://localhost'];
I suppose it lack the domain without /forum so
open the page-board.php

and where there is this line

Code: Select all

    var w3all_orig_domains = ['".$w3all_orig."','".$w3all_orig_www."','".$w3all_url_to_cms_clean."','".$w3all_url_to_cms_clean0."','https://localhost','http://localhost'];
comment it to become

Code: Select all

   // var w3all_orig_domains = ['".$w3all_orig."','".$w3all_orig_www."','".$w3all_url_to_cms_clean."','".$w3all_url_to_cms_clean0."','https://localhost','http://localhost'];
then just below, try to add this instead:

Code: Select all

var w3all_orig_domains = ['https://knigi-igri.net','http://knigi-igri.net','https://knigi-igri.net/forum','http://knigi-igri.net/forum'];
And all should work fine.
Ps
Why it do not return the correct value for you on your server on the array?
I will see re-coding the iframe integration these days, in the while let check that all for you is ok now :D

ps just figured out why just now

Re: Resizer is not working

Posted: Thu Sep 28, 2023 6:06 pm
by madnnes
Yes, it's working now! You are the best! :)

Thanks a lot for your help :)