Skip to:

Edit register.php

  • I’m trying to edit register.php in my template file so that it will use my WordPress one instead, this is the code I have so far, but it doesn’t work, any help thanks.

    <?php if ( !bb_is_user_logged_in() ) { ?>

    <?php header("Location:"); ?>

    <?php } else { ?>

    <?php header("Location:"); ?>

    <?php }; ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Why not just redirect any calls to register.php to your WordPress site via .htaccess?

    Redirect 301 /forums/register.php
    Redirect 301 /forums/bb-reset-password.php



    What happens when you access the register link in bbPress? Do you get an error, or it just doesn’t work? Is it different if you are logged in vs. not logged in?

    With the 301? It just kicks you over to WP. If you’re logged in, it still asks you to register, which is odd, but that’s on the WP trac (it’s supposed to say ‘Hey, you’re logged in, welcome!’)

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar