Skip to:
Content
Pages
Categories
Search
Top
Bottom

Blank Screen since WP 4.7 (also in 4.7.1)

Published on January 17th, 2017 by ulrich.stettler

Hi

I’ve a blank screen if I try to open the forum pages [http://nccr-planets.ch/forum/planets-forum/], this are since I’ve update to version 4.7 from WP. I’ve try to deactivate all other plugins, but it still not works. And also change to another themes give me the same result. The only possible reason I could make are a downgrade from the WP (I’ve test this on my test system and he works). What can I do that the forum displayed on the current WP version?

Thanks for help!

Profile page redirect to homepage

Published on January 17th, 2017 by erez.dasa

Hu guys,

I can’t find a solution and I need your help.
users can’t get to thier profile page because it’s resirecting to homepage.
i’ve try to disable Yoaast SEP plugin but it’s not help.
Please help me with this issue.

How can I relate a Topic to more than one Forum?

Published on January 16th, 2017 by markognezeniq

Running –
– WP 4.6.1 with Divi
– BBPress version 2.5.11

My use case –
– Using BBPress to create Topic discussions around content pages. The nature of these pages is that users may want to find a content page from different directions.
– Example: consider two content pages, Apples and Oranges. Some people may be researching vegetarian diets (both may come up), Citrus fruits (only oranges will come up), or fruits from Washington State (only apples will come up).

My hope –
– create the ability to have a topic relate to multiple Forums.
– Using the above example, I would have a forum for vegetarians (both apples and oranges relate to this Forum), another for Citrus Fruits (only oranges relate to this Forum), and a third for Washington State produce (only Apples relate to this Forum).

What is the best way to accomplish this change in BBPress categorization of Topics to ForumS?

Thank you in advance!

Mark

How to add Box shadown for bbpress input textara box

Published on January 16th, 2017 by TheDream18

Hi. I tried to apply css box shadow for input textara. But it was not work. Anyone know what exactly class CSS should to use to add box shadow? Thanks
.wp-editor-container textarea.wp-editor-area ==> Not work

Red Dot on a menu item

Published on January 16th, 2017 by DeysonOrtiz

Hello and good day everyone!
I had wanted to know if this is at all possible in bb press?
The goal is to add a small red dot next to a link to the forum in the menu bar. This would notify users that are logged in that there is a new message waiting for them in the forum.

Please let me know if we can do this. Thank you for all your hard work and have an amazing day! 🙂

Forum Search

Published on January 16th, 2017 by courtneyleonis

When I search my Forum I get a 502 error: the page request was canceled because it took too long to complete.

At first I thought it was only when you tried to search multiple words. But then it did work when I tried “crash cart” and “cell phone” and it did not work when I tried “annual” or “history”. So it seems very inconsistent.

WordPress version:4.6.2
bbPress version:2.5.11
www.progressivesurgicalsolutions.com

Forum page number issue and sidebar

Published on January 16th, 2017 by btranslation

WordPress Version 4.7.1
bbPress Version 2.5.12
Theme: Hayden
https://bible-translations.com/forums/

Hello, I am having great difficulty getting any widgets to appear in my Forums sidebar. I believe now that it relates to the page I have bbPress running on. After initially installing bbPress I later added a new page and added

as directed to do in the documentation. However, when I’ve tried to use the Forums page id to exclude the Forums link from automatically appearing in the footer it did not work. Also I had to use (.bbpress) in my css to style the header of the page as .page-id- was not working.
My issue still occurs when tested using Twenty Seventeen.

$post_stati[] = bbp_get_public_status_id();

Published on January 15th, 2017 by wautersandreas

Hi, i had a big problem with bbpress in the sense that it crashed (fatal error) every time i tried to administrate it by clicking the “forums” tab.

I found out that the below function was the problem, and in particular that i needed to change to:
$post_stati = bbp_get_public_status_id();
from
$post_stati[] = bbp_get_public_status_id();

for some reason the straight brackets broke everything, i don’t understand why, so i wanted to flag this for future updates. i’m a complete newb so yeah 😀

error code:

Fatal error: Uncaught Error: [] operator not supported for strings in /customers/f/9/9/simzone.net/httpd.www/HQ/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array) #4 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/class-wp.php(617): WP_Query->query(Array) #6 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/class-wp.php(735): WP->query_posts() #7 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/functions in /customers/f/9/9/simzone.net/httpd.www/HQ/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800'

adjusted function: 

