BuddyBoss Home – Web Support Forums Themes Boss. theme Latest Update Issues

Viewing 8 posts - 1 through 8 (of 8 total)
  • Question

    #47149
    @wrkazigmail

    Enhanced support for BuddyPress Docs…OR Enhanced support for BuddyPress Docs Wiki add-on..even if not using this plugins a Docs tab comes in user profile. plz get it removed ASAP. check attatched image

    Improved selectbox styling still has issues. same as previous issues i made a thread about.

    Answers

    #47151

    Anonymous
    @

    Hi @wrkazigmail
    please include following function in your child theme

    
    add_action( 'init' , 'bb_remove_docs_tab' , 15 );
    function bb_remove_docs_tab() {
            if(!is_plugin_active( 'buddypress-docs/loader.php' ) ) {
    remove_action('template_redirect', 'bb_child_doc_menu_count_tabs', 999);
    }
    }
    

    We have fixed this issue inside development version , it will be updated shortly
    Regards

    #47152

    Anonymous
    @

    there is an option in the customization screen called Inputs compatibility mode under Layout Options. Change that setting and let me know if that resolves the issue.

    #47153
    @flippingawesome

    I just purchased the Boss theme along with the Social Learner child theme. I installed it last night, and got a Fatal Error…my site won’t load using this theme.

    Fatal error: Call to undefined function bp_displayed_user_id() in /home2/joekalis/public_html/reibizplan/wp-content/themes/boss/buddyboss-inc/theme-functions.php on line 2774

    Not a good start! How do I fix this? Here is that function (2774 is the $numdocsposts part):

    function bb_child_doc_menu_count_tabs(){
    	global $bp, $wpdb;
    	
    	$numdocsposts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE (post_status = 'publish' AND post_type = 'bp_doc' AND post_author='".bp_displayed_user_id()."' AND ID NOT IN (SELECT object_id as post_id FROM <code>wp_term_relationships</code> WHERE term_taxonomy_id IN (SELECT term_taxonomy_id FROM <code>{$wpdb->prefix}term_taxonomy</code> where taxonomy='bpdw_is_wiki')))");
    
    	
    	if (0 < $numdocsposts) {
    		$numdocsposts = number_format($numdocsposts);
    	}
        
        $name = get_option( 'bp-docs-user-tab-name' );
    	if ( empty( $name ) ) {
    		$name = __( 'Docs', 'boss' );
    	}
    
    	$bp->bp_nav['docs']['name'] = $name. ' <span class="count">' . $numdocsposts . '</span>';
    	
    	if(bp_is_group()) {
    		$get_term_id = get_term_by('slug', 'bp_docs_associated_group_'.bp_get_current_group_id(),'bp_docs_associated_item');
            if($get_term_id) {
                $get_term_id = $get_term_id->term_id;
    
                $numdocsposts = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE (post_status = 'publish' AND post_type = 'bp_doc' AND ID IN (SELECT object_id FROM {$wpdb->prefix}term_relationships WHERE term_taxonomy_id='{$get_term_id}') AND ID NOT IN (SELECT object_id as post_id FROM <code>{$wpdb->prefix}term_relationships</code> WHERE term_taxonomy_id IN (SELECT term_taxonomy_id FROM <code>wp_term_taxonomy</code> where taxonomy='bpdw_is_wiki')))");
    
                if (0 < $numdocsposts) {
                    $numdocsposts = number_format($numdocsposts);
                }
    
                $slug =  bp_get_current_group_slug() ;
    
                $bp->bp_options_nav[$slug]["docs"]["name"] = ''.$bp->bp_options_nav[$slug]["docs"]["name"].' <span class="count">' . $numdocsposts . '</span>';; 
                //$bp->bp_nav
            }
    	}
    	 
    	//print_r($bp);
    	
    }
    #47155
    @wrkazigmail

    Inputs compatibility mode under Layout Options didnt help…Boss theme looks half baked if you ask me honestly as compared to Buddyboss theme….plz fix the issues…doesnt help to go live on the theme with this kind of issues varun

    #47157

    Anonymous
    @

    Hi @flippingawesome,

    Please activate BuddyPress plugin
    https://wordpress.org/plugins/buddypress/

    Regards

    #47158
    @flippingawesome

    Thank you, that worked! However, strangely, the basic BuddyPress plugin is not included with the bundle of download for people who purchase the Social Learner package. I have “BuddyPress for LearnDash” plugin, but the regular BuddyPress one did the trick. Might want to add that to the launch instructions. 🙂

    #47225

    Anonymous
    @

    Hi @flippingawesome, we are working on fresh documentation
    error message without BuddyPress is an bug, which is already notified to developers to fix.
    Regards
    Varun Dubey

Viewing 8 posts - 1 through 8 (of 8 total)
  • The question ‘Latest Update Issues’ is closed to new replies.