WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Header for phpbb3 Forums (2 posts)

  1. blackracoon
    Member
    Posted 3 years ago #

    Hi,

    This has been driving me crazy for the last 3 days now and I'm lost in what to do next. I am wanting the header file of my wordpress theme to become the header file of the phpbb3 forum. I want it to be called dynamically if possible so if the links change, I don't have to manually update it each time. At the top of my over_header.html (of which I have php enabled for) for phpbb, I have tried this

    <!-- PHP --> 
    
    define('WP_USE_THEMES', false);
    require('../wordpress/wp-load.php');
    get_header();
    <!-- ENDPHP -->

    I read you can call require('/wp-blog-header.php'); , instead of wp-load.php, but since the 2.6 version its more accurate to call wp-load.

    HOWEVER, in both instances of calling EITHER pages it redirects my from my current directory to wp-admin/install.php

    Even though WordPress is correctly setup and running and installed it still seems to redirect me when i load the forum then. If I remove it it is fine, so it is definitely that line.

    Best Regards, Chris

  2. costyD
    Member
    Posted 2 years ago #

    I have the same problem. Please help.

Topic Closed

This topic has been closed to new replies.

About this Topic