function bbp_pre_get_posts_normalize_forum_visibility( $posts_query = null ) {

// Bail if all forums are explicitly allowed
if ( true === apply_filters( ‘bbp_include_all_forums’, false, $posts_query ) ) {
return;
}

// Bail if $posts_query is not an object or of incorrect class
if ( !is_object( $posts_query ) || !is_a( $posts_query, ‘WP_Query’ ) ) {
return;
}

// Get query post types array .
$post_types = (array) $posts_query->get( ‘post_type’ );

// Forums
if ( bbp_get_forum_post_type() === implode( ”, $post_types ) ) {

// Prevent accidental wp-admin post_row override
if ( is_admin() && isset( $_REQUEST[‘post_status’] ) ) {
return;
}

/** Default ***********************************************************/

// Get any existing post status
$post_stati = $posts_query->get( ‘post_status’ );

// Default to public status
if ( empty( $post_stati ) ) {
$post_stati = bbp_get_public_status_id();
# $post_stati[] = bbp_get_public_status_id();

// Split the status string
} elseif ( is_string( $post_stati ) ) {
$post_stati = explode( ‘,’, $post_stati );
}

/** Private ***********************************************************/

// Remove bbp_get_private_status_id() if user is not capable
if ( ! current_user_can( ‘read_private_forums’ ) ) {
$key = array_search( bbp_get_private_status_id(), $post_stati );
if ( !empty( $key ) ) {
unset( $post_stati[$key] );
}

// …or add it if they are
} else {
$post_stati = bbp_get_private_status_id();
#$post_stati[] = bbp_get_private_status_id();
}

/** Hidden ************************************************************/

// Remove bbp_get_hidden_status_id() if user is not capable
if ( ! current_user_can( ‘read_hidden_forums’ ) ) {
$key = array_search( bbp_get_hidden_status_id(), $post_stati );
if ( !empty( $key ) ) {
unset( $post_stati[$key] );
}

// …or add it if they are
} else {
$post_stati = bbp_get_hidden_status_id();
#$post_stati[] = bbp_get_hidden_status_id();
}

// Add the statuses
$posts_query->set( ‘post_status’, array_unique( array_filter( $post_stati ) ) );
}

// Topics Or Replies
if ( array_intersect( array( bbp_get_topic_post_type(), bbp_get_reply_post_type() ), $post_types ) ) {

// Get forums to exclude
$forum_ids = bbp_exclude_forum_ids( ‘meta_query’ );

// Bail if no forums to exclude
if ( ! array_filter( $forum_ids ) ) {
return;
}

// Get any existing meta queries
$meta_query = $posts_query->get( ‘meta_query’ );

// Add our meta query to existing
$meta_query[] = $forum_ids;

// Set the meta_query var
$posts_query->set( ‘meta_query’, $meta_query );
}
}

/**
* Returns the forum’s topic ids
*
* Only topics with published and closed statuses are returned
*
* @since bbPress (r2908)
*
* @param int $forum_id Forum id
* @uses bbp_get_topic_post_type() To get the topic post type
* @uses bbp_get_public_child_ids() To get the topic ids
* @uses apply_filters() Calls ‘bbp_forum_query_topic_ids’ with the topic ids
* and forum id
*/’

Child theme breaks viewing single topic

Published on January 15th, 2017 by endomorph

Hi all,

Got something I am stumpeped on. I have a site, with a child theme and I have installed BBPress.

Created the bbpress.php template page. All pages on the forum work fine apart from the view topic page. It just outputs the content of BBpress with no theme code.

If I switch to a parent theme, it ll works OK, it’s only happening on a child theme

Any ideas ?

Registration email not working (server email ok. spam checked)

Published on January 15th, 2017 by climbingturtle

Really having a hard time with Registration emails. I’ve spent most of the weekend getting nowhere.

WordPress 4.7.1
bbPress 2.5.12
Theme bbPress (Twenty Ten)Version: 1.4.1

Emails are working from the same wordpress installation. I have the “Check Email” plug-in installed, and use to confirm that emails are working fine.

When a user registers, the user is created, but the email never seems to get out.

Any help or troubleshooting advice is sincerely appreciated. Thanks!


NOTE: A topic by this name seems to exist (https://bbpress.org/forums/topic/registration-email-not-being-sent-new-issue/page/2/), but it’s over a year old, seems to deal with people whose servers are blocking email, and makes references to files that no longer exist in the plugin (bb-includes/pluggable.php).

Skip to toolbar