WordPress.org

Support

Support » How-To and Troubleshooting » Phpbb inside WordPress, possible?

Phpbb inside WordPress, possible?

  • I want to accomplish a simple thing, i want that my forum will open up inside my wordpress blog between my wordpress header and footer. I’ve installed wp-united and decided its to much trouble (changing the blog url, remembering to edit every file after updates) plus i don’t care for integration with users etc’. is there a simpler way to do that?

    THanks

Viewing 15 replies - 1 through 15 (of 19 total)
  • did you read my post?

    I’ve installed wp-united and decided its to much trouble (changing the blog url, remembering to edit every file after updates) plus i don’t care for integration with users etc’. is there a simpler way to do that?”

    The simplest way I can think of is to create a blog page with an iframe and load the forum into the iframe… Alternatively (not as simple though), you could edit your forum theme so that your header and footer match those of your blog…

    is there a template i can download that includes iframe?
    How can i get rid of the sidebar in that page?
    Thanks

    First, create a Page in WordPRess. Let’s say you gave that page has a slug forum. Then you can add to your theme a file called forum.php, which will be used as a template whenever the forum page is viewed. Inside forum.php, you could have something like this:

    <?php get_header(); ?>
    
    <div id="content"><!-- if it's not in the header, that is... -->
    <iframe src="http://yoursite.com/forum/" width="100%" height="80%" />
    </div>
    
    <?php get_footer() ?>

    You may, of course, have to add a few more things to make sure the important layout elements are present…

    ^ Thanks NC@WP
    After i did the above i had another problem, double scroll bars.
    one in the outside window and one in the iframe. Any ideas on that one?

    The scroll bar on the iframe is going to be there pretty much no matter what, so you could try getting rid of the window scroll bar by reducing the height of the iframe, possibly dynamically, by using JavaScript…

    do you think is it possible do this without an iframe ?

    I have integrated (to a point) the main site, gallery and WordPress for a client. Integrated to a point I say because they don’t share the databases. But all look about as much alike and all are exact in navigation with each other that one feels he never left the site.

    Viewable here:
    http://www.shhfiles.com/.

    Not saying it is easy but it is well worth it. I used a theme from phpBB for all and added a portal.

    Larry

    I recommend using OnePress Community (http://onepresscommunity.com) to accomplish this.

    While it won’t do exactly as you are asking (as far as using the wordpress header and footer) it does integrate the navigation and user logins. As far as templates go, you’ll still have to create a phpBB style but it’s really just a matter of copy and pasting CSS after you have done your WP theme…

    Hello there

    I’m trying to accomplish the same thing.

    When you create the forum.php file, where exactly do you put it?

    Thanks

    Anyone?

    I’ve created a page and called it forum with a page slug also called forum

    I’ve created forum.php with and put this code in it

    <?php get_header(); ?>
    
    <div id="content"><!-- if it's not in the header, that is... -->
    <iframe src="http://yoursite.com/forum/" width="100%" height="80%" />
    </div>
    
    <?php get_footer() ?>

    I copied the forum.php page to wp-content/themes/mytheme/forum.php

    When i go to the home page, click the forum page nothing is displayed

    ANy help much appreciated

    Or am I getting the completely wrong end of the stick here!

    Just edit your forums overall_header and overall_footer files.

    I did it to my site, check it out

    Mame Cabinets & Arcade Machines

    Yeah, editing header/footer in phpBB is easy… but how do you include get_header() and get_footer() functions from wordpress, so that all the navigation changes in WP are immediately reflected in phpBB too?

    Someone post a solution to that one and this thread can be successfully closed… until then, keep looking.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Phpbb inside WordPress, possible?’ is closed to new replies.