Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author axew3

    (@axewww)

    the mixed content error, come out due to wrong setting http/https
    check that:
    if WP is served as https, phpBB also need to be setup into ACP to be served as https, or http if served as http. Both need to have the same setting about this.

    Check that also the URL setting into wp_w3all config page, need to be the same (http or https)

    Thread Starter viacheslavmezentsev

    (@viacheslavmezentsev)

    https for phpBB enabled (for cookies and server protocol). I’m interesting what rule generate this link ‘http://tinyco.ru/forum/’ for the iframe source. Can I point it manually?

    url setting for wp_w3all: https://tinyco.ru/forum

    If I add ‘/’ at the end the iframe shows forum page but trimmed (no mixed content error).

    Plugin Author axew3

    (@axewww)

    the rule applied is URL setting on wp_w3all config page.

    it is so passed into page-forum.php of your active theme folder (or whatever you’ve named it).
    Open page-forum.php, check in case the setting on this line:
    // document.domain = 'mydomain.com'; // NOTE: Un-comment and reset/setup this with YOUR domain if js error when WP is like/on wp.domain.com and phpBB on domain.com: js origin error come out when WP is on subdomain install and phpBB on domain. The origin fix is needed in case: (do this also on phpBB overall_footer.html added code)
    the same setting need to be applied (as explained on iframe procedure) to the code you’ve add into your phpBB overall_footer.html.

    Which wp page contain the iframe phpBB in wp? can i see, in case you’ve still not resolved after this?

    Thread Starter viacheslavmezentsev

    (@viacheslavmezentsev)

    Which wp page contain the iframe phpBB in wp? can i see, in case you’ve still not resolved after this?

    For now: https://tinyco.ru/?page_id=103

    Plugin Author axew3

    (@axewww)

    the only error coming out result to me this:

    [iFrameSizer][Host page: w3all_phpbb_iframe] IFrame has not responded within 5 seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ingored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning.

    and you should set the permalink of this created page page_id=103 like the name you’ve choose into wp_w3all config page for the template iframed page:
    so forum, or forums or community etc

    Thread Starter viacheslavmezentsev

    (@viacheslavmezentsev)

    This is because I added a slash at the end of the address for the forum. The problem is that the iframe converts https://tinyco.ru/forum to http://tinyco.ru/forum/ and I don’t know how to avoid this. Rules from .htaccess not worked in iframe in my environment. So the only worked method – add a slash to prevent conversion.

    The resizer also not worked and I think I need to learn php and all other staff to make it works. Also I can’t login as wpadm using standard dialog page but it is possible with the admin account from the forum. This is strange.

    Plugin Author axew3

    (@axewww)

    This is because I added a slash at the end of the address for the forum. The problem is that the iframe converts https://tinyco.ru/forum to http://tinyco.ru/forum/ and I don’t know how to avoid this.

    REMOVE the final slash in case you’ve setup it
    as http://tinyco.ru/forum/ and not as http://tinyco.ru/forum (without slash), into WP_w3all config page.
    This value, exactly as you set it (so you need to set it exactly as
    https://tinyco.ru/forum without slash)
    is so used into page-forum(or community or what you’ve name it).php of your template folder, where:
    <iframe id="w3all_phpbb_iframe" style="width:1px;min-width:100%;*width:100%;border:0;" scrolling="no" src="<?php echo $w3all_url_to_cms; ?>"></iframe>
    so there is no way, if it isn’t set wrongly, to get the result you say.

    Look also that since your forum folder where phpBB is installed is forum you have to choose another name between available, so forums, board etc when you build/set the forum page name in wp_w3all config page.

    I also see that your overall_footer.html in phpBB has not been edited to fit needs about iframe resizer.
    Check the install help about, and follow all required steps where:
    Template embed phpbb into WordPress
    phpBB WordPress integration install help

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Problem with iFrame’ is closed to new replies.