Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 8,926 through 8,950 (of 64,471 total)
  • Author
    Search Results
  • #184248
    Robin W
    Moderator

    bugs should be submitted to

    https://bbpress.trac.wordpress.org/

    thanks

    #184246
    Robin W
    Moderator

    Suspect you are using php 7.1

    3 fixes
    1. downgrade to a lesser version of php
    2. upgrade to bbpress 2.6 RC
    3. in bbpress 2.5.12 go to /includes/forums/functions.php and change line 1851 from
    $meta_query = $posts_query->get( ‘meta_query’ );
    to
    $meta_query = $posts_query->get( ‘meta_query’, array() );
    Since the next upgrade will fix that anyway, no issue in changing the bbpress file
    best I can offer I’m afraid

    #184241
    sagiet
    Participant

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

    plz what to do .
    tnx

    DolZikoo
    Participant

    GREAT!

    This is done by adjusting the value.
    Thank you very much.

    ————————————————————-

    /* Change margin */

    @media
    only screen and (max-width: 499px) {

    /* Change the width of the author column */
    #bbpress-forums div.bbp-forum-author, #bbpress-forums div.bbp-topic-author, #bbpress-forums div.bbp-reply-author {
    display: none;
    }

    /* position the left hand side of the content column */
    #bbpress-forums div.bbp-reply-content {
    margin-left: 0px;
    }

    /* hide the avatar */
    a.bbp-author-avatar {
    display: none;
    }

    }

    Robin W
    Moderator

    looks fine to me – all quite readable, but it is your site so your call!

    play with the following numbers

    so overall you might try

    /* Change margin */
    @media only screen and (max-width: 499px) {
    
    	/* Change the width of the author column */
    	#bbpress-forums div.bbp-forum-author, #bbpress-forums div.bbp-topic-author, #bbpress-forums div.bbp-reply-author {
    		width: 50px;
    	}
    
    	/* position the left hand side of the content column */
    	#bbpress-forums div.bbp-reply-content {
    		margin-left: 70px;
    	}
    
    	/* hide the avatar */
    	a.bbp-author-avatar {
    		display: none;
    	}
    
    }
    #184235
    Sebastien SERRE
    Participant

    Hello,

    I’ve a Problem on my Forum bbPress
    https://dl.dropboxusercontent.com/1/view/o9k47soq2y0by1p/Apps/Shutter/capture_150.jpg

    Any idea why ?

    many thx

    Robin W
    Moderator

    all the bbpress roles just consist of ‘capabilities’ ie a user can do a, b, and c.

    Moderators have more capabilities than participants, so if you change what a moderator can do to make it look like a participant, then you will just go back to the same problem.

    Without know what membership privileges and content are affected (my previous question) I can’t help further.

    #184222
    Stefano Lissa
    Participant

    Hi, after the upgrade to WP 4.7.5 in the panels of Awesome Support (a plugin which uses post type) I get this error:

    Warning: in_array() expects parameter 2 to be array, null given in /home/thenewsl/public_html/wp-content/plugins/bbpress/includes/common/functions.php on line 1446

    with bbPress 2.5.12. On that line bbPress check a provate variable of $wp assuming it should be an array. Probably Awesome Support forces in some way that variable to not be an array. Anyway probably bbPress should add a check “is_array()”.

    Here the line of commonn/functions.php

    if ( in_array( ‘post_parent__in’, $wp->private_query_vars ) )

    I’ve changed it to

    if ( is_array($wp->private_query_vars) && in_array( ‘post_parent__in’, $wp->private_query_vars ) )

    to remove the warning.

    Thank you, Stefano.

    #184221
    pluus
    Participant

    Hmph… okay… I’ve noticed that /plugins/bbpress/includes/search/template.php is actually responsible for that feature:

    
    function bbp_has_search_results( $args = '' ) {
    	global $wp_rewrite;
    
    	/** Defaults **************************************************************/
    
    	$default_post_type = array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() );
    
    	// Default query args
    	$default = array(
    		'post_type'           => $default_post_type,         // Forums, topics, and replies
    		'posts_per_page'      => bbp_get_replies_per_page(), // This many
    		'paged'               => bbp_get_paged(),            // On this page
    		'orderby'             => 'date',                     // Sorted by date
    		'order'               => 'DESC',                     // Most recent first
    		'ignore_sticky_posts' => true,                       // Stickies not supported
    		's'                   => bbp_get_search_terms(),     // This is a search
    	);
    
    

    So, changing ‘post_type’ => $default_post_type to ‘post_type’ => bbp_get_topic_post_type() works. However, it’s not clearly the best practice to modify the plugin directly anyother way to override this?

    #184213

    In reply to: Import from IPS v4

    Pascal Casier
    Moderator

    Hi Steve, did you check bbPress 2.6 ? It has improved importers (I didn’t check myself).
    https://bbpress.org/download/

    #184212
    prana3stil
    Participant

    Hello there!

    1.)
    I am trying to have 3 way access to bbPress forum:
    – open access to some topics
    – closed access to some topics only registered and logedin users can see
    – closed access to some topics with direct URL access (i would call it from windows application with predifined user/pass combination, so user does not need to login in in web page as this infor would be somehow sent over URL); needed for FAQ directly from windows app

    2.)
    Is there multi levet access for registered users?
    So I can asign some closed (registered only) topics to some registered users only (not all registered)? Idea is to give access to topics with paid content and every user has access only to topics he has paid.

    Thank a lot in advance for help!

    #184209
    LNAngel
    Participant

    Hi, just to follow up (as this issue is the bane of my existence), I have yet another user who this time, no matter what permissions she has, can no longer leave new posts, but CAN leave a reply.

    I’m completely at a loss for what’s getting hung up here – and it’s always my more active users (which makes me think it’s some caching issue, but all caches have been cleared, we’ve tried incognito, etc.)…and I would think they wouldn’t be able to post PERIOD, not be able to post replies but no posts.

    If any genius occurred to the bbPress team in the past few months, please let me know.

    I know you mentioned listing out everything – everything is 100% up to date. I could definitely list all of my plugins but I have quite a few…and I would think if a plugin was interfering it would be affecting ALL users, no?

    #184191
    mrcanoa
    Participant

    Hi bb Team,

    I found a bug, maybe, on bbpress ver.: 2.5.12 if I use action bbp_author_metabox

    I try to add some user info on metabox but if I call this:

    add_action('bbp_author_metabox', array($this, 'bbp_author_details'));
    function bbp_author_details($post_id) {
    	echo "<p>Test</p>";
    }

    in html code I’ve this on start tag:
    `<p>Test</p><!DOCTYPE html>
    <!–[if IE 8]>`

    and on the right place:

    <div id="bbp_author_metabox" class="postbox " >
    <button type="button" class="handlediv button-link" aria-expanded="true"><span class="screen-reader-text">Commuta il pannello: Informazioni autore</span><span class="toggle-indicator" aria-hidden="true"></span></button><h2 class='hndle'><span>Informazioni autore</span></h2>
    <div class="inside">
    		<p>
    			<strong class="label">ID:</strong>
    			<label class="screen-reader-text" for="bbp_author_id">ID</label>
    			<input type="text" id="bbp_author_id" name="post_author_override" value="xxxxx" data-ajax-url="xxxx" />
    		</p>
    <p>
    		<strong class="label">IP:</strong>
    		<label class="screen-reader-text" for="bbp_author_ip_address">Indirizzo IP</label>
    		<input type="text" id="bbp_author_ip_address" name="bbp_author_ip_address" value="xxxxxx" disabled="disabled" />
    	</p>
    	<p>Test</p></div>
    </div>

    I found that do_action( ‘bbp_author_metabox’, get_the_ID() ) it’s called twice:
    -on author_metabox function (bbpress/includes/admin/topics.php)
    -on bbp_author_metabox function (bbpress/includes/admin/metaboxes.php)
    -on author_metabox function (bbpress/includes/admin/replies.php)

    This cause html error code.

    I think it’s name error on bbpress/includes/admin/topics.php and should be do_action( ‘bbp_author_attributes_metabox’, get_the_ID() );

    Thank you
    David

    #184183
    jvolavka
    Participant

    The error is new since we last updated plugins (though another site manager updated them so I’m not sure what all ran updates). The error goes away when I deactivate the private groups plugin. This is what I get when I try to add a new blog post:

    This page isn’t working

    geekgirlpenpals.com is currently unable to handle this request.
    HTTP ERROR 500

    WordPress version 4.7.5
    bbpress version 2.5.12
    private groups version 3.4.8

    #184178
    jvolavka
    Participant

    Hi. I’m using the bbpress private groups plugin and it seems to be causing problems with my blog. I get a 500 error when I try to add a new blog post, and it also gives an error when I try to save or publish a pre-existing draft. Is there anything I can do about that? I don’t want to lose my private forums because there are different groups on the site that need their own spaces.

    Thanks!

    #184177
    Robin W
    Moderator

    Suspect you are using php 7.1

    so 3 fixes
    1. downgrade to a lesser version of php
    2. upgrade to bbpress 2.6beta-2
    3. in bbpress 2.5.12 change line 1851 from
    $meta_query = $posts_query->get( ‘meta_query’ );
    to
    $meta_query = $posts_query->get( ‘meta_query’, array() );
    Since the next upgrade will fix that anyway, no issue in changing the bbpress file
    best I can offer I’m afraid

    #184168
    Subhransu
    Participant

    I have added wp-media button in bbpress topi form, I want to cancel while uploading any big file.

    Please help….

    #184166
    tweichart
    Participant

    Hey guys,

    I get a 500 error after the latest update:

    
    AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /var/www/vhosts/<url>/wp-content/plugins/bbpress/includes/forums/functions.php:1800
    Stack trace:
    #0 /var/www/vhosts/<url>/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query))
    #1 /var/www/vhosts/<url>/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
    #2 /var/www/vhosts/<url>/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
    #3 /var/www/vhosts/<url>/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array)
    #4 /var/www/vhosts/<url>/wp-includes/class-wp-query.php(3238): WP_Query->get_posts()
    #5 /var/www/vhosts<url>/wp-includes/class-wp.php(617): WP_Query->query(Array)
    #6 /var/www/vhosts/<url>/wp-includes/clas...'
    

    ln 1800 looks like this:

    
    $post_stati = $posts_query->get( 'post_status' );
    
    // Default to public status
    if ( empty( $post_stati ) ) {
        $post_stati[] = bbp_get_public_status_id();
    
    // Split the status string
    } elseif ( is_string( $post_stati ) ) {
        $post_stati = explode( ',', $post_stati );
    }
    

    could be fixed by forcing the array:

    
    $post_stati = $posts_query->get( 'post_status' );
    if (!is_array($post_stati)){
        $post_stati = array($post_stati);
    }
    
    // Default to public status
    if ( empty( $post_stati ) ) {
        $post_stati[] = bbp_get_public_status_id();
    
    // Split the status string
    } elseif ( is_string( $post_stati ) ) {
        $post_stati = explode( ',', $post_stati );
    }
    

    side note: wp version 4.7.4, bbpress version 2.5.12

    Thanks in advance,
    Toby

    #184165
    Chad R. Schulz
    Participant

    When I say single forum/topic/reply slug I actually meant for the single post-type slugs of forum/topic/reply. As the /forums/ slug is just a wrapper for all those bbPress custom post-types. So you could effectively remove the /forums/ wrapper and end up with just http://wwww.somesite.com/forum/name-of-specific-forum/. If you rename the single /forum/ slug to /forums/ it would become http://wwww.somesite.com/forums/name-of-specific-forum/ or something similar with topics like http://wwww.somesite.com/topics/name-of-specific-topic/

    And adding the topic slug after the forum slug is not intuitive as the topics don’t actually exist inside the forums, they are simply linked to it–similar to a shortcut. This is something that can be done with breadcrumbs, however.

    Again, permalinks can be rather tricky. In fact I’m fairly certain they’re the reason the “Private” forums are leading not-logged in visitors to a 404 page. I’d try putting everything back to the default settings and seeing if that fixes the error. Also, look at any customizing, plugins you might have that could interfere with bbPress defaults.

    BTW, bbPress has a default error message for not-authorized users and “private” forums that should display. Again, something must be off in the settings/configuration.

    My forum has no “private” forums, so I have little experience with this particular issue. Sorry.

    Best of luck,
    Chad

    #184159
    shabirg
    Participant

    Hi,

    Sorry if this gets posted in the wrong place.

    I am looking at setting up a marketplace forum. When users signup to the forum is their a way of giving them a storefront linked to their profile.

    Shabir

    #184158
    Robin W
    Moderator

    yes there is, but basically it needs you to know what your page template is called

    see

    Step by step guide to setting up a bbPress forum – Part 1

    item 8 for some more details

    #184157
    thepageman
    Participant

    I am a newbie with WordPress and I have been using a custom menu widget placed at the top of all of my pages to keep a consistent header going. I am now trying to use bbPress and discovered I can create a page called “Forum” and use a page builder to place my menu widget above the forum shortcode widget to achieve the header.

    However, when I select a forum/topic, it goes to a different page, one that is generated by bbPress and as such, doesn’t have a page builder design of which I can place a header.

    It seems like the best solution would be to implement this header into all my pages through editing some php file somewhere but that is a bit beyond my technical ability. Is there a way to add widgets to ALL bbpress pages?

    #184156

    In reply to: Auto Role not working

    Robin W
    Moderator

    contributor is a wordpress role, not a bbpress one.

    so if you are using the default registration

    then

    dashboard>settings>general and what is ‘new default user’ set to ?

    dashboard>settings>forums and what is ‘auto role’ set to ?

    #184153
    mktunicus
    Participant

    Hi,

    When I click on notify me that time I am getting notification of my comments only when someone commenting on my replies it is not sending me an email that so and so person replied on my comment. Here on bbpress.org when we check on “Notify me of follow-up replies via email” then it works perfectly like this functionality I want on my site.

    Please advice me.

    #184136
    mktunicus
    Participant

    Hello Robin,

    Rules of the Road — Forum Guidelines

    Above url i got from your bbpress forum example list, on that you can see that the heading is appearing eg: “Rules of the Road — Forum Guidelines”. I have not updated the plugin on my website.

Viewing 25 results - 8,926 through 8,950 (of 64,471 total)
Skip to toolbar