Escalibor (@escalibor)

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • To make the page wider for the forum I put the following code in my themes page.php:

    <?php if ( strpos($_SERVER[“REQUEST_URI”], ‘forum’)) {

    ?>

    <div class=”art-content” style=”width: 800px; margin-left: 99px;”>

    <?php

    }

    else {

    include (TEMPLATEPATH . ‘/sidebar1.php’);

    ?>

    <div class=”art-content”>

    <?php

    }

    this just looks for the string “forum” in the url, and if found styles the content such that it is 800px wide. Otherwise, it just uses the default width. It works, but may not be the best solution. Any other thoughts?

    Well I found how to get rid of “This forum contains 2 topics and 3 replies…”

    I edited bbp-forum-template.php -> function bbp_get_single_forum_description

    I shorted out the function by setting $retstr to an html break tag.

    It does the job perfectly, but oh this is so wrong to do it this way 😮

    Please, please tell me there is a better way to do this!!!

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