WordPress.org

Ready to get started?Download WordPress

Forums

Phpbb inside WordPress, possible? (20 posts)

  1. Shaooxz
    Member
    Posted 6 years ago #

    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

  2. Samuel B
    moderator
    Posted 6 years ago #

  3. Shaooxz
    Member
    Posted 6 years ago #

    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?"

  4. NC@WP
    Member
    Posted 6 years ago #

    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...

  5. Shaooxz
    Member
    Posted 6 years ago #

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

  6. NC@WP
    Member
    Posted 6 years ago #

    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...

  7. Shaooxz
    Member
    Posted 6 years ago #

    ^ 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?

  8. NC@WP
    Member
    Posted 6 years ago #

    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...

  9. Marcomail
    Member
    Posted 5 years ago #

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

  10. Larry Overton
    Member
    Posted 5 years ago #

    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

  11. Seansullivan
    Member
    Posted 5 years ago #

    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...

  12. plork
    Member
    Posted 5 years ago #

    Hello there

    I'm trying to accomplish the same thing.

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

    Thanks

  13. plork
    Member
    Posted 5 years ago #

    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

  14. plork
    Member
    Posted 5 years ago #

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

  15. konvct
    Member
    Posted 5 years ago #

    Just edit your forums overall_header and overall_footer files.

    I did it to my site, check it out

    Mame Cabinets & Arcade Machines

  16. CrazySerb
    Member
    Posted 5 years ago #

    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.

  17. sorbo
    Member
    Posted 5 years ago #

    I just written a plugin (VVVI), proof-of-concept, that in theory will allow you to integrate X into wordpress, without having to modify X. I've tested it on phpbb and mediawiki and seems to work:

    http://darkircop.org/vvvi

    It's as simple as adding the URL to X in your wordpress page, and you'll have X embedded into your wordpress template.

    Technically it will fetch X and merge it with the master page (think server-side iframes).

  18. NairBs
    Member
    Posted 5 years ago #

    Hi sorbo,

    I just tried your plugin and followed your instruction.

    I get an error /blog/wp-content/plugins/vvvi-0.1/vvvi.php on line 61 and I noticed there is no /0/ after the init.php file??

    Any ideas?

  19. WPXpand
    Member
    Posted 5 years ago #

    Hi CrazySerb,

    In the past I have used the following at the beginning of any PHP files that need access to WordPress' functions:

    <?php
    require( 'server_path_to_your_wordpress_web_root/wp-config.php' );
    wp_cache_init();
    ?>

    So I assume that if you include this in the header of your forum template you should be able to access all the template functions available in WordPress.

  20. harizd
    Member
    Posted 5 years ago #

    Hi all,
    I'm trying to achieve the same in my website hariz design . I have already seen the wp-united but i feel its already a bit complex to use. Any help appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags