Skip to:
Content
Pages
Categories
Search
Top
Bottom

Make Index.php load Forum id=”1″?


  • Basinalders
    Member

    @basinalders

    Hi. I am new at this but is there anyway I can make index.php simply call for the only forum I have? Effectively having forum.php automatically call for id=”1″ and have that be my index?

Viewing 1 replies (of 1 total)

  • Basinalders
    Member

    @basinalders

    Nevermind I figured it out. If you wan to do this open Index.php and replace:

    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' );

    With:

    `

    do_action( ‘bb_index.php’, ” );

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

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

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

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.