Plugin Author
axew3
(@axewww)
Hi Mattias, i already answered here:
https://www.axew3.com/w3/2018/01/wordpress-phpbb-integration-without-linking-users/#comment-967
but it’s ok may you not notified about.
so to follow as before,
p.s but in your case i’ve look into output and:
you edited the page-forum.php?
because it seem to me lack of something.
Send me via pm your custom page forum or post into forum, i will take a look.
You done ok phpBB side, but the page forum not add the main resizer js file as i’ve see.
That should be loaded on page by page-forum.php
Thread Starter
encyde
(@encyde)
sorry for the above post, its all a mess. Here is the file https://www.h4ck.se/dump/page-h4ckboard.php
Plugin Author
axew3
(@axewww)
since it is a php file that you call directly, it can’t be downloaded nor viewed.
Send me via pm at axew3.com zipped.
Plugin Author
axew3
(@axewww)
the file is the default forum file, i assumed you use a custom edited.
Instead here so, seem to be a problem on how the wp theme process the page.
But this is strange.
Substantially, into output of your page-h4ckboard.php header,
after it is processed, there is not this line:
<script type="text/javascript" src="https://www.h4ck.se/wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer/iframeResizer.min.js"></script>
that load the resizer library.
to check that’s true you could try to re-add it this way:
into your template theme header.php file
just before this line:
</head>
add this:
<script type="text/javascript" src="https://www.h4ck.se/wp-content/plugins/wp-w3all-phpbb-integration/addons/resizer/iframeResizer.min.js"></script>
so check if now work.
Strange that this line isn’t resulting on page source output, i’ve not understand why, since the rest of the javascript is parsed and result to be in place.
Thread Starter
encyde
(@encyde)
thank you for replied. But no luck testing that. I must have messed up something else :\
Thread Starter
encyde
(@encyde)
its so weird, it’s like the rest is cutted https://www.h4ck.se/h4ckboard/
Plugin Author
axew3
(@axewww)
as said, because the above lack into your page header.
In page forum the code that should display this is:
…..
$s = "<script type=\"text/javascript\" src=\"".plugins_url()."/wp-w3all-phpbb-integration/addons/resizer/iframeResizer.min.js\"></script>
…..
that as you can see exist into h4ckboard forum page.
So asking myself how it’s possible that after not output on page, if you not have modify it.
Thread Starter
encyde
(@encyde)
ok, I will try to solve the problem. If I’m not, do you know any good other way to add my header to my phpBB forum site? i
Thread Starter
encyde
(@encyde)
alright I found the problem. It had nothing to do with this great plugin it was another plugin that I had installed on my WP site (Autoptimize) I deactivated it and now everything is running fine.
https://www.h4ck.se/h4ckforums/
probably due to Autoptimize JS optimization, try to confirm by disabling (and re-enabling) JS optimization. if so you’ll have to look into which JS-file to exclude from optimization to fix (probably resizer/iframeResizer.min.js).
AO’s FAQ has more info on troubleshooting and how to exclude.
hope this helps,
frank (ao dev)
Thread Starter
encyde
(@encyde)
deactivating it and then active it again worked. Thanks for all the help