Bagi Zoltan (@bagi-zoltan)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • @bagi-zoltan

    Member

    Hi,

    I experienced that if the deep integration is applied WP controls the language setting so you need to define the preferred language in wp-config.php.

    Regards

    @bagi-zoltan

    Member

    Hi,

    $query="SELECT topic_id FROM bb_topics";will return the array of the topic ids.

    Regards

    @bagi-zoltan

    Member

    I faced with the very same problem with two bbpress installations along with a WP. I slightly modified the function is_404() in the /wp-includes/query.php so the function returns true when the requested uri belongs to the forums.

    function is_404 () {

    global $wp_query;

    if (preg_match('/(firstbbpressfoldername|secondbbpressfoldername)/i', $_SERVER))

    {return true;}

    else{

    return $wp_query->is_404;}

    }

    After saving the irritating 404 issue has gone.

    Regards

    Zoli

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