bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

Make BBPress a Page in Wordpress???

(12 posts)
  • Started 1 month ago by IPSource
  • Latest reply from vinko
  • This topic is not resolved
  1. Sorry I'm new and I tried to look around for this topic but I guess I'm not wording it right in the search.

    I want to make BBPress a page on my Wordpress site. I've installed both and they are both sharing information just fine. I just want to integrate it visually into my site.

    So is there anyway that when you click "forum" on my Navigation bar that the forum would just show up in the window below?

    Again, I'm pretty new to this so when I have to go in and start messing with code I get lost easily. I really would appreciate any advice or help you can give. Thank you.

    Posted 1 month ago #
  2. Anybody???

    Posted 1 month ago #
  3. bobbyh
    Member

    The easiest way is to find and install an existing theme that exists for both Wordpress and bbPress. For instance, K2 for bbPress is similar to the Wordpress default theme. Here are some bbPress themes for you to check out.

    Posted 1 month ago #
  4. Thanks for getting back to me and I will definitely look into that. But the problem I'm having is putting my forum actually onto my site.
    I just want a button at the top next to "Home" on the navigation bar that says "Forum" and when you click on it, it takes you to my forum. I would prefer to keep the header and footer on it so that it looks like it's actually in the site still.

    Any suggestions???

    Posted 1 month ago #
  5. mrhoratio
    Member

    IPSource,

    The short answer is you have to convert your Wordpress theme to bbPress by hand.

    I'm currently doing the same thing you're trying to do on my Wordpress blog with bbPress also. It pretty much means taking your Wordpress theme and going through each file one by one and converting them to bbPress. So you have to strip out the Wordpress tags and functions in the theme files and replace them with bbPress versions. There's no list of equivalent tags, so translating them is just gonna take a lot of trial and error and testing.

    Posted 1 month ago #
  6. gerikg
    Member

    kiaspeed2.com like that?

    Posted 1 month ago #
  7. Thanks for responding!

    @gerikg, Yes I would like to do something like that! What I don't know how to do is make a "Forum" button on my Nav bar at the top like that website. Then of course I would like to have the header and footer be the same on wordpress and bbpress.

    Posted 1 month ago #
  8. mrhoratio
    Member

    IPsource, to add a Forum button in the nav bar, you'll need to edit your theme files in Wordpress. And then do the same in the bbPress template files. Most likely, the files would be something called header.php. Every theme is different so it'll depend on what you have. You might consider hiring a coder to do it, if you're not comfortable with the html/php.

    Posted 1 month ago #
  9. If I remember correctly, a folder will override a wp page. What I have done is, install bbpress at a location within wp, then create a page in wp with the same name that you gave your bbpress install. When viewing the blog, the page will show up in the pages section, menu bar or wherever you theme puts it. This should create a dynamic link to the forum.
    I think this is what you are looking for.
    I have done this for static folders and things like bbpress.

    Posted 1 month ago #
  10. gerikg
    Member

    How I did it... Please back up everything before starting.
    You need to find a theme close to your WP to make it easier.

    1. BBPress side,I renamed the style.css to styleold.css
    2. Copied over the WPress style.css over to BBpress
    3. Open both files at the same time. You want to copy over some of the codes from styleold.css to style.css. You might need to play with it. Do not copy "body".
    4. Open both header.php. On the BBpress header copy over from WP header everything after <body> tag. Replacing whatever is there.
    5. Open both footer.php. This one is a little tricky.
    You can just copy over the whole thing and make sure you have <?php do_action('bb_foot', ''); ?> in the file. You will lose the designers info though OR You need to see on WP side if there is any closing tags. bring that over and delete any closing tags on the BBPress side.
    6. Sidebars: depending where the <?php get_sidebar(); ?> tag. For example my <?php get_sidebar(); ?> tag is IN the footer.php Others the <?php get_sidebar(); ?> is in the other php files right before the get_footer tag or after get header tag.

    that's it.

    make sure in your bb-config.php
    there is

    $bb->WP_BB = true;
    if (file_exists('../wp-blog-header.php'))
    require_once('../wp-blog-header.php');
    else
    if (file_exists('../../wp-blog-header.php'))
    require_once('../../wp-blog-header.php');

    after <?php tag.

    Goodluck.

    Posted 1 month ago #
  11. gerikg
    Member

    Oh forgot. In the header I put just

    <li class="page_item"><a href="/forum/">Forum</a></li>
    after the page tag. It's either going to be in front of all your pages or behind.

    Posted 1 month ago #
  12. Has anyone tried finding a bbPress theme that is similar to the Mandigo WP theme

    Posted 1 month ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.