tiny-1 (@tiny-1)

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • In reply to: Invalid email address

    @tiny-1

    Member

    After many unsuccessful tries I’ve reinstalled, started everything from scratch.

    Now I can register on the forum OK and I can log in OK,

    new registered forum users appear in both my WP admin and BB admin, that’s OK too.

    Only problem now is if I’m logged in to the forum I am not logged in to WP and vice-versa.

    In reply to: Invalid email address

    @tiny-1

    Member

    I found the offending code that I added in my BBconfig file in order to pull the same header as the rest of the site.

    here’s the offending code:

    if (file_exists(‘../wp-blog-header.php’))

    require_once(‘../wp-blog-header.php’);

    else

    if (file_exists(‘../../wp-blog-header.php’))

    require_once(‘../../wp-blog-header.php’);

    which is place at the end like so:

    /**

    * bbPress Database Table prefix.

    *

    * You can have multiple installations in one database if you give each a unique

    * prefix. Only numbers, letters, and underscores please!

    */

    $bb_table_prefix = ‘bb_’;

    /**

    * bbPress Localized Language, defaults to English.

    *

    * Change this to localize bbPress. A corresponding MO file for the chosen

    * language must be installed to a directory called “my-languages” in the root

    * directory of bbPress. For example, install de.mo to “my-languages” and set

    * BB_LANG to ‘de’ to enable German language support.

    */

    define( ‘BB_LANG’, ” );

    $bb->WP_BB = true;

    if (file_exists(‘../wp-blog-header.php’))

    require_once(‘../wp-blog-header.php’);

    else

    if (file_exists(‘../../wp-blog-header.php’))

    require_once(‘../../wp-blog-header.php’);

    ?>

    anything glaringly wrong with this?

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