grasn (@tannar)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • @chrishajer, thanks for the code, this one didn’t work for me, but the one on the page top. You can visit my forum http://deadrising2.de/?page_id=84

    If someone wants to know how i made it, I just removed stuff from the bbpress head.php so it looks like this:

    <body>

    <div id=”main”>

    <?php if ( is_bb_profile() ) profile_menu(); ?>

    and also the first </div> from the footer.php, I also removed the hot tags stuff from frontpage.php. Now I installed embed-iframe plugin for wordpress and modified the iframe.php like this:

    <div class="iframe-wrapper">
    <iframe src="<?php echo $url ?>" frameborder="0" id="youridnamehere" width=100%>Please upgrade your browser</iframe>
    </div>
    <script type="text/javascript">
    function resizeIframe() {
    var height = document.documentElement.clientHeight;
    height -= document.getElementById('youridnamehere').offsetTop;

    <code></code>// not sure how to get this dynamically
    height -= 150; /* whatever you set your body bottom margin/padding to be */

    document.getElementById('youridnamehere').style.height = height +"px";

    };
    document.getElementById('youridnamehere').onload = resizeIframe;
    window.onresize = resizeIframe;
    </script>

    Now I just modified the width of the bbpress style.css for head, main and footer, and also the cols/width of the textarea. I still have a scrollbar if there are more posts on one page, but I can live with.

    Thanks for your help!`

    Ok i’m using the embed-iframe plugin to integrate the forum, it looks good. I reduced the width of the forum theme in the css file so it fits the page. The only problem i have, in emped-iframe you can assign a width and height for the iframe. 100% doenst work for height, cause if the forumpage has many threads the iframe becomes a scrollbar on the right side. Any solutions to fix this, and let the iframe automaticly get the height of the forumpage height?

    Ok guys, thanks for your posts, but i didn’t understand: is it possible to integrate bbpress into my wordpress blog like on this site and on http://www.columbusunderground.com/forums/ ? I see its possible, does no one have an idea how to do it?

    I don’t care about themes, i just want to integrate my /forum/ directory in a wordpress page. i tried using iframe but its not that great cause it has borders.

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