Fakey (@wyday)

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • How about installing a linux distro in house since your server is linux also?

    That’s a temporary solution, but once bbPress goes final and gets publicity the likes of WordPress, this Windows/localhost problem will need to be addressed.

    In reply to: web designing

    It’s no surprise that their cluttered site fails W3C validation for both XHTML and CSS. But at least they have a professional sounding name.

    I’ll second that, spencerp, the paths are all screwy on localhost installs on Windows machines. It works fine on linux, though.

    Just a note on godaddy: If you just recently created an .htaccess file it takes them anywhere from an hour to a full day for them to realize it’s there and begin parsing it.

    Trent, does the maintainer of the code know the localhost problem exists (yes, even with path-to-url.2.php plugin)? The only way I’ve managed to get around it is by directly editing the “bb-templates/kakumei” files.

    Also, another note, I’m using lighttpd on a windows machine. This probably adds to the slash havoc.

    Oh no, quite the contrary. The results are shown fine too. The problem is when the titles are show a local variable $topics is created:

    <?php
    foreach ( $titles as $topic ) :
    $count = $topic->topic_posts;
    ?>

    This is all fine and dandy, but, as you can see, $topic is a local variable and won’t be any use further down the page when the code checks whether results have been returned or not.

    I hope I’m making myself clear. Let me reiterate just for kicks: The title results show up fine, but the php code prints “No results found.” as well. Just change $topics to $titles in the following code in the template file “search.php”:

    <?php if ( !$topics && !$recent && !$relevant && !$users) : ?>
    <?php _e('No results found.') ?>

    <?php endif; ?>

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