Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 8,901 through 8,925 (of 64,454 total)
  • Author
    Search Results
  • #184308
    ruperty
    Participant

    Hello,
    I am considering bbPress. I would like to migrate posts from an old style mailing list into a modern forum.

    Is there a current way of doing this?

    If not, I may write a Java application for this purpose. Is it practical then to access the bbPress database directly for the Java code in order to insert posts? I’d like to retain the original timestamps. I’d also need to create users, associated with the email addresses of the posters.

    Regards,
    Rupert

    #184290
    davebevan
    Participant

    Tried your steps, but still no luck. The bbpress topics for posts allows the comment section of WordPress posts to integrate with bbpress topics. It also creates new topics of each new post published. If you know a different plugin or another method to get this to work, I’d appreciate it.

    dominikb
    Participant

    Hi folks,
    i added the following code to a php file in the /mu-plugins/ folder, to deactivate a plugin for logged-in users:

    add_filter( 'option_active_plugins', 'disable_logged_in_plugin' );
     
    function disable_logged_in_plugin( $plugins ) {
    
        require (ABSPATH . WPINC . '/pluggable.php');
        if ( is_user_logged_in() & !is_admin() ) {
            $key = array_search( 'bloom/bloom.php' , $plugins );
            if ( false !== $key ) {
                unset( $plugins[ $key ] );
            } 
        }
        return $plugins;
    }

    Strangely bbPress gets also deactivated by it, while all other plugins run without any problem.

    Do you have an idea why this happens and what to change?

    Regards
    Dominik

    Robin W
    Moderator

    use the private groups plugiun in addition to bbpress

    Private groups

    #184276
    davebevan
    Participant

    I am trying to replace my comments on posts with bbpress topics. This plugin is working for the most part…I’m able to auto create new topics of my published posts on the forum. However, my comment box has disappeared on the posts. There is a comment button to click. But when clicked, there is nothing displayed for posting comments.

    I have found out that this is a theme issue and not a plugin issue. When I change to a different theme, such as a WordPress default theme, the plugin works. However, I do not want to lose my current theme. Does anyone know if there is any css code I can add to my theme in order to make the bbpress comment box to appear on the WordPress posts.

    Website: http://bamadigest.com
    Thank you!

    #184273
    gbbgadmin
    Participant

    Just to drop in here on the thread I originally started. We worked on this for several days. Probably put in way too many hours and way too much manpower. We never ever could resolve it. There are a few interesting things to note:

    A. When we ran some of the “optimizing” and “updating” tools built into BBPress (like the tools to re-link posts with their authors, re-set user privileges, etc.), the site would function. Then as soon as someone made a post, everything broke again. So it was most definitely something in a relationship within the db that was breaking down. Running all the db cleaning tools in BBPress would fix the problem until a member made any post or replied to anything.

    B. After looking deeply into the db, I found that new replies were somehow not being associated correctly across all tables with their author sometimes, but mostly the issue was they were not being correctly linked to their parent. What this did was to mess up WP’s (and BBPress’s) ability to render the pages in proper ordering. You know, who posted what, who replied, nested responses, etc. So, the page 500 errored out.

    Now then, our company did not have the time or money for us to spend fixing this problem or rooting out what caused it. So, we had to make the financial decision to back up our data, set up clean db and WP app servers, and migrate to them. Then, destroy the problem db and app servers. On the clean install, moved data across and everything works absolutely perfectly.

    This is good for us. But this is bad for people experiencing what we went through. Unfortunately, we never found what caused it, or how to solve it. Other than just manually “fixing” the db with BBPress tools every time someone made a post or reply. But that is just stupid.

    #184270
    pjbarry21
    Participant

    Update… the only plugin I didn’t disable in the testing before is Buddypress (the core plugin). I just disabled everything except bbpress and buddypress. And changed back to the default theme. Still got the same error. Then I disabled buddypress itself. That stopped the error. But, I also only get the error for some users.

    I’m going to replace all the core buddypress files to see if that resolves it.

    #184258
    Stephen Edgar
    Keymaster

    Apologies @sagiet and thanks @robin-w, we’ll be releasing bbPress 2.5.13 with a fix for this PHP errors shortly

    #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
    Sébastien 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….

Viewing 25 results - 8,901 through 8,925 (of 64,454 total)
Skip to toolbar