Hi,
i have no success with the resizing of the phpBB3 forum frame. I use a fresh installed Wordpress and a fresh installed phpBB3, no changes at all
-> Goal Page is: www.onlinehockey.de/forum
-> PHPbb3 Original Link www.onlinehockey.de/phpBB3
What i did
- installed plugin
- set Path to config.php /home/olh/html/phpBB3
- set Path to Realphp https://onlinehockey.de/phpBB3
- cp wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer/iframeResizer.contentWindow.js /home/olh/html/phpBB3/
- edit /home/olh/html/phpBB3/styles/prosilver/template/overall_footer.html with content from (https://www.axew3.com/w3/2016/02/embed- ... responsive) and set <script type="text/javascript" src="/home/olh/html/phpBB3/iframeResizer.contentWindow.js" defer></sc
- in PHP ACP set Server Configuration -> Load settings -> Recompile stale style components to "yes"
- Loaded a forum page
- "Create or rebuild WordPress forum page template" set to "forum"
- Create "forum" page
i searched the forums and followed your advice (https://www.axew3.com/w3/forum/?f=2&t=479) to try to change the "heightCalculationMethod" in the page-forum file, but no success with all parameters.
I Appreciate any hints
Thx in advance
risq
Template Integration -> Resize / No success on vanilla Wordpress/PHPbb3
-
- User w
- Posts: 14
- Joined: Wed May 24, 2017 2:01 pm
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Template Integration -> Resize / No success on vanilla Wordpress/PHPbb3
open your page-forum(or what you've name it).phpFailed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://onlinehockey.de’) does not match the recipient window’s origin (‘http://onlinehockey.de’).
line:
Code: Select all
//document.domain = 'axew3.com'; //
Code: Select all
document.domain = 'onlinehockey.de'
Code: Select all
// document.domain = 'localhost'; // un-comment and set this value to your domain (ex. axew3.com) ...
Code: Select all
document.domain = 'onlinehockey.de'; // un-comment and set this value to your domain (ex. axew3.com) ....
This part of the plugin integration and code documentation will be fixed and optimized as soon to be more easy
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Template Integration -> Resize / No success on vanilla Wordpress/PHPbb3
p.s check also that your URL on wp_w3all url setting is with https if your phpBB is https
-
- User w
- Posts: 14
- Joined: Wed May 24, 2017 2:01 pm
Re: Template Integration -> Resize / No success on vanilla Wordpress/PHPbb3
thx for your quick reply.
i uncommened/changed in both files /home/olh/html/phpBB3/styles/prosilver/template/overall_footer.html and /home/olh/html/wp-content/themes/twentyseventeen/page-forum.php
document.domain = 'onlinehockey.de'
result: no change.
i uncommened/changed in both files /home/olh/html/phpBB3/styles/prosilver/template/overall_footer.html and /home/olh/html/wp-content/themes/twentyseventeen/page-forum.php
document.domain = 'onlinehockey.de'
result: no change.
-
- User w
- Posts: 14
- Joined: Wed May 24, 2017 2:01 pm
Re: Template Integration -> Resize / No success on vanilla Wordpress/PHPbb3
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Template Integration -> Resize / No success on vanilla Wordpress/PHPbb3
Code: Select all
<script type="text/javascript" src="/home/olh/html/phpBB3/iframeResizer.contentWindow.js" defer></script>
Code: Select all
<script type="text/javascript" src="/home/olh/html/phpBB3/iframeResizer.contentWindow.js" defer></script>
Code: Select all
<script type="text/javascript" src="https://onlinehockey.de/phpBB3/iframeResizer.contentWindow.js" defer></script>