Hello,
I have read carefully and followed instructions to configure the plugin (https://www.axew3.com/w3/2018/12/phpbb- ... iframe-v3/)
however when I go to my wordpress page (http://dev.my80isfantastic.eu/phpbb_forum/)
my forum is shown in a one pixel iframe.
Could you please help me to solve this issue ?
THanks in advance
1 pixel iframe (instructions followed) on subdomain
-
- User ww
- Posts: 39
- Joined: Tue Dec 31, 2019 10:02 am
-
- User ww
- Posts: 39
- Joined: Tue Dec 31, 2019 10:02 am
Re: 1 pixel iframe (instructions followed)
I did a manual modification to extend the width, however the height is still not good
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: 1 pixel iframe (instructions followed)
but you should follow this instead, use the v4 code:
https://www.axew3.com/w3/2019/12/phpbb- ... iframe-v4/
beside this, open your page-phpbb_forum.php into your active template folder.
search for these two lines:
change into:
the document domain, since you're into sub-domain, return:
but it need to be in this case:
it will be fixed on next coming 2.0.3, please patch manually in the while
https://www.axew3.com/w3/2019/12/phpbb- ... iframe-v4/
beside this, open your page-phpbb_forum.php into your active template folder.
search for these two lines:
Code: Select all
// document.domain = 'mydomain.com'; // NOTE: reset/setup this with domain if js error when WP is installed like on mysite.domain.com and phpBB on domain.com: js origin error can come out for example when WordPress is on subdomain install and phpBB on domain. The origin fix is needed: (do this also on phpBB overall_footer.html added code)
Code: Select all
document.domain = 'my80isfantastic.eu';
Code: Select all
document.domain = 'dev.my80isfantastic.eu';
Code: Select all
document.domain = 'my80isfantastic.eu';
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: 1 pixel iframe (instructions followed)
you do not have to change nothing else, just do the above
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: 1 pixel iframe (instructions followed)
ops and do this also, if the above still not work please:
search for this:
change into:
search for this:
Code: Select all
var w3all_orig_domains = ['".$w3all_orig."','".$w3all_orig_www."','https://localhost','http://localhost'];
Code: Select all
var w3all_orig_domains = ['".$w3all_orig."','".$w3all_orig_www."','https://localhost','http://www.my80isfantastic.eu','http://my80isfantastic.eu'];
-
- User ww
- Posts: 39
- Joined: Tue Dec 31, 2019 10:02 am
Re: 1 pixel iframe (instructions followed)
Thank you for your very quick answer.
I did the configuration but unfortunately, it's still not working, height is not right
I did the configuration but unfortunately, it's still not working, height is not right