Forums

Join
bbPress Support ForumsThemesonly one forum - please help

Info

only one forum - please help

  1. Hi Everyone

    bbPress is great. I love it and I appreciate every bit of effort put into it.

    I am setting a new site which has only one, single forum in it.

    My goal is to have the main/home page show the same view as if I would select a specific forum from a multiple-forums website (stickies on top, marked in color....)

    My first idea was to replace front-page.php with forum.php (copy & rename), and add the following code:
    <?php $forum_id="1"; ?> right after <?php bb_get_header(); ?>.

    This does create the appearance of a single forum, but in a different presentation. for example, sticky topics are sorted with all other topics by date, and are not forced to the first lines in the topics table.

    I would really really really appreciate any help or directions I can get.

    Thanks a lot !

    Moshe.

  2. it took me a while to achieve this but it wasn't too tough. see here:

    http://www.copsandrobbers.net/messageboard/

    i stripped most of the content out of front-page.php and put in an immediate redirect to forum.php

    try it - it works fine for me, no complaints from users either.

  3. Hi Circuit

    Thank you so much for your reply.

    May I ask for some coding directions?

    What does your front-page.php look like now?

    Will you be willing to email it to me (moshe100s at gmail dot com) or to post it in reply?

    Thanks again !

    Moshe

  4. Hi Again

    Can someone kindly provide an example how to immediately redirect to a specific forum from the front page?

    I would really appreciate any help here !!!

    Thanks,

    Moshe

  5. I, too, would find an example of that page code phenomenally helpful...

  6. You could just replace the contents of your template's front-page.php with this code to redirect the visitor:

    <?php
    header("HTTP/1.1 301 Moved Permanently");
    header("Location: http://www.example.com/forums/forum-slug");
    exit;
    ?>

    Just change http://www.example.com/forums/forum-slug to the URL where you want people to end up.

  7. Holy crap! It's like magic! That is fantastic. Thanks!

  8. You must log in to post.