Search

bbPress Showcase » bbPress Themes

  1. lamentira
    User has not uploaded an avatar

    new member
    Joined: Jul '09
    Posts: 1

    offline

    I have discovered that there is a very easy way to integrate a BBPress forum inside of a Wordpress blog. I havent found anyone in the forums doing it in this way so I will explain it here.

    1. Asumed that you have instaled wordpress and bbpress, and you have integrated bbpress with wordpress following the steps showed in bbpress installation process.

    2. You have to go to the administration pannel in your wordpress (wp-admin)

    3. Create a page named Forum. Chose HTML and include the following code:

    <iframe id="forum" name="forum" src="http://your_url/bbpress_folder" frameborder="0" framespacing="0" scrolling="auto" border="0" style="width:925px; height:1000px; " >

    Sorry, your browser doens't support iframe. Please upgrade your browsers.

    </iframe>

    replace the bold characters for the apropiate values in your web. The number in bold is the with of your blog. In that case (I use primepress theme) it is 925

    4. Now we only have to add the widget to show the page, or like in my case, the theme shows all the pages in the blog as options in the header. We only have to remove the header and the footer of the forum.

    5. In your bbpress directory go to bbtemplates and make a copy of kakumei directory. You could call it noheader directory and open it.

    6. Open header.php and replace this

    <body id="<?php bb_location(); ?>">
    <div id="wrapper">

    <div id="main">

    <div class="search" align="right">
    <?php search_form(); ?>
    </div>
    <?php if ( bb_is_profile() ) profile_menu(); ?>

    with this


    <body id="<?php bb_location(); ?>">
    <div id="wrapper">

    <div id="main">

    <div class="search" align="right">
    <?php search_form(); ?>
    </div>
    <?php if ( bb_is_profile() ) profile_menu(); ?>

    7. Open footer.php and delete this section

    <div id="footer" role="contentinfo">
    <p><?php printf(__('%1$s is proudly powered by bbPress.'), bb_option('name'), "http://bbpress.org") ?></p>

    <!-- If you like showing off the fact that your server rocks -->
    <!-- <p class="showoff">
    <?php
    global $bbdb;
    printf(
    __( 'This page generated in %s seconds, using %d queries.' ),
    bb_number_format_i18n( bb_timer_stop(), 2 ),
    bb_number_format_i18n( $bbdb->num_queries )
    );
    ?>
    </p> -->
    </div>

    <?php do_action('bb_foot'); ?>

    8. Open style.css and delete this


    #wrapper {
    background: #fff url('images/page_header_tile.png') repeat-x 0px -15px;
    }

    9. You can add the reference a bbpress.org in the wordpress footer.

    Hope this help

    You can see the result here http://www.lamentiraestaahifuera.com

    Posted 2 years ago #
  2. suuchan
    User has not uploaded an avatar

    new member
    Joined: Oct '09
    Posts: 1

    offline

    thanks!!! this is awesome it's something i have been looking for

    however, referring to point #6, i'm not too sure what to do... (the codes look the same) >.<

    Posted 2 years ago #

RSS feed for this topic

Post a reply to “Easy way to integrate BBPress % WordPress themes”

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
29 users online from in the past 30 minutes. 12 bots 16 guests 1 members: _ck_
2,073 views today 6,910 yesterday 14,010 peak. Most at once 47 today 48 yesterday 131 peak. Visited today: codye, _ck_
2,231 posts in 377 topics over 62 months by 424 of 1,966 members. Latest: brmidot, somomoni, codye