Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 8,851 through 8,875 (of 64,515 total)
  • Author
    Search Results
  • #184814
    jelliott2014
    Participant

    I am creating my first forum using bbPress 2.5.12 with WP 4.8. When registering as a new user, I am unable to do so; getting “Registration has been disabled.” I cannot find a setting in WP that allows new registrations. On the Net, All comments have mentioned enabling “allow new users” in Settings>General, but it is not present.

    Am I missing the obvious?

    #184813
    Robin W
    Moderator

    suspect your membership software is the issue

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #184805
    TKServer
    Participant

    Check it out. After hacking @casiepa’s branch to get user info, I how can view a topic in my mobile bbPress app! I’m getting the user’s avatar, display_name, topic title, date posted, forum name and of course the content of the topic!
    bbpress mobile app development

    #184804
    TKServer
    Participant

    Hey @casiepa I branched your git hub repo and added a user end point so I can continue development of my mobile bbPress app. I’ve used git hub a lot, but never branched someone else’s repo so I couldn’t quite figure out how to connect them, so I just manually uploaded.

    https://pbs.twimg.com/media/DB7SnCKV0AALQha.jpg

    crooy3
    Participant

    hi

    Today I installed the bbpress plugin and converted all WordPress comments to bbpress topics.

    It works for default post type, but what about custom post types? I trying show comments on that post types as bbpress topics, but unsuccessful.

    Is that even possible?

    #184802
    #184801
    cclemens
    Participant

    CURRENT
    We have a WordPress website that includes CiviCRM, WooCommerce and also BBPress forums plugins. We have no tech experts in our offices–much of the website management falls to me. I have a lot of WordPress experience, but I’m no developer by any means. Managing a regular failing system of integrated plugins inspired us to join up with Neon to abolish CiviCRM and Woo from our website, in hopes of streamlining the logins and profiles and having fewer things to break…and troubleshoot.

    Currently, we have a) WordPress users, who have b) WooCommerce memberships affiliated with them, which also syncs with c) CiviCRM. Additionally, we have a BBPress fueled forum which is open and public for all to view, but requires a membership to actually post and reply to.

    FUTURE
    During our consults with Neon, we were told about a single-sign on plugin that links their CRM with our WordPress site. Earlier this week I began researching how to set that up and discovered a few roadblocks that concern me. I’m hoping you can help shed some light on how best we can utilize the single-sign on function and still maintain our current operation with as little interruption as possible to our membership.

    What I’d like to know is:
    Once I delete all of the WordPress users out of our website (they can’t be in place because their sign-on is dictated by NeonCRM), what happens to the data in BBpress forums? Those posts are associated with usernames, but if the usernames are deleted…. then what?

    Then, is there a way to associate those posts with their NEW sign-on that is associated with NeonCRM?

    #184800
    aemcclane
    Participant

    We are running a membership site and are using bbPress within the site. We are running into the problem that admins are the only ones able to see threads. Anyone not an admin cannot read what’s in the topic. They can post a topic but cannot read anyone else’s.

    Using WordPress version 4.8
    bbPress Version 2.5.12

    https://www.nomoreperfectdatenight.com/forums/
    username: temporary
    password: ITVnY8ffAfIIUp9cdIF$xbK4

    #184789

    In reply to: Nothing is displayed

    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

    #184730

    In reply to: Nothing is displayed

    ZuGon
    Participant

    I changed the memory limit but it did not improve. I changed templates and limited plugins to basic plugins only. Still it will not improve.

    I enabled the debug mode and clicked the forum list, the following error was displayed.
    Fatal error: Uncaught Error: [] operator not supported for strings in /home/users/MY-WORDPRESS/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /home/users/MY-WORDPRESS/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /home/users/MY-WORDPRESS/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 /home/users/MY-WORDPRESS/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /home/users/MY-WORDPRESS/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array) #4 /home/users/MY-WORDPRESS/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /home/users/MY-WORDPRESS/wp-includes/class-wp.php(617): WP_Query->query(Array) in /home/users/MY-WORDPRESS/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800

    I am using PHP 7.1, is not bbPress compatible with this?

    #184724
    nicknabors
    Participant

    On my page that the forum index shortcode is set, I created it in Elementor. Once I save it and view my page, the forum page displays the forum but in a topic in the forum, the bbpress index shortcode is pasted again making a forum within a forum. I couldn’t figure out how to fix this forumception so I’m appealing here.

    #184723
    scottm-ldg
    Participant

    Hi,
    I’m new to bbPress, I have a forum that is set up, and I’d like to display the first 50 topics. I’ve successfully used the shortcode “bbp-topic-index” to display the first 15 topics, but I was wondering if there was a way to increase the number of topics?

    Thanks in advance for your help

    #184722

    In reply to: Nothing is displayed

    Robin W
    Moderator
    Robin W
    Moderator
    #184717
    scrawny
    Participant

    If you’ve found the solution please post it here as I’ve got the same problem and been trying for weeks to get bbpress to look nice.

    #184715
    UserCentrix
    Participant

    I am trying to integrate BBPress into a site created with Toolset – Layouts, Types and Views.

    The following BBPress shortcodes require an ID parameter:

    [bbp-single-forum id=$forum_id]
    [bbp-topic-form forum_id=$forum_id]
    [bbp-single-topic id=$topic_id]
    [bbp-single-reply id=$reply_id]

    Each of the IDs required above are aliases for the post_id, which Toolset privides a shortcode for. In order to get the templates to work for layouts applied to single Forums, Topics and Replies I need to include the current post ID. The simplest way I can imagine to do this would be as follows?

    [bbp-single-forum id='[wpv-post-id]’]
    [bbp-topic-form forum_id='[wpv-post-id]’]
    [bbp-single-topic id='[wpv-post-id]’]
    [bbp-single-reply id='[wpv-post-id]’]

    Unfortunately I get the following output at the front end?

    ‘]

    This makes clear to me that nested shortcodes are not supported in the BBPress. Is there a straightforward way of extending this functionality, perhaps through the functions.php file? This would create full compatibility with BBPress and Toolset. I couldn’t find any solutions to this shared on this support forum but it seems to me as something that may be a common problem and could have been tackled before.

    I hope you can assist.

    #184699
    ZuGon
    Participant

    I was installed bbPress 2.5.12 on WordPress 4.7.5.
    Then I made various settings of bbPress and created a new forum.

    But the forum is not displayed.
    When entering the forum from “View forum” in the forum creation editor, the whole screen is pure white.
    https://WORDPRESS-DOMAIN/wp-admin/edit.php?post_type=forum

    When I go directly to the URL of a separate forum, a normal WordPress site will be displayed.
    In the main place, “Can’t find it, there is nothing here, please try the search.” is displayed.

    Slug of forum root>Forum prefix part;
    Even if I turn ‘Add slug’ on/off, nothing changes.

    Management panel (left pane/dashboard) > Forum > Forum list or Add new forum
    Here again the screen is nothing display.
    Even when uninstalling plugin or reinstalling it, it does not change.

    How do I use bbPress?

    imanicogic
    Participant

    Hello Support,

    http://www.imanicogic.com
    Wordpress Version:4.7.5
    BBPress Version: 2.5.12

    This was tried on other themes and our WordPress Developer encouraged us to submit this to you.
    ==========================
    We are trying to redirect Members, Groups, and Activity pages to a custom URL. We are using the following code:

    function church_bp_page_template_redirect()
    {

    if( ! is_user_logged_in() && ! bp_is_activation_page() && ! bp_is_register_page() && (bp_is_current_component(‘members’) bp_is_current_component(‘activity’) bp_is_current_component(‘groups’))) {
    wp_redirect( ‘/imani-secured-login/’ );
    exit();
    }
    }

    add_action( ‘template_redirect’, ‘church_bp_page_template_redirect’,10 );

    However, when BBPress is active, this will not work and will always redirecting to Homepage but if BBPress is activated, the custom code will work perfectly.

    Can you please check if there are any conflicts with Buddypress and BBPress in regards to template_redirect?

    Thanks!

    #184690
    TKServer
    Participant

    I’ve started coding an angular/mobile bbPress app. I’ve already got a “latest topics” feed working in the app via the API by @mapofemergence and it works great. I just ran into the first hurdle, which is that WP’s API does not allow access to user info. A custom API to get the user’s name and avatar etc would be needed.


    @casiepa
    I will check yours out as well.

    #184688
    Pascal Casier
    Moderator

    Hi all,
    Just to keep you informed (I forgot to post the link here before) that some people already provided input on the bbpress API version that is on https://github.com/ePascalC/bbp-API/
    It’s setup in a different way, but if anyone wants to help building/proposing things on that one, feel free. I hope in the end both will serve to come to a final bbPress integrated API.
    Pascal.

    #184687
    vicky
    Participant

    HI

    I have Install bbPress and like to setup custom page for forums

    Im getting two URL .. which I dont need and it will be creating duplicate post

    Im getting this link as default https://bestcomputersforgaming.com/forums

    Im trying to design custom page for forums at https://bestcomputersforgaming.com/forum/

    any solution to just to get one forum link

    #184683
    scrawny
    Participant

    Switched back to bbPress 2.6 Beta 2. Works fine with php 7.0.19 now.

    #184682
    scrawny
    Participant

    Installed bbPress Beta 2.6 Beta 2 and works fine on php 7.0.19. Whooohoooo!!!

    #184681
    TKServer
    Participant

    I’m starting development of my bbPress mobile app. I have noticed that buddyPress has an RSS feed for latest member activity, which also has bbPress posts. One could utilize that, but it is very limited and shows multiple duplicates of the same post if a user edits.

    #184680
    Robin W
    Moderator

    ok, so this is a search function – yes?

    If so, look at this code that I use with my private groups plugin to filter search results and see if you can make this work for you

    //this function filters to the bbp search function to allow only returns from allowed forums
    
    function pg_has_search_results( $args = '' ) {
    	
    	global $wp_rewrite;
    //start with code as per bbp search !
    	/** 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
    	);
    
    	// What are the default allowed statuses (based on user caps)
    	if ( bbp_get_view_all() ) {
    
    		// Default view=all statuses
    		$post_statuses = array(
    			bbp_get_public_status_id(),
    			bbp_get_closed_status_id(),
    			bbp_get_spam_status_id(),
    			bbp_get_trash_status_id()
    		);
    
    		// Add support for private status
    		if ( current_user_can( 'read_private_topics' ) ) {
    			$post_statuses[] = bbp_get_private_status_id();
    		}
    
    		// Join post statuses together
    		$default['post_status'] = implode( ',', $post_statuses );
    
    	// Lean on the 'perm' query var value of 'readable' to provide statuses
    	} else {
    		$default['perm'] = 'readable';
    	}
    	
    	//PRIVATE GROUPS then loop to find allowable results
    	//bail from this part if there are no search terms, as otherwise it sorts the whole database and overflows memory
    	if (! bbp_get_search_terms() == '' ) {
    	//change page default to allow filter against all search results - otherwise allowed posts is only the first page of results ie whatever is in  bbp_get_replies_per_page()
    	$default['posts_per_page'] = -1;
    	$allowed_posts = private_groups_get_permitted_post_ids(new WP_Query( $default ));
    	// Then add allowed forum ids to the default query 
        $default['post__in'] = $allowed_posts;
    	if (empty ($allowed_posts )) $default['post__in'] = array(0) ;
    	//then set per page back (so that we get the correct pagination )
    	$default['posts_per_page'] = bbp_get_replies_per_page();
    	
    	}
    	
    	
    	
    	//then return to bbp search code
    	
    	/** Setup *****************************************************************/
    
    	// Parse arguments against default values
    	$r = bbp_parse_args( $args, $default, 'has_search_results' );
    
    	// Get bbPress
    	$bbp = bbpress();
    
    	// Call the query
    	if ( ! empty( $r['s'] ) ) {
    		$bbp->search_query = new WP_Query( $r );
    	}
    
    	// Add pagination values to query object
    	$bbp->search_query->posts_per_page = $r['posts_per_page'];
    	$bbp->search_query->paged          = $r['paged'];
    
    	// Never home, regardless of what parse_query says
    	$bbp->search_query->is_home        = false;
    
    	// Only add pagination is query returned results
    	if ( ! empty( $bbp->search_query->found_posts ) && ! empty( $bbp->search_query->posts_per_page ) ) {
    
    		// Array of arguments to add after pagination links
    		$add_args = array();
    
    		// If pretty permalinks are enabled, make our pagination pretty
    		if ( $wp_rewrite->using_permalinks() ) {
    
    			// Shortcode territory
    			if ( is_page() || is_single() ) {
    				$base = trailingslashit( get_permalink() );
    
    			// Default search location
    			} else {
    				$base = trailingslashit( bbp_get_search_results_url() );
    			}
    
    			// Add pagination base
    			$base = $base . user_trailingslashit( $wp_rewrite->pagination_base . '/%#%/' );
    
    		// Unpretty permalinks
    		} else {
    			$base = add_query_arg( 'paged', '%#%' );
    		}
    
    		// Add args
    		if ( bbp_get_view_all() ) {
    			$add_args['view'] = 'all';
    		}
    
    		// Add pagination to query object
    		$bbp->search_query->pagination_links = paginate_links(
    			apply_filters( 'bbp_search_results_pagination', array(
    				'base'      => $base,
    				'format'    => '',
    				'total'     => ceil( (int) $bbp->search_query->found_posts / (int) $r['posts_per_page'] ),
    				'current'   => (int) $bbp->search_query->paged,
    				'prev_text' => is_rtl() ? '→' : '←',
    				'next_text' => is_rtl() ? '←' : '→',
    				'mid_size'  => 1,
    				'add_args'  => $add_args, 
    			) )
    		);
    
    		// Remove first page from pagination
    		if ( $wp_rewrite->using_permalinks() ) {
    			$bbp->search_query->pagination_links = str_replace( $wp_rewrite->pagination_base . '/1/', '', $bbp->search_query->pagination_links );
    		} else {
    			$bbp->search_query->pagination_links = str_replace( '&paged=1', '', $bbp->search_query->pagination_links );
    		}
    	}
    	//finally filter to return
    	// Return object
    	return apply_filters( 'pg_has_search_results', $bbp->search_query->have_posts(), $bbp->search_query );
    }
    
    add_filter ('bbp_has_search_results', 'pg_has_search_results') ; 
Viewing 25 results - 8,851 through 8,875 (of 64,515 total)
Skip to toolbar