cmcraft (@cmcraft)

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Nope. Here is my index.php file from the bbpress directory. What am I doing wrong?

    ‘<?php

    require(‘./bb-load.php’);

    //the next two lines are my attempts to load it myself

    require_once(‘/home/myusername/public_html/blog/wp-config.php/’);

    require_once(‘/home/myusername/public_html/blog/wp-blog-header.php’);

    $bb_db_override = false;

    do_action( ‘bb_index.php_pre_db’, ” );

    if ( isset($_GET) && ‘1’ == $_GET ) :

    $forums = false;

    elseif ( !$bb_db_override ) :

    $forums = get_forums(); // Comment to hide forums

    $topics = get_latest_topics();

    $super_stickies = get_sticky_topics();

    endif;

    do_action( ‘bb_index.php’, ” );

    if (file_exists( BBPATH . ‘my-templates/front-page.php’ ))

    require( BBPATH . ‘my-templates/front-page.php’ );

    else require( BBPATH . ‘bb-templates/front-page.php’ );

    //then i tried the include header call to no avail so i tried this

    <?php include (/home/myusername/public_html/blog . ‘/wp-blog-header.php’); ?>

    ?>

    I am going to try this, thanks to the page you referenced above.

    <?php include (TEMPLATEPATH . ‘/header2.php’); ?>

    In reply to: En espaƱol

    Si yo entiendo bien, y recien estoy explorando bbpress mas y mas, que phpbb tiene diferentes capacidaded. bbpress me parece mas rapido pero no tiene algunas cosas que un foro bien grande debe tener, como la capacadid suscribir a un thread por email. No se, pero si my pagina era casi todo foro, yo usaria algo como phpbb o invasion, etc.

    Ok, now I am beginning to understand. I assume from looking around that I need to add that code (such as ‘<?php get_header(); ?>’) into the bbpress/index.php file.

    Naturally bbpress won’t know to look in the /blog/ folder (bbpress is in the /blog/bbpress/ folder) so how do I set the path?

    Would that be another require( etc code?

    Thanks for all the help, I am learning so much!

    In reply to: wpmu bbpress issues

    Are you lacking a trailing slash for wp-config.php?

    You may also try without the .. that worked for me.

    ok, can you tell me how?

    Ok so I got it to work without error, but it still does not load my blog site on top of the forum. Maybe I misunderstood, I need more than just username and password integration. I need it to show my blog.

    I tried that and it threw back a serious error. I might be a noob, but is there more defining that needs to be done? Inserting the code towards the bottom didn’t work. My installation works ok, but it doesn’t load wordpress at all, and if I uncomment the wp_bb line, it errors up as well.

    Help!

Viewing 8 replies - 1 through 8 (of 8 total)