Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 10,301 through 10,325 (of 64,535 total)
  • Author
    Search Results
  • #178512
    Robin W
    Moderator

    something is broken !

    can you tell me how your page is set up?

    see https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/

    and which of item 3?

    #178504
    heideli
    Participant

    I habe disabled all plugins but bbpress and bbp private groups, and it still doesn’t work. I cannot create new topics.

    I am no developer, so am totally at a loss.

    #178499
    heideli
    Participant

    Hello,

    I’m using WP 4.6.1 and bbpress 2.5.10 with bbp private groups 3.2.6.

    When starting a new forum I cannot create new topics. I have no idea what’s wrong because I never had problems before and I didn’t change anything. Any idea would be appreciated, thank you!

    #178498
    kentwest
    Participant

    Caveat: I’m new to WordPress, themes, CSS, and bbPress.

    I’ve got a website that seems to be working properly (using the hueman theme (well, actually, hueman-child)), and have installed bbPress, and created a forum page, but the form is cluttered. It looks like:
    What my bbPress forum looks like instead of like how the documentation shows it to look:
    How the documentation shows a bbPress forum to look

    I’ve deactivated all my plugins except bbPress, and have tried all 6 or 7 of my installed WordPress themes, but nothing seems to help? Suggestions? Thanks!


    Kent

    Robin W
    Moderator

    bbpress has no special entries, so yes this should work fine – as long as it copies the database – everything should be fine

    #178492

    In reply to: Is BBPress responsive?

    hughman
    Participant

    G’day;

    I have spent a lot of time reading and trying to understand the various confusing and sometimes contradictory comments made about whether or not bbPress is a responsive design or not.

    As best I can figure out from that material, bbPress is not a responsive design. Rather it relies upon website themes being responsive. However, even if a theme is responsive, that does not mean that a bbPress forum will be responsive.

    People have posted information about lots of problems they have had trying to use a responsive design forum with bbPress. Some people have also posted various technical workarounds to at least some of those problems (which I can’t understand).

    So, the bottom line for an ordinary person like me, is that there is no point in using bbPress as a responsive design forum.

    Have I understood the situation correctly?

    Cheers,
    Hugh

    Torkel
    Participant

    I will be moving my website to a new host, it will keep the same URL, but not the same password/username/hostname for mysql/the database.

    I’m using akeeba to move my wordpress site where I’m using bbpress as a plugin, complete with wordpress’ databases.

    Does anyone know if bbpress will be fully moved and operational using this method? Akeeba should (I think?) move bbPress’ databases, but is there a place where I’ll have to change username/password/hostname for mysql in bbpress?

    (Alternatively, is there a simple way to backup all the content on the forum and import them on the new webhost after doing a clean install of bbpress in case akeeba doesn’t take care of things?)

    contemplate
    Participant

    Hi All. Needed this exact behavior as well. It really should be the default behavior. But if you don’t want to hack the core here is the code to place in your functions.php or custom plugin:

    
    /**
     * Format the BuddyBar/Toolbar notifications
     * Fixed: https://bbpress.org/forums/topic/new-reply-notification-link-to-the-reply/
     */
    function bbp_format_buddypress_notifications_custom( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    
    	// New reply notifications
    	if ( 'bbp_new_reply' === $action ) {
    		$topic_id    = bbp_get_reply_topic_id( $item_id );
    		$topic_title = bbp_get_topic_title( $topic_id );
    		$topic_link  = wp_nonce_url( add_query_arg( array( 'action' => 'bbp_mark_read', 'topic_id' => $item_id ), bbp_get_reply_url( $item_id ) ), 'bbp_mark_topic_' . $item_id );
    		$title_attr  = __( 'Topic Replies', 'bbpress' );
    
    		if ( (int) $total_items > 1 ) {
    			$text   = sprintf( __( 'You have %d new replies', 'bbpress' ), (int) $total_items );
    			$filter = 'bbp_multiple_new_subscription_notification';
    		} else {
    			if ( !empty( $secondary_item_id ) ) {
    				$text = sprintf( __( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), (int) $total_items, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) );
    			} else {
    				$text = sprintf( __( 'You have %d new reply to %s',             'bbpress' ), (int) $total_items, $topic_title );
    			}
    			$filter = 'bbp_single_new_subscription_notification';
    		}
    
    		// WordPress Toolbar
    		if ( 'string' === $format ) {
    			$return = apply_filters( $filter, '<a href="' . esc_url( $topic_link ) . '" title="' . esc_attr( $title_attr ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $text, $topic_link );
    
    		// Deprecated BuddyBar
    		} else {
    			$return = apply_filters( $filter, array(
    				'text' => $text,
    				'link' => $topic_link
    			), $topic_link, (int) $total_items, $text, $topic_title );
    		}
    
    		do_action( 'bbp_format_buddypress_notifications', $action, $item_id, $secondary_item_id, $total_items );
    
    		return $return;
    	}
    }
    remove_filter( 'bp_notifications_get_notifications_for_user', 'bbp_format_buddypress_notifications', 10 );
    add_filter( 'bp_notifications_get_notifications_for_user', 'bbp_format_buddypress_notifications_custom', 10, 5 );
    
    /**
     * Hooked into the new reply function, this notification action is responsible
     * for notifying topic and hierarchical reply authors of topic replies.
     * Fixed: https://bbpress.org/forums/topic/new-reply-notification-link-to-the-reply/
     */
    function bbp_buddypress_add_notification_custom( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = false, $author_id = 0, $is_edit = false, $reply_to = 0 ) {
    
    	// Bail if somehow this is hooked to an edit action
    	if ( !empty( $is_edit ) ) {
    		return;
    	}
    
    	// Get autohr information
    	$topic_author_id   = bbp_get_topic_author_id( $topic_id );
    	$secondary_item_id = $author_id;
    
    	// Hierarchical replies
    	if ( !empty( $reply_to ) ) {
    		$reply_to_item_id = bbp_get_topic_author_id( $reply_to );
    	}
    
    	// Get some reply information
    	$args = array(
    		'user_id'          => $topic_author_id,
    		'item_id'          => $reply_id,
    		'component_name'   => bbp_get_component_name(),
    		'component_action' => 'bbp_new_reply',
    		'date_notified'    => get_post( $reply_id )->post_date,
    	);
    
     	// Notify the topic author if not the current reply author
     	if ( $author_id !== $topic_author_id ) {
    		$args['secondary_item_id'] = $secondary_item_id ;
    
    		bp_notifications_add_notification( $args );
     	}
     
     	// Notify the immediate reply author if not the current reply author
     	if ( !empty( $reply_to ) && ( $author_id !== $reply_to_item_id ) ) {
    		$args['secondary_item_id'] = $reply_to_item_id ;
    
    		bp_notifications_add_notification( $args );
     	}
    }
    remove_action( 'bbp_new_reply', 'bbp_buddypress_add_notification', 10 );
    add_action( 'bbp_new_reply', 'bbp_buddypress_add_notification_custom', 10, 7 );
    
    #178489
    Jon Fergus
    Participant

    Just for reference, the site linked to in this discussion seems to have figured out how to get the reply form to appear directly under the intended reply.

    https://buddydev.com/support/forums/topic/show-bbpress-reply-form-beneath-each-reply/

    #178487
    Milan Petrovic
    Participant

    Hi,

    Does anyone know how to use bbPress conditionals when bbPress is used for group forums? None of the bbp_is_ functions is working outside of the bbPress templates, and the point of the conditional functions is to have them work outside of the bbPress own template so that some other piece of code knows what is the page context. I am trying to use these functions inside the page BODY.

    So, how to determine which forum is loaded as group forum, which topic is currently displayed, and anything else related to subpages for edit of topics and replies?

    Milan

    #178480
    r-a-y
    Participant

    The reply form showing directly beneath the reply should be fixed as of:
    https://bbpress.trac.wordpress.org/ticket/2971

    Edit – Haven’t tested with TinyMCE though.

    #178478
    zoldos
    Participant

    I want to add a “Create Topic” link on my bbPress ABOVE all the existing topics on the forum home, and in each category. How can I do this? Thanks!

    #178476
    Robkk
    Moderator

    One other little thing though. I notice that the reply form appears below all sub-replies of a reply, instead of directly beneath the intended reply.

    I think the reply.js code and possible other areas for threaded replies code can be improved to fix this. No idea how right now.

    When the reply form is at its default location in a bbpress topic, the Visual tab works fine. But when the reply form pops up after clicking “reply” on a comment, the Visual tab fails to work (can’t type in it or see the contents).

    I think this is another known issue. One of these tickets need to possible be reopened and include a patch for this issue.

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

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

    Robkk
    Moderator

    Look at some of the unread posts plugins for bbPress. It may not be exactly what you are looking for, but very similar. Most unread posts plugins just use the regular topic list view in a forum, instead of a separate area.

    bbPress mark as read adds an area in the subscriptions seciton of a user profile. And bbPress pencil unread supplies a function on its plugin page.

    zoldos
    Participant

    Loving bbPress, but I can’t seem to find a simple way to add a button/link that will display new posts/topics since a member’s last visit.

    This is a common feature on almost any forum.

    Is there a way to do this? Thanks!

    #178471
    Jon Fergus
    Participant

    Damn, another issue has come up. On my main site I’ve added the “Visual” tab to the reply form, using the following code in my functions.php file:

    /* add visual editor to bbpress replies */ 
    function bbp_enable_visual_editor( $args = array() ) {
        $args['tinymce'] = true;
        $args['teeny'] = false;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );

    When the reply form is at its default location in a bbpress topic, the Visual tab works fine. But when the reply form pops up after clicking “reply” on a comment, the Visual tab fails to work (can’t type in it or see the contents). I reproduced the issue on my staging site for you to see:

    http://staging-nexus.universaltheosophy.com/groups/test-group/forum/topic/test-group-topic/

    I’m also using the “TinyMCE Advanced” plugin, but can verify that the issue with the Visual tab is independent of that plugin.

    #178468
    benzouye
    Participant

    Hi,

    GD bbPress Toolbox Pro seems to propose what I want … In their “Integration tweaks” there is a “Logged in user reply in topic” option …
    https://bbpress.dev4press.com/features/integration-tweaks/
    Wish I could see the code only for this option 🙂

    I’ll continue working on it !

    Thanks.

    #178464
    Robkk
    Moderator

    I think this feature is in the premium plugin GD bbPress Toolbox. It shows some icon before the topic title that you participated in.

    Unread post plugins could also be a good alternative too.

    #178457
    Robkk
    Moderator

    I think group moderators are not the same as bbPress forum moderators that you can choose to get notifications in the bbPress notify plugin.

    #178454
    Robkk
    Moderator

    Here I just added a bbpress-functions.php file to a twentysixteen child theme. I edited out the conditional causing the issues with groups. You can test this on my test site as well.

    You would have to remove the file later if the trac tickets patch I linked to is committed and you are using version 2.6 of bbPress, so that you can have the file enqueued on the pages where it is needed.

    https://cloudup.com/czqFBqJE8TE

    I think this will do it for you.

    After you are done testing I will start nuking my test site.

    #178453
    Robkk
    Moderator

    Alright I was asking if there could be sending bbPress subscriptions issues and hopefully I could help with that, but only if you already set up sending mail on localhost.

    There isn’t much I can help on sending emails through WAMP as the last time I tried a few years back it was a pain to do so and fix some issues I was facing. See if this can help you though.

    http://www.wpbeginner.com/plugins/how-to-receive-wordpress-emails-from-localhost/

    #178450
    Robkk
    Moderator

    Ok. I found the problem: Buddypress.

    The functionality of reply.js works for bbpress, but does not work if the topic is in a forum that is within a Buddypress group.

    Just tested on your site, as well as my test site. And yes that BuddyPress is related to this issue.

    May not specifically be BuddyPress and their code. I think there are tickets with bbPress’ BuddyPress extend code that might have issues with some conditionals in a bbPress post that is in a group.

    Will look through bbPress trac for some possibly related tickets.

    Edit: Found the ticket.

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

    It is pretty easy to workaround this issue as well, since all you have to do is enqueue the javascript with a different conditional or enqueue it sitewide, but doing it sitewide might cause another issue somewhere.

    Will do some testing and get back.

    #178449
    derekbaah
    Participant

    Hello,

    I just started using bbpress and I’m really confused. On the /forums page, I want the topics under the forum to be displayed right below the forum title. Can anyone please help me with this?? I want something similar to the image inserted. Thanks!

    Something like this

    #178445
    Jon Fergus
    Participant
    #178444
    Jon Fergus
    Participant

    *edit: somehow deleted my previous comment*

    Ok. I found the problem: Buddypress.

    The functionality of reply.js works for bbpress, but does not work if the topic is in a forum that is within a Buddypress group.

    On my staging site I now have two topics: one within a buddypress group forum and one in a regular bbpress forum. The reply.js functionality works in the topic within the regular forum, but does not work in the topic that’s in the Buddypress group forum.

    If you’d like to see the functionality, here are the two topics (sign in credentials are in my previous comment above):

    http://staging-nexus.universaltheosophy.com/forums/topic/test-topic/

    http://staging-nexus.universaltheosophy.com/groups/test-group/forum/topic/test-group-topic/

    Now………. to find a solution. Any ideas would be much appreciated. I’ve also brought this to the Buddypress support forum. Will link to that below.

Viewing 25 results - 10,301 through 10,325 (of 64,535 total)
Skip to toolbar