virginiagirl (@virginiagirl)

Forum Replies Created

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

  • virginiagirl
    Member

    @virginiagirl

    You’re right – I think when I hid the top header it also removed the Login/Logout buttons. Do you know what code in the PHP file controls these buttons? I know I didn’t delete any of the PHP code, I just applied display:none to the CSS file.


    virginiagirl
    Member

    @virginiagirl

    I also just noticed that when you click login, there is no link to Register and the only way to get to the Register form is the try to login with a random user name/password.


    virginiagirl
    Member

    @virginiagirl

    I figured it out – $path or $page must be variables used by bbPress, so I changed their names and it works now. Thanks!


    virginiagirl
    Member

    @virginiagirl

    I figured out what the problem was, although I’m not sure how to fix it (I’m still learning PHP). The problem is this PHP code which I have in an include (along with all my code for the site’s navigation):

    <?php

    // Extracts the file name from the file name

    $path = $_SERVER;

    $page = basename($path);

    $page = basename($path, ‘.php’);

    ?>

    The code extracts the the file name from the file to select the current tab in my navigation. When I remove this section of code, the Reply form appears and works as normal. Is the problem having PHP code in an include file?


    virginiagirl
    Member

    @virginiagirl

    I am comparing the two right now to see if I deleted something important. Do you know which php file I should be looking in? I did not integrate the forum with WordPress and am using the latest version of bbPress (I just installed it a few days ago). The only plugins I am using is the Akismet plugin. I guess I must have deleted something although I’m not sure what!

